Never strip and store dex files uncompressed when they are preopted on system.
In order for the runtime module to always be able to compile apps, make sure we keep a copy of the dex files optimally. Gated by a product flag if a product doesn't include the module yet. Test: build Change-Id: Ia9bba7f6f12f3400078a43d39ba4134cf8818399
This commit is contained in:
@@ -412,6 +412,8 @@ PRODUCT_DEX_PREOPT_BOOT_FLAGS := \
|
||||
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_DEX_PREOPT_BOOT_FLAGS))
|
||||
PRODUCT_DEX_PREOPT_PROFILE_DIR := \
|
||||
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_DEX_PREOPT_PROFILE_DIR))
|
||||
PRODUCT_DEX_PREOPT_NEVER_ALLOW_STRIPPING := \
|
||||
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_DEX_PREOPT_NEVER_ALLOW_STRIPPING))
|
||||
|
||||
# Boot image options.
|
||||
PRODUCT_USE_PROFILE_FOR_BOOT_IMAGE := \
|
||||
|
Reference in New Issue
Block a user