From: Jaeyun Date: Fri, 12 Jun 2020 08:27:56 +0000 (+0900) Subject: [Android/Doc] build options X-Git-Tag: accepted/tizen/unified/20200629.143505~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=830680015e45b66bd4d0df04861ba38171257b2c;p=platform%2Fupstream%2Fnnstreamer.git [Android/Doc] build options Update document, build options for android library. Signed-off-by: Jaeyun --- diff --git a/api/android/README.md b/api/android/README.md index fc05125..993793d 100644 --- a/api/android/README.md +++ b/api/android/README.md @@ -147,11 +147,24 @@ $ git clone https://github.com/nnstreamer/nnstreamer.git Run the build script in NNStreamer. - Build options - 1. target_abi: Default arm64-v8a, specify the ABI (armeabi-v7a, arm64-v8a) to be built for with `--target_abi={TARGET-ABI}`. - 2. build_type: Default all. + 1. Target ABI: Default arm64-v8a, specify the ABI (armeabi-v7a, arm64-v8a) to be built for with `--target_abi={TARGET-ABI}`. + 2. Type: Default all. + - `--build_type=all` to include all features. - `--build_type=single` to enable SingleShot API only. - `--build_type=lite` to get the minimized library with GStreamer core elements. - 3. run_test: Run the instrumentation test `--run_test=yes`. + 3. Including sub-plugins: Default TensorFlow-Lite enabled. + To enable each neural network frameworks, you should download and set-up proper environment. + - `--enable_tflite=yes` to build with TensorFlow-Lite. + - `--enable_snpe=yes` to build with SNPE (Qualcomm Snapdragon Neural Processing Engine). + - `--enable_nnfw=yes` to build with NNFW (Samsung on-device neural network inference framework). + - `--enable_snap=yes` to build with SNAP (Samsung Neural Acceleration Platform). + 4. Run test: Default no. `--run_test=yes` to run the instrumentation test. + 5. Other options + - `--nnstreamer_dir=` path to NNStreamer root directory. Default `NNSTREAMER_ROOT` is used if this is not set. + - `--result_dir=` path to build result. Default path is `NNSTREAMER_ROOT/android_lib`. + - `--gstreamer_dir=` path to GStreamer binaries. Default path is `GSTREAMER_ROOT_ANDROID`. + - `--android_sdk_dir=` path to Android SDK. Default path is `ANDROID_SDK_ROOT`. + - `--android_ndk_dir=` path to Android NDK. Default path is `ANDROID_NDK_ROOT`. ```bash $ cd $NNSTREAMER_ROOT