Lines Matching refs:NDK_DIR
92 NDK_DIR=
141 NDK_DIR=$optarg
393 if [ -z "$NDK_DIR" ]; then
397 if [ ! -d "$NDK_DIR" ]; then
398 panic "Invalid directory: $NDK_DIR"
400 if [ ! -f "$NDK_DIR/ndk-build" ]; then
401 panic "Not a valid NDK directory: $NDK_DIR"
403 ANDROID_NDK_ROOT=$NDK_DIR
590 local NDK_DIR="${1%/}"
595 FILE=$NDK_DIR/toolchains/$NAME-4.9/prebuilt/$SUBPATH
597 FILE=$NDK_DIR/toolchains/$NAME-4.8/prebuilt/$SUBPATH
611 local NDK_DIR="$1"
623 "$NDK_DIR" "$ARCH" "$HOST_OS-$HOST_ARCH/bin/$CONFIG-gcc")
626 "$NDK_DIR" "$ARCH" "$HOST_OS-x86/bin/$CONFIG-gcc")
632 "$NDK_DIR" "$ARCH" "$HOST_OS-x86/bin/i686-android-linux-gcc")
644 local NDK_DIR="$1"
649 BINARY=$NDK_DIR/prebuilt/android-$ARCH/gdbserver/gdbserver
651 BINARY=$(get_ndk_toolchain_prebuilt "$NDK_DIR" "$ARCH" gdbserver)