diff options
author | Scott Mertz <scott@cyngn.com> | 2016-02-09 11:28:53 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-02-09 14:00:41 -0800 |
commit | 31ed6e0df7fce788a936cdfc03e6b7c92bd7c976 (patch) | |
tree | 0a9024bc0329888dbab059052f013816b3807dfe | |
parent | 5a61a0dc099a3577bf96853191a1f1385d366b81 (diff) | |
download | replicant_build-31ed6e0df7fce788a936cdfc03e6b7c92bd7c976.zip replicant_build-31ed6e0df7fce788a936cdfc03e6b7c92bd7c976.tar.gz replicant_build-31ed6e0df7fce788a936cdfc03e6b7c92bd7c976.tar.bz2 |
prebuild: compress shared libraries in prebundled apks
Prebundled APK shared libraries get installed like any
other APK. Compress these libraries in the APK to save
space.
Change-Id: If3f85b43e492dd42d2da89d3b3f0a1b1b44ccdbb
-rw-r--r-- | core/prebuilt_internal.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/prebuilt_internal.mk b/core/prebuilt_internal.mk index 585ead2..b5ff3a1 100644 --- a/core/prebuilt_internal.mk +++ b/core/prebuilt_internal.mk @@ -211,7 +211,9 @@ $(built_module): PRIVATE_EMBEDDED_JNI_LIBS := $(embedded_prebuilt_jni_libs) $(built_module) : $(my_prebuilt_src_file) | $(ACP) $(ZIPALIGN) $(SIGNAPK_JAR) $(transform-prebuilt-to-target) +ifneq ($(LOCAL_MODULE_PATH),$(TARGET_OUT_VENDOR)/bundled-app) $(uncompress-shared-libs) +endif ifneq ($(LOCAL_CERTIFICATE),PRESIGNED) @# Only strip out files if we can re-sign the package. ifdef LOCAL_DEX_PREOPT |