Set dexpreopt and dexopt filter for SystemUI
Bug: 271887637 Test: Built and flashed on local device Flag: build.RELEASE_SYSTEMUI_USE_SPEED_PROFILE Change-Id: Idafe8f8e72a7b50bd3d0baea8b736dd853943a09
This commit is contained in:
parent
5734db5acc
commit
583bb0245b
1 changed files with 9 additions and 2 deletions
11
device.mk
11
device.mk
|
@ -1136,12 +1136,19 @@ PRODUCT_PACKAGES_DEBUG += BatteryStatsViewer
|
||||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs101/device_framework_matrix_product.xml
|
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs101/device_framework_matrix_product.xml
|
||||||
|
|
||||||
# Preopt SystemUI
|
# Preopt SystemUI
|
||||||
|
ifneq ($(RELEASE_SYSTEMUI_USE_SPEED_PROFILE), true)
|
||||||
PRODUCT_DEXPREOPT_SPEED_APPS += SystemUIGoogle # For internal
|
PRODUCT_DEXPREOPT_SPEED_APPS += SystemUIGoogle # For internal
|
||||||
PRODUCT_DEXPREOPT_SPEED_APPS += SystemUI # For AOSP
|
PRODUCT_DEXPREOPT_SPEED_APPS += SystemUI # For AOSP
|
||||||
|
endif
|
||||||
|
|
||||||
# Compile SystemUI on device with `speed`.
|
# Set on-device compilation mode for SystemUI.
|
||||||
|
ifeq ($(RELEASE_SYSTEMUI_USE_SPEED_PROFILE), true)
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
dalvik.vm.systemuicompilerfilter=speed-profile
|
||||||
|
else
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
dalvik.vm.systemuicompilerfilter=speed
|
dalvik.vm.systemuicompilerfilter=speed
|
||||||
|
endif
|
||||||
|
|
||||||
# Keymaster configuration
|
# Keymaster configuration
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue