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

Unverified Commit 65d1078b authored by Scott Mertz's avatar Scott Mertz Committed by Michael Bestas
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 ac838158
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -263,7 +263,9 @@ $(built_module): PRIVATE_EMBEDDED_JNI_LIBS := $(embedded_prebuilt_jni_libs)

$(built_module) : $(my_prebuilt_src_file) | $(ACP) $(ZIPALIGN) $(SIGNAPK_JAR) $(AAPT)
	$(transform-prebuilt-to-target)
ifneq ($(LOCAL_MODULE_PATH),$(TARGET_OUT_VENDOR)/bundled-app)
	$(uncompress-shared-libs)
endif
ifdef LOCAL_DEX_PREOPT
ifneq ($(BUILD_PLATFORM_ZIP),)
	@# Keep a copy of apk with classes.dex unstripped