sdm660-common: Create system copy of ims-ext-common and add to classpath

* Our ims.apk doesn't load ims-ext-common.jar, and it's moved to /product
   on 10 where PRODUCT_BOOT_JARS doesn't work.
 * Create a system copy of the jar and add it to boot classpath to make
   it loadable from the apk without extra work,

Change-Id: Ia530a530bd4469e12500410fc5e8ba393de60b18
This commit is contained in:
dianlujitao 2019-09-16 17:40:51 +08:00 committed by Max Weffers
parent 2ba6705ff6
commit 65e4195716
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE
2 changed files with 9 additions and 1 deletions

7
ims/Android.bp Normal file
View file

@ -0,0 +1,7 @@
java_library {
name: "ims-ext-common_system",
installable: true,
static_libs: [
"ims-ext-common",
],
}

View file

@ -405,7 +405,7 @@ PRODUCT_PACKAGES += \
libprotobuf-cpp-full libprotobuf-cpp-full
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
ims-ext-common \ ims-ext-common_system \
ims_ext_common.xml \ ims_ext_common.xml \
qti-telephony-hidl-wrapper \ qti-telephony-hidl-wrapper \
qti_telephony_hidl_wrapper.xml \ qti_telephony_hidl_wrapper.xml \
@ -414,6 +414,7 @@ PRODUCT_PACKAGES += \
telephony-ext telephony-ext
PRODUCT_BOOT_JARS += \ PRODUCT_BOOT_JARS += \
ims-ext-common_system \
telephony-ext telephony-ext
# Seccomp policy # Seccomp policy