Update dexopt system properties.
"extract" is now an alias of "verify". Bug: 309011617 Test: Presubmit Change-Id: I2bbe1874e2ea3725f3ec46ec6b50287e86cb1cca
This commit is contained in:
@@ -102,33 +102,24 @@ PRODUCT_SYSTEM_PROPERTIES += \
|
|||||||
PRODUCT_SYSTEM_PROPERTIES += \
|
PRODUCT_SYSTEM_PROPERTIES += \
|
||||||
ro.dalvik.vm.native.bridge?=0
|
ro.dalvik.vm.native.bridge?=0
|
||||||
|
|
||||||
# Different dexopt types for different package update/install times.
|
|
||||||
# On eng builds, make "boot" reasons only extract for faster turnaround.
|
|
||||||
ifeq (eng,$(TARGET_BUILD_VARIANT))
|
|
||||||
PRODUCT_SYSTEM_PROPERTIES += \
|
|
||||||
pm.dexopt.first-boot?=extract \
|
|
||||||
pm.dexopt.boot-after-ota?=extract
|
|
||||||
else
|
|
||||||
PRODUCT_SYSTEM_PROPERTIES += \
|
|
||||||
pm.dexopt.first-boot?=verify \
|
|
||||||
pm.dexopt.boot-after-ota?=verify
|
|
||||||
endif
|
|
||||||
|
|
||||||
# The install filter is speed-profile in order to enable the use of
|
# The install filter is speed-profile in order to enable the use of
|
||||||
# profiles from the dex metadata files. Note that if a profile is not provided
|
# profiles from the dex metadata files. Note that if a profile is not provided
|
||||||
# or if it is empty speed-profile is equivalent to (quicken + empty app image).
|
# or if it is empty speed-profile is equivalent to (quicken + empty app image).
|
||||||
# Note that `cmdline` is not strictly needed but it simplifies the management
|
# Note that `cmdline` is not strictly needed but it simplifies the management
|
||||||
# of compilation reason in the platform (as we have a unified, single path,
|
# of compilation reason in the platform (as we have a unified, single path,
|
||||||
# without exceptions).
|
# without exceptions).
|
||||||
|
# TODO(b/243646876): Remove `pm.dexopt.post-boot`.
|
||||||
PRODUCT_SYSTEM_PROPERTIES += \
|
PRODUCT_SYSTEM_PROPERTIES += \
|
||||||
pm.dexopt.post-boot?=extract \
|
pm.dexopt.post-boot?=verify \
|
||||||
|
pm.dexopt.first-boot?=verify \
|
||||||
|
pm.dexopt.boot-after-ota?=verify \
|
||||||
pm.dexopt.boot-after-mainline-update?=verify \
|
pm.dexopt.boot-after-mainline-update?=verify \
|
||||||
pm.dexopt.install?=speed-profile \
|
pm.dexopt.install?=speed-profile \
|
||||||
pm.dexopt.install-fast?=skip \
|
pm.dexopt.install-fast?=skip \
|
||||||
pm.dexopt.install-bulk?=speed-profile \
|
pm.dexopt.install-bulk?=speed-profile \
|
||||||
pm.dexopt.install-bulk-secondary?=verify \
|
pm.dexopt.install-bulk-secondary?=verify \
|
||||||
pm.dexopt.install-bulk-downgraded?=verify \
|
pm.dexopt.install-bulk-downgraded?=verify \
|
||||||
pm.dexopt.install-bulk-secondary-downgraded?=extract \
|
pm.dexopt.install-bulk-secondary-downgraded?=verify \
|
||||||
pm.dexopt.bg-dexopt?=speed-profile \
|
pm.dexopt.bg-dexopt?=speed-profile \
|
||||||
pm.dexopt.ab-ota?=speed-profile \
|
pm.dexopt.ab-ota?=speed-profile \
|
||||||
pm.dexopt.inactive?=verify \
|
pm.dexopt.inactive?=verify \
|
||||||
|
Reference in New Issue
Block a user