Embedding the JNI lib is controlled by PRODUCT_FULL_TREBLE

Test: unzip -l vendor/app/ims/ims.apk shows libimscamera_jni.so and
libimsmedia_jni.so

Merged-In: I1e02ec2e0af52e9e128528a20abb90746cc83828
Change-Id: I1e02ec2e0af52e9e128528a20abb90746cc83828
(cherry picked from commit a6b038ff4c)
This commit is contained in:
Jiyong Park
2017-05-16 19:53:36 +09:00
parent c59d93d771
commit 930a918d01

View File

@@ -18,7 +18,7 @@ endif
ifneq ($(filter tests samples, $(LOCAL_MODULE_TAGS)),)
my_embed_jni := true
endif
ifneq ($(BOARD_VNDK_VERSION),)
ifeq ($(PRODUCT_FULL_TREBLE),true)
ifeq ($(filter $(TARGET_OUT)/%, $(my_module_path)),)
# If this app isn't to be installed to the system partition, and the device
# is fully treble-ized then jni libs are embedded, Otherwise, access to the