Lines Matching refs:NDK_ROOT
43 NDK_ROOT=
72 NDK_ROOT="$optarg"
246 if [ -n "$NDK_ROOT" ] ; then
250 NDK_ROOT=/tmp/ndk-tests/install
251 mkdir -p "$NDK_ROOT" && rm -rf "$NDK_ROOT/*"
252 dump "Unpacking NDK package to $NDK_ROOT"
253 unpack_archive "$NDK_PACKAGE" "$NDK_ROOT"
254 NDK_ROOT=`ls -d $NDK_ROOT/*`
260 if [ -n "$NDK_ROOT" ] ; then
261 if [ ! -d "$NDK_ROOT" ] ; then
262 dump "ERROR: Your --ndk option does not point to a directory: $NDK_ROOT"
266 if [ ! -f "$NDK_ROOT/ndk-build" -o ! -f "$NDK_ROOT/build/core/ndk-common.sh" ] ; then
267 dump "ERROR: Your --ndk option does not point to a valid NDK install: $NDK_ROOT"
271 NDK="$NDK_ROOT"