Merge "Do not dexpreopt system server jars from updatable modules." am: 51833931af
am: 6ff6d78fb5
Change-Id: Ib14b408532b5cfb48d8fd28fe661881c80704851
This commit is contained in:
commit
a36b594f01
1 changed files with 5 additions and 0 deletions
|
@ -58,6 +58,11 @@ ifeq (,$(strip $(built_dex)$(my_prebuilt_src_file)$(LOCAL_SOONG_DEX_JAR))) # con
|
|||
LOCAL_DEX_PREOPT :=
|
||||
endif
|
||||
|
||||
# Don't preopt system server jars that are updatable.
|
||||
ifneq (,$(filter %:$(LOCAL_MODULE), $(PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS)))
|
||||
LOCAL_DEX_PREOPT :=
|
||||
endif
|
||||
|
||||
# if WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY=true and module is not in boot class path skip
|
||||
# Also preopt system server jars since selinux prevents system server from loading anything from
|
||||
# /data. If we don't do this they will need to be extracted which is not favorable for RAM usage
|
||||
|
|
Loading…
Reference in a new issue