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

Commit 31ed6e0d authored by Scott Mertz's avatar Scott Mertz Committed by Gerrit Code Review
Browse files

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
parent 5a61a0dc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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