aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BuildGuideAndroidNDK.md3
-rwxr-xr-xscripts/build_android_ndk_guide.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/BuildGuideAndroidNDK.md b/BuildGuideAndroidNDK.md
index 7c6f224693..d93d4d4b84 100644
--- a/BuildGuideAndroidNDK.md
+++ b/BuildGuideAndroidNDK.md
@@ -255,7 +255,8 @@ cmake .. \
-DFLATBUFFERS_ROOT=$WORKING_DIR/flatbuffers-android \
-DFLATC_DIR=$WORKING_DIR/flatbuffers-x86 \
-DBUILD_UNIT_TESTS=1 \
- -fexception
+ -DBUILD_TESTS=1 \
+ -fexception \
```
To include the Arm NN TFLite delegate add these arguments to the above list:
diff --git a/scripts/build_android_ndk_guide.sh b/scripts/build_android_ndk_guide.sh
index 4d9689e6a0..a7fd674bfa 100755
--- a/scripts/build_android_ndk_guide.sh
+++ b/scripts/build_android_ndk_guide.sh
@@ -19,7 +19,7 @@ function Usage() {
echo " -n Neon (CpuAcc backend) enabled <1 or 0> defaults to 1"
echo " -g CL (GpuAcc backend) enabled <1 or 0> defaults to 1"
echo " -r Reference (CpuRef backend) enabled <1 or 0> defaults to 1"
- echo " -u Build unit tests <1 or 0> defaults to 1"
+ echo " -u Build tests and test applications <1 or 0> defaults to 1"
echo " -d TfLite Delegate enabled <1 or 0> defaults to 1"
echo " -p TfLite Parser enabled <1 or 0> defaults to 1"
echo " -s Dynamic Sample enabled <1 or 0> defaults to 0"
@@ -287,6 +287,7 @@ function BuildArmNN {
-DFLATBUFFERS_ROOT=$WORKING_DIR/flatbuffers-android \
-DFLATC_DIR=$WORKING_DIR/flatbuffers-x86 \
-DBUILD_UNIT_TESTS=$BUILD_TESTS \
+ -DBUILD_TESTS=$BUILD_TESTS \
-fexceptions"
if [[ $TFLITE_PARSER == 1 ]]; then