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:
Andreas Gampe 2016-03-22 19:44:24 -07:00
parent 901590ae2a
commit 0647bcb8e5
2 changed files with 20 additions and 0 deletions

View File

@ -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)

View File

@ -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)