diff options
author | Ying Wang <wangying@google.com> | 2014-04-17 13:38:04 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2014-04-18 10:38:53 -0700 |
commit | 96bcad49f4c1d33f183dc9ad04eec3a4b8ab0b5e (patch) | |
tree | 050ad223c59c30eb1a6b5163f01f84c131df427c /core/prebuilt_internal.mk | |
parent | a376dd8b02adcf0c6dc1f584c3a28a97dd97bdd6 (diff) | |
download | build-96bcad49f4c1d33f183dc9ad04eec3a4b8ab0b5e.zip build-96bcad49f4c1d33f183dc9ad04eec3a4b8ab0b5e.tar.gz build-96bcad49f4c1d33f183dc9ad04eec3a4b8ab0b5e.tar.bz2 |
Update rules to install JNI libraries.
Previously we have to use LOCAL_REQUIRED_MODULES to install jni
libraries for an apk in bundled build.
With this change, we'll use LOCAL_JNI_SHARED_LIBRARIES alone to
install jni shared libraries.
The new rules are:
- If we are doing unbundled build, or the apk isn't going to be
installed to system partitions, we'll embed the jni libs in the
built apk.
- Otherwise, the jni libraries will be installed to the system
lib path, and symlinks created in the app specific lib path.
Change-Id: Id6bd5301eb632bda3593664acee580f0d8b1d5d4
Diffstat (limited to 'core/prebuilt_internal.mk')
-rw-r--r-- | core/prebuilt_internal.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/prebuilt_internal.mk b/core/prebuilt_internal.mk index 2b515cf..985b6f3 100644 --- a/core/prebuilt_internal.mk +++ b/core/prebuilt_internal.mk @@ -108,6 +108,9 @@ endif # LOCAL_STRIP_MODULE not true ifeq ($(LOCAL_MODULE_CLASS),APPS) PACKAGES.$(LOCAL_MODULE).OVERRIDES := $(strip $(LOCAL_OVERRIDES_PACKAGES)) +rs_compatibility_jni_libs := +include $(BUILD_SYSTEM)/install_jni_libs.mk + ifeq ($(LOCAL_CERTIFICATE),EXTERNAL) # The magic string "EXTERNAL" means this package will be signed with # the default dev key throughout the build process, but we expect |