Lines Matching refs:NDK_ROOT
45 NDK_ROOT=
76 NDK_ROOT="$optarg"
264 if [ -n "$NDK_ROOT" ] ; then
268 NDK_ROOT=/tmp/ndk-tests/install
269 mkdir -p "$NDK_ROOT" && rm -rf "$NDK_ROOT/*"
270 dump "Unpacking NDK package to $NDK_ROOT"
271 unpack_archive "$NDK_PACKAGE" "$NDK_ROOT"
272 NDK_ROOT=`ls -d $NDK_ROOT/*`
278 if [ -n "$NDK_ROOT" ] ; then
279 if [ ! -d "$NDK_ROOT" ] ; then
280 dump "ERROR: Your --ndk option does not point to a directory: $NDK_ROOT"
284 if [ ! -f "$NDK_ROOT/ndk-build" -o ! -f "$NDK_ROOT/build/tools/prebuilt-common.sh" ] ; then
285 dump "ERROR: Your --ndk option does not point to a valid NDK install: $NDK_ROOT"
289 NDK="$NDK_ROOT"