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

Commit 428ce0f7 authored by Jooyung Han's avatar Jooyung Han Committed by Android (Google) Code Review
Browse files

Merge "Make PRODUCT_COMPRESSED_APEX configurable in device.mk" into main

parents 4c30441a 68196595
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -532,13 +532,19 @@ ifdef OVERRIDE_PRODUCT_EXTRA_VNDK_VERSIONS
endif

###########################################
# APEXes are by default not compressed
# PRODUCT_COMPRESSED_APEX: Use compressed apexes in pre-installed partitions.
#
# Note: this doesn't mean that all pre-installed apexes will be compressed.
#  Whether an apex is compressed or not is controlled at apex Soong module
#  via compresible property.
#
# APEX compression can be forcibly enabled (resp. disabled) by
# setting OVERRIDE_PRODUCT_COMPRESSED_APEX to true (resp. false), e.g. by
# setting the OVERRIDE_PRODUCT_COMPRESSED_APEX environment variable.
ifdef OVERRIDE_PRODUCT_COMPRESSED_APEX
  PRODUCT_COMPRESSED_APEX := $(OVERRIDE_PRODUCT_COMPRESSED_APEX)
else ifeq (,$(PRODUCT_COMPRESSED_APEX))
  PRODUCT_COMPRESSED_APEX := true
endif

ifdef OVERRIDE_PRODUCT_DEFAULT_APEX_PAYLOAD_TYPE
+1 −7
Original line number Diff line number Diff line
@@ -17,10 +17,4 @@
# com.android.apex.cts.shim.v1_prebuilt overrides CtsShimPrebuilt
# and CtsShimPrivPrebuilt since they are packaged inside the APEX.
PRODUCT_PACKAGES += com.android.apex.cts.shim.v1_prebuilt
PRODUCT_SYSTEM_PROPERTIES := ro.apex.updatable=true

# Use compressed apexes in pre-installed partitions.
# Note: this doesn't mean that all pre-installed apexes will be compressed.
#  Whether an apex is compressed or not is controlled at apex Soong module
#  via compresible property.
PRODUCT_COMPRESSED_APEX := true
PRODUCT_SYSTEM_PROPERTIES += ro.apex.updatable=true