Lines Matching refs:NDK_DIR
44 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
68 # Check NDK_DIR
69 if [ ! -d "$NDK_DIR/build/core" ] ; then
70 echo "Invalid source NDK directory: $NDK_DIR"
211 if [ ! -d "$NDK_DIR/platforms/$PLATFORM" ] ; then
213 echo "Please use --platform=<name> with one of:" `(cd "$NDK_DIR/platforms" && ls)`
218 TOOLCHAIN_PATH="$NDK_DIR/toolchains/$TOOLCHAIN_NAME"
222 echo "Try one of: " `(cd "$NDK_DIR/toolchains" && ls)`
239 (cd $NDK_DIR/platforms && ls -d */arch-$ARCH_INC >/dev/null 2>&1 )
248 SRC_SYSROOT_INC="$NDK_DIR/platforms/$PLATFORM/arch-$ARCH_INC/usr/include"
249 SRC_SYSROOT_LIB="$NDK_DIR/platforms/$PLATFORM/arch-$ARCH_LIB/usr/lib"
277 LLVM_TOOLCHAIN_PATH="$NDK_DIR/toolchains/llvm-$LLVM_VERSION"
310 cp -a "$NDK_DIR/toolchains/llvm-$DEFAULT_LLVM_VERSION/prebuilt/$SYSTEM/bin/ld.mcld" "$LD"
317 copy_directory "$NDK_DIR/prebuilt/$SYSTEM/include/$PYTHON_xdotx" "$TMPDIR/include/$PYTHON_xdotx"
318 copy_directory "$NDK_DIR/prebuilt/$SYSTEM/lib/$PYTHON_xdotx" "$TMPDIR/lib/$PYTHON_xdotx"
319 copy_file_list "$NDK_DIR/prebuilt/$SYSTEM/bin" "$TMPDIR/bin" "$PYTHON$HOST_EXE" "$PYTHON_x$HOST_EXE" "$PYTHON_xdotx$HOST_EXE"
321 copy_file_list "$NDK_DIR/prebuilt/$SYSTEM/bin" "$TMPDIR/bin" lib$PYTHON_xdotx.dll
326 copy_file_list "$NDK_DIR/prebuilt/$SYSTEM/bin" "$TMPDIR/bin" "yasm$HOST_EXE"
514 cp -a $NDK_DIR/$GABIXX_SUBDIR/libs/$ABI/* $TMPDIR/sysroot/usr/lib
515 cp -a $NDK_DIR/$LIBPORTABLE_SUBDIR/libs/$ABI/* $TMPDIR/sysroot/usr/lib
516 cp -a $NDK_DIR/$GCCUNWIND_SUBDIR/libs/$ABI/* $TMPDIR/sysroot/usr/lib
518 cp -a $NDK_DIR/$COMPILER_RT_SUBDIR/libs/$ABI/* $TMPDIR/sysroot/usr/lib
523 cp -a $NDK_DIR/platforms/$PLATFORM/arch-$ARCH/usr/lib/crt* $TMPDIR/sysroot/usr/lib
526 GNUSTL_DIR=$NDK_DIR/$GNUSTL_SUBDIR/$GCC_VERSION
529 STLPORT_DIR=$NDK_DIR/$STLPORT_SUBDIR
532 LIBCXX_DIR=$NDK_DIR/$LIBCXX_SUBDIR
543 SUPPORT_DIR=$NDK_DIR/$SUPPORT_SUBDIR
545 COMPILER_RT_DIR=$NDK_DIR/$COMPILER_RT_SUBDIR
636 $NDK_DIR/build/tools/build-cxx-stl.sh --stl=stlport --out-dir=$tmp_lib_dir --abis=unknown