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:
@@ -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
|
||||
|
Reference in New Issue
Block a user