Lines Matching refs:NDK_ROOT
43 NDK_ROOT=
73 NDK_ROOT="$optarg"
248 if [ -n "$NDK_ROOT" ] ; then
252 NDK_ROOT=/tmp/ndk-tests/install
253 mkdir -p "$NDK_ROOT" && rm -rf "$NDK_ROOT/*"
254 dump "Unpacking NDK package to $NDK_ROOT"
255 unpack_archive "$NDK_PACKAGE" "$NDK_ROOT"
256 NDK_ROOT=`ls -d $NDK_ROOT/*`
262 if [ -n "$NDK_ROOT" ] ; then
263 if [ ! -d "$NDK_ROOT" ] ; then
264 dump "ERROR: Your --ndk option does not point to a directory: $NDK_ROOT"
268 if [ ! -f "$NDK_ROOT/ndk-build" -o ! -f "$NDK_ROOT/build/core/ndk-common.sh" ] ; then
269 dump "ERROR: Your --ndk option does not point to a valid NDK install: $NDK_ROOT"
273 NDK="$NDK_ROOT"