Build: Provide default values for dexopt settings
Provide default values for system properties used by the package manager. Bug: 27689078 Change-Id: Iedab0c0b1da6c905658546df7992f77fd6b55da1
This commit is contained in:
parent
901590ae2a
commit
0647bcb8e5
|
@ -117,5 +117,15 @@ PRODUCT_COPY_FILES += \
|
|||
PRODUCT_COPY_FILES += \
|
||||
system/core/rootdir/etc/public.libraries.android.txt:system/etc/public.libraries.txt
|
||||
|
||||
# Different dexopt types for different package update/install times.
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||
pm.dexopt.boot=verify-profile \
|
||||
pm.dexopt.install=interpret-only \
|
||||
pm.dexopt.bg-dexopt=speed-profile \
|
||||
pm.dexopt.ab-ota=speed-profile \
|
||||
pm.dexopt.nsys-library=speed \
|
||||
pm.dexopt.shared-apk=speed \
|
||||
pm.dexopt.forced-dexopt=speed
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
|
||||
|
|
|
@ -107,6 +107,16 @@ PRODUCT_COPY_FILES += \
|
|||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.carrier=unknown
|
||||
|
||||
# Different dexopt types for different package update/install times.
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||
pm.dexopt.boot=verify-profile \
|
||||
pm.dexopt.install=interpret-only \
|
||||
pm.dexopt.bg-dexopt=speed-profile \
|
||||
pm.dexopt.ab-ota=speed-profile \
|
||||
pm.dexopt.nsys-library=speed \
|
||||
pm.dexopt.shared-apk=speed \
|
||||
pm.dexopt.forced-dexopt=speed
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
|
||||
$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
|
||||
|
|
Loading…
Reference in New Issue