Home | History | Annotate | Download | only in tests

Lines Matching refs:NDK

17 #  This shell script is used to run all NDK build tests in a row.
18 # "Build tests" are tests that check the building features of the NDK
22 # You need to define the NDK
32 . $NDK_BUILDTOOLS_PATH/ndk-common.sh
75 --ndk=*)
129 echo "Run NDK automated tests. Without any parameter, this will try to"
138 echo " --ndk=<path> Path to NDK to test [$ROOTDIR]"
139 echo " --package=<path> Path to NDK package to test"
151 echo "NOTE: You cannot use --ndk and --package at the same time."
259 TEST_DIR="/tmp/ndk-$USER/tests"
265 dump "ERROR: You can't use --ndk and --package at the same time!"
268 NDK_ROOT=/tmp/ndk-tests/install
270 dump "Unpacking NDK package to $NDK_ROOT"
276 # Check the NDK install path.
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"
286 dump "Please use a valid NDK install path for this option."
289 NDK="$NDK_ROOT"
291 NDK="$ROOTDIR"
422 run $WINE cmd /c Z:$NDK/ndk-build.cmd -j$JOBS "$@" APP_LDFLAGS="$APP_LDFLAGS" APP_CFLAGS="$APP_CFLAGS"
425 run $WINE cmd /c Z:$NDK/ndk-build.cmd clean
427 run $WINE cmd /c Z:$NDK/ndk-build.cmd "$@" -j1 APP_LDFLAGS="$APP_LDFLAGS" APP_CFLAGS="$APP_CFLAGS"
430 run $NDK/ndk-build -j$JOBS "$@" APP_LDFLAGS="$APP_LDFLAGS" APP_CFLAGS="$APP_CFLAGS"
445 $GNUMAKE --no-print-dir -f $NDK/build/core/build-local.mk -C $PROJECT DUMP_$VAR | tail -1
563 if [ -f "$NDK/RELEASE.TXT" ] ; then
564 # This is a release package, all samples should be under $NDK/samples
565 SAMPLES_DIRS="$NDK/samples"
568 dump "Your NDK release installation is broken!"
571 log "Using release NDK samples from: $SAMPLES_DIRS"
574 # directly from development/ndk.
575 DEVNDK_DIR=`dirname $NDK`/development/ndk
577 dump "ERROR: Could not find development NDK directory: $DEVNDK_DIR"
585 dump "Using development NDK samples from $DEVNDK_DIR"
596 echo "Building NDK sample: `basename $1`"
617 echo "Building NDK build test: `basename $1`"
630 export NDK
661 echo "Building NDK device test: `basename $1`"
676 local DSTDIR="$4/ndk-tests"
682 if is_broken_build $TEST "NDK device test not built"; then
688 dump "Skipping NDK device test run: $TEST_NAME"
696 dump "Skipping NDK device test run: $TEST_NAME (no run for binary built by $TARGET_TOOLCHAIN_VERSION)"
701 dump "Skipping NDK device test run: $TEST_NAME ($SKIPPED_EXECUTABLES)"
707 dump "Skipping NDK device test run (no $CPU_ABI binaries): $TEST_NAME"
716 SRCFILE="$NDK/sources/cxx-stl/gabi++/libs/$CPU_ABI/libgabi++_shared.so"