Lines Matching refs:WHICH
23 WHICH=$1
24 if [ "$WHICH" == "" ]; then
25 echo "USAGE: ndk-which <tool>"
33 mkdir -p /tmp/ndk-which/jni
34 cat >/tmp/ndk-which/jni/Android.mk << "END_OF_FILE"
44 NDK_PROJECT_PATH=/tmp/ndk-which $GNUMAKE --no-print-dir -f $MYNDKDIR/build/core/build-local.mk DUMP_$1 APP_ABI=$2
48 rm -Rf /tmp/ndk-which
51 FQFN=${TOOLCHAIN_PREFIX}$WHICH
53 # use the host system's 'which' to decide/report if the file exists or not, and is executable
54 which "$FQFN"