Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6b038ff authored by Jiyong Park's avatar Jiyong Park
Browse files

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

Change-Id: I1e02ec2e0af52e9e128528a20abb90746cc83828
parent 57b7d6ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -18,7 +18,7 @@ endif
ifneq ($(filter tests samples, $(LOCAL_MODULE_TAGS)),)
ifneq ($(filter tests samples, $(LOCAL_MODULE_TAGS)),)
my_embed_jni := true
my_embed_jni := true
endif
endif
ifneq ($(BOARD_VNDK_VERSION),)
ifeq ($(PRODUCT_FULL_TREBLE),true)
  ifeq ($(filter $(TARGET_OUT)/%, $(my_module_path)),)
  ifeq ($(filter $(TARGET_OUT)/%, $(my_module_path)),)
    # If this app isn't to be installed to the system partition, and the device
    # 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
    # is fully treble-ized then jni libs are embedded, Otherwise, access to the