[build/android] Add comments for nnfw and snpe makefiles about external libs
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Wed, 8 Dec 2021 07:27:10 +0000 (16:27 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 8 Dec 2021 11:31:21 +0000 (20:31 +0900)
- Add comments for how external libs should be configured.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
java/android/nnstreamer/src/main/jni/Android-nnfw.mk
java/android/nnstreamer/src/main/jni/Android-snpe.mk

index 8f82a37..e1de41f 100644 (file)
@@ -4,6 +4,10 @@
 #
 # This mk file defines nnfw module with prebuilt shared library.
 # (nnfw core libraries, arm64-v8a only)
+#
+# You should check your `gradle.properties` to set the variable `NNFW_EXT_LIBRARY_PATH` properly.
+# The variable should be assigend with path for external shared libs.
+# An example: "NNFW_EXT_LIBRARY_PATH=src/main/jni/nnfw/ext"
 #------------------------------------------------------
 LOCAL_PATH := $(call my-dir)
 
index 219cd2e..1b54db9 100644 (file)
@@ -4,6 +4,10 @@
 # This mk file defines snpe module with prebuilt shared library.
 # (snpe-sdk, arm64-v8a only)
 # See Qualcomm Neural Processing SDK for AI (https://developer.qualcomm.com/software/qualcomm-neural-processing-sdk) for the details.
+#
+# You should check your `gradle.properties` to set the variable `SNPE_EXT_LIBRARY_PATH` properly.
+# The variable should be assigend with path for external shared libs.
+# An example: "SNPE_EXT_LIBRARY_PATH=src/main/jni/snpe/lib/ext"
 #------------------------------------------------------
 LOCAL_PATH := $(call my-dir)