sm7125: Use speed tuning for performance critical applications

The default ART setting is quicken: run DEX code verification and
optimize some DEX instructions to get better interpreter performance.

This commit switches performance critical applications to speed:
run DEX code verification and AOT-compile all methods.

PRODUCT_DEXPREOPT_SPEED_APPS (New in Android O)
List of applications that have been identified as core to the products
and which are desirable to compile with the speed compiler filter.  For
example, persistent apps such as SystemUI get a chance to use
profile-guided compilation only at the next reboot, so it may be better
for the product to have these apps always AOT-compiled.
tirimbino
Jake Weinstein 2 years ago committed by Ruchit Marathe
parent 20897d7bcf
commit 2d5ec3d44c
  1. 4
      common.mk

@ -452,6 +452,10 @@ PRODUCT_SOONG_NAMESPACES += \
hardware/google/pixel \
$(COMMON_PATH)/aidl/power-libperfmgr
PRODUCT_DEXPREOPT_SPEED_APPS += \
Settings \
SystemUI
# Prop files
TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop

Loading…
Cancel
Save