Home
last modified time | relevance | path

Searched refs:NDK_DIR (Results 1 – 25 of 33) sorted by relevance

12

/ndk/build/tools/
Dbuild-analyzer.sh43 NDK_DIR="$2"
75 if [ -z "$NDK_DIR" ] ; then
80 if [ ! -d "$NDK_DIR" ] ; then
81 mkdir -p $NDK_DIR
82 fail_panic "Could not create target NDK installation path: $NDK_DIR"
85 log "Using NDK directory: $NDK_DIR"
104 run copy_directory "$SCAN_BUILD_SRC_DIR" "$NDK_DIR/$SCAN_BUILD_SUBDIR"
105 cp -p "$LICENSE_FILE" "$NDK_DIR/$SCAN_BUILD_SUBDIR"
106 rm -f $NDK_DIR/$SCAN_BUILD_SUBDIR/scan-build.1
109 run copy_directory "$SCAN_VIEW_SRC_DIR" "$NDK_DIR/$SCAN_VIEW_SUBDIR"
[all …]
Dbuild-host-yasm.sh43 NDK_DIR="$2"
62 if [ -z "$NDK_DIR" ] ; then
67 if [ ! -d "$NDK_DIR" ] ; then
68 mkdir -p $NDK_DIR
70 echo "ERROR: Could not create target NDK installation path: $NDK_DIR"
74 NDK_DIR=`cd $NDK_DIR; pwd`
75 log "Using NDK directory: $NDK_DIR"
135 OUT=$NDK_DIR/$SUBDIR
143 pack_archive "$PACKAGE_DIR/$ARCHIVE" "$NDK_DIR" "$SUBDIR"
Dbuild-host-toolbox.sh39 NDK_DIR=
40 register_var_option "--ndk-dir=<path>" NDK_DIR "Specify NDK root path for the build."
58 if [ -z "$NDK_DIR" ] ; then
59 NDK_DIR=$ANDROID_NDK_ROOT
60 log "Auto-config: --ndk-dir=$NDK_DIR"
62 if [ ! -d "$NDK_DIR" ] ; then
63 echo "ERROR: NDK directory does not exists: $NDK_DIR"
95 DSTDIR=$NDK_DIR/$SUBDIR
120 pack_archive "$PACKAGE_DIR/$ARCHIVE" "$NDK_DIR" "$SUBDIR/echo.exe" "$SUBDIR/cmp.exe"
Ddeploy-host-mcld.sh45 NDK_DIR=
46 register_var_option "--ndk-dir=<path>" NDK_DIR "NDK installation directory"
56 if [ -z "$NDK_DIR" ] ; then
57 NDK_DIR=$ANDROID_NDK_ROOT
58 log "Auto-config: --ndk-dir=$NDK_DIR"
60 if [ ! -d "$NDK_DIR" ] ; then
61 echo "ERROR: NDK directory does not exists: $NDK_DIR"
71 cd $NDK_DIR
127 pack_archive "$PACKAGE_DIR/$ARCHIVE" "$NDK_DIR" $ALL_LD_MCLDS
Dbuild-on-device-toolchain.sh23 NDK_DIR=$ANDROID_NDK_ROOT
24 register_var_option "--ndk-dir=<path>" NDK_DIR "NDK installation directory"
78 GCC_TOOLCHAIN_VERSION=`cat $NDK_DIR/toolchains/llvm-$DEFAULT_LLVM_VERSION/setup.mk | grep '^TOOLCHA…
80 SYSROOT=$NDK_DIR/$(get_default_platform_sysroot_for_arch $ARCH)
93 run cp -f $NDK_DIR/$GABIXX_SUBDIR/libs/$ABI/libgabi++_shared.so $OUT_SYSROOT/usr/lib
96 run cp -f $NDK_DIR/$LIBPORTABLE_SUBDIR/libs/$ABI/libportable.a $OUT_SYSROOT/usr/lib
97 run cp -f $NDK_DIR/$LIBPORTABLE_SUBDIR/libs/$ABI/libportable.wrap $OUT_SYSROOT/usr/lib
100 run cp -f $NDK_DIR/$COMPILER_RT_SUBDIR/libs/$ABI/libcompiler_rt_static.a $OUT_SYSROOT/usr/lib
103 run cp -f $NDK_DIR/$GCCUNWIND_SUBDIR/libs/$ABI/libgccunwind.a $OUT_SYSROOT/usr/lib
107 …run cp -f $NDK_DIR/$GNUSTL_SUBDIR/$GCC_TOOLCHAIN_VERSION/libs/$ABI/libsupc++.a $OUT_SYSROOT/usr/lib
[all …]
Dmake-standalone-toolchain.sh44 NDK_DIR=`dirname $0`
45 NDK_DIR=`dirname $NDK_DIR`
46 NDK_DIR=`dirname $NDK_DIR`
47 register_var_option "--ndk-dir=<path>" NDK_DIR "Take source files from NDK at <path>"
49 if [ -d "$NDK_DIR/prebuilt/$HOST_TAG" ]; then
75 if [ ! -d "$NDK_DIR/build/core" ] ; then
76 echo "Invalid source NDK directory: $NDK_DIR"
223 if [ ! -d "$NDK_DIR/platforms/$PLATFORM" ] ; then
225 echo "Please use --platform=<name> with one of:" `(cd "$NDK_DIR/platforms" && ls)`
230 TOOLCHAIN_PATH="$NDK_DIR/toolchains/$TOOLCHAIN_NAME"
[all …]
Dbuild-libportable.sh46 NDK_DIR=
47 register_var_option "--ndk-dir=<path>" NDK_DIR "Specify NDK root path for the build."
83 if [ -z "$NDK_DIR" ] ; then
84 NDK_DIR=$ANDROID_NDK_ROOT
85 log "Auto-config: --ndk-dir=$NDK_DIR"
87 if [ ! -d "$NDK_DIR" ] ; then
88 echo "ERROR: NDK directory does not exists: $NDK_DIR"
137 DSTDIR=$NDK_DIR/$LIBPORTABLE_SUBDIR/libs/$ABI
197 pack_archive "$PACKAGE" "$NDK_DIR" "$FILES"
Dbuild-host-perl.sh38 NDK_DIR=$ANDROID_NDK_ROOT
39 register_var_option "--ndk-dir=<path>" NDK_DIR "Specify NDK install directory"
122 run copy_file_list "$BUILD_OUT/prefix/bin" $(dirname "$NDK_DIR/$BIN_OUT") perl
123 fail_panic "Could not copy executable to: $NDK_DIR/$BIN_OUT"
126 run copy_directory "$BUILD_OUT/prefix/lib" "$NDK_DIR/$LIB_OUT"
127 fail_panic "Could not copy library to: $NDK_DIR/$LIB_OUT"
133 pack_archive "$PACKAGE_DIR/$ARCHIVE" "$NDK_DIR" "$BIN_OUT" "$LIB_OUT"
Dbuild-compiler-rt.sh40 NDK_DIR=
41 register_var_option "--ndk-dir=<path>" NDK_DIR "Specify NDK root path for the build."
72 if [ -z "$NDK_DIR" ] ; then
73 NDK_DIR=$ANDROID_NDK_ROOT
74 log "Auto-config: --ndk-dir=$NDK_DIR"
76 if [ ! -d "$NDK_DIR" ] ; then
77 echo "ERROR: NDK directory does not exists: $NDK_DIR"
218 DSTDIR=$NDK_DIR/$COMPILER_RT_SUBDIR/libs/$ABI
283 pack_archive "$PACKAGE" "$NDK_DIR" "$FILES"
Dbuild-ccache.sh60 NDK_DIR=$1
61 if [ -z "$NDK_DIR" ] ; then
66 mkdir -p $NDK_DIR
68 echo "ERROR: Could not create NDK target directory: $NDK_DIR"
111 PREBUILT_DIR=$NDK_DIR/build/prebuilt/$HOST_TAG/ccache
Dbuild-host-prebuilts.sh23 NDK_DIR=$ANDROID_NDK_ROOT
24 register_var_option "--ndk-dir=<path>" NDK_DIR "NDK installation directory"
105 …run $BUILDTOOLS/gen-platforms.sh --minimal --dst-dir=$NDK_DIR --ndk-dir=$NDK_DIR --arch=$(spaces_t…
108 if [ ! -d "$NDK_DIR/platforms" ]; then
109 echo "ERROR: --no-gen-platforms used but directory missing: $NDK_DIR/platforms"
183 copy_directory "$NDK_DIR/platforms" "$TMPDARWIN/ndk/platforms"
213 echo "Unpacking $(basename $PACK) into $NDK_DIR..."
214 unpack_archive $PACK $NDK_DIR
312 run $BUILDTOOLS/build-host-yasm.sh "$SRC_DIR" "$NDK_DIR" $TOOLCHAIN_FLAGS
336 …run $BUILDTOOLS/build-gcc.sh "$SRC_DIR" "$NDK_DIR" $TOOLCHAIN_NAME $TOOLCHAIN_FLAGS --with-python=…
[all …]
Dbuild-target-prebuilts.sh23 NDK_DIR=$ANDROID_NDK_ROOT
24 register_var_option "--ndk-dir=<path>" NDK_DIR "NDK installation directory"
96 …run $BUILDTOOLS/gen-platforms.sh --samples --fast-copy --dst-dir=$NDK_DIR --ndk-dir=$NDK_DIR --arc…
99 if [ ! -d "$NDK_DIR/platforms" ]; then
100 echo "ERROR: --no-gen-platforms used but directory missing: $NDK_DIR/platforms"
143 run $BUILDTOOLS/build-gdbserver.sh "$SRC_DIR" "$NDK_DIR" "$GDB_TOOLCHAIN" "$GDB_VERSION" $FLAGS
147 FLAGS=$FLAGS" --ndk-dir=\"$NDK_DIR\""
Dbuild-gnu-libstdc++.sh52 NDK_DIR=
53 register_var_option "--ndk-dir=<path>" NDK_DIR "Specify NDK root path for the build."
92 if [ -z "$NDK_DIR" ] ; then
93 NDK_DIR=$ANDROID_NDK_ROOT
94 log "Auto-config: --ndk-dir=$NDK_DIR"
96 if [ ! -d "$NDK_DIR" ] ; then
97 echo "ERROR: NDK directory does not exists: $NDK_DIR"
127 local DSTDIR=$NDK_DIR/$GNUSTL_SUBDIR/$GCC_VERSION/libs/$ABI/$THUMB
130 prepare_target_build $ABI $PLATFORM $NDK_DIR
140 BINPREFIX=$NDK_DIR/$(get_toolchain_binprefix_for_arch $ARCH $GCC_VERSION $TAG)
[all …]
Dbuild-host-sed.sh31 NDK_DIR=$ANDROID_NDK_ROOT
32 register_var_option "--ndk-dir=<path>" NDK_DIR "Specify NDK install directory"
43 OUT=$NDK_DIR/$(get_prebuilt_host_exec sed)
87 pack_archive "$PACKAGE_DIR/$ARCHIVE" "$NDK_DIR" "$SUBDIR"
Dbuild-host-awk.sh31 NDK_DIR=$ANDROID_NDK_ROOT
32 register_var_option "--ndk-dir=<path>" NDK_DIR "Specify NDK install directory"
43 OUT=$NDK_DIR/$SUBDIR
96 pack_archive "$PACKAGE_DIR/$ARCHIVE" "$NDK_DIR" "$SUBDIR"
Dbuild-gdbserver.sh71 NDK_DIR="$2"
103 if [ -z "$NDK_DIR" ] ; then
108 if [ ! -d "$NDK_DIR" ] ; then
109 echo "ERROR: NDK directory does not exist: $NDK_DIR"
113 log "Using NDK directory: $NDK_DIR"
133 check_toolchain_install $NDK_DIR $TOOLCHAIN
Dbuild-host-make.sh27 NDK_DIR=$ANDROID_NDK_ROOT
28 register_var_option "--ndk-dir=<path>" NDK_DIR "Install to specific NDK directory"
49 OUT=$NDK_DIR/$SUBDIR
108 pack_archive "$PACKAGE_DIR/$ARCHIVE" "$NDK_DIR" "$SUBDIR"
Dbuild-device-llvm.sh73 NDK_DIR="$2"
93 if [ -z "$NDK_DIR" ] ; then
98 if [ ! -d "$NDK_DIR" ] ; then
99 mkdir -p $NDK_DIR
101 echo "ERROR: Could not create target NDK installation path: $NDK_DIR"
105 NDK_DIR=`cd $NDK_DIR; pwd`
106 log "Using NDK directory: $NDK_DIR"
120 set_toolchain_ndk $NDK_DIR $TOOLCHAIN
Dbuild-gcc.sh98 NDK_DIR="$2"
117 if [ -z "$NDK_DIR" ] ; then
122 if [ ! -d "$NDK_DIR" ] ; then
123 mkdir -p $NDK_DIR
125 echo "ERROR: Could not create target NDK installation path: $NDK_DIR"
129 NDK_DIR=`cd $NDK_DIR; pwd`
130 log "Using NDK directory: $NDK_DIR"
215 set_toolchain_ndk $NDK_DIR $TOOLCHAIN
512 local NDK_DIR="$2"
517 UNWIND_LIB_DIR="$NDK_DIR/$GCCUNWIND_SUBDIR/libs/$ABI/"
[all …]
Dbuilder-funcs.sh524 if [ -z "$NDK_DIR" ]; then
525 panic "NDK_DIR is not defined!"
526 elif [ ! -d "$NDK_DIR/platforms" ]; then
527 panic "Missing directory: $NDK_DIR/platforms"
549 BINPREFIX=$NDK_DIR/$(get_toolchain_binprefix_for_arch $ARCH $GCC_VERSION $TAG)
557 BINPREFIX=$NDK_DIR/$(get_llvm_toolchain_binprefix $LLVM_VERSION $TAG)
561 SYSROOT=$NDK_DIR/$(get_default_platform_sysroot_for_arch $ARCH)
563 SYSROOT=$NDK_DIR/platforms/$PLATFORM/arch-$ARCH
Dbuild-llvm.sh77 NDK_DIR="$2"
107 if [ -z "$NDK_DIR" ] ; then
112 if [ ! -d "$NDK_DIR" ] ; then
113 mkdir -p $NDK_DIR
115 echo "ERROR: Could not create target NDK installation path: $NDK_DIR"
119 NDK_DIR=`cd $NDK_DIR; pwd`
120 log "Using NDK directory: $NDK_DIR"
143 set_toolchain_ndk $NDK_DIR $TOOLCHAIN
285 run cp -a $NDK_DIR/tests/abcc/jni/*.cpp $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
286 run cp -a $NDK_DIR/tests/abcc/jni/Abcc.h $SRC_DIR/$TOOLCHAIN/llvm/tools/ndk-bc2native
[all …]
Dbuild-ndk-stack.sh36 NDK_DIR=$ANDROID_NDK_ROOT
37 register_var_option "--ndk-dir=<path>" NDK_DIR "Place binary in NDK installation path"
118 OUT=$NDK_DIR/$(get_host_exec_name $PROGNAME)
182 pack_archive "$PACKAGE_DIR/$ARCHIVE" "$NDK_DIR" "$SUBDIR"
Dbuild-host-gdb.sh67 NDK_DIR=$ANDROID_NDK_ROOT
68 register_var_option "--ndk-dir=<path>" NDK_DIR "Select NDK install directory."
230 local DSTDIR="$NDK_DIR/$(gdb_ndk_install_dir $1 $2 $3)"
231 local PYDIR="$NDK_DIR/$(python_ndk_install_dir $1)"
295 run pack_archive "$PACKAGE" "$NDK_DIR" "$SRCDIR"
/ndk/tests/
Dcheck-release.sh36 NDK_DIR=
56 if [ -z "$NDK_DIR" ]; then
57 NDK_DIR=$opt
81 if [ -n "$NDK_DIR" ]; then
92 NDK_DIR=$(ls -d $TMP_DIR/android-ndk-* | head -1)
93 if [ -z "$NDK_DIR" ]; then
96 elif [ -z "$NDK_DIR" ]; then
128 if [ ! -f "$NDK_DIR/RELEASE.TXT" ]; then
134 RELEASE=$(cat $NDK_DIR/RELEASE.TXT)
137 CHANGELOG_RELEASE=$(cat $NDK_DIR/docs/CHANGES.html | grep -e "^android-ndk-" | head -1)
/ndk/tests/abcc/
Dbuild-abcc.sh31 NDK_DIR=$ANDROID_NDK_ROOT
32 register_var_option "--ndk-dir=<path>" NDK_DIR "NDK installation directory"
77 BUILDTOOLS=$NDK_DIR/build/tools
97 …run $BUILDTOOLS/build-on-device-toolchain.sh --ndk-dir=$NDK_DIR --build-dir=$BUILD_DIR --out-dir=$…
146 run $NDK_DIR/ndk-build -B APP_ABI=$ABI -C jni

12