perfetto shows a lot of wasted time done on hwc composition strategy on mtk targets Change-Id: I88c810c954ae689f5ecd5c8f03e5130c356ae631 Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
86 lines
2.2 KiB
Makefile
86 lines
2.2 KiB
Makefile
# Evolution X packages
|
|
PRODUCT_PACKAGES += \
|
|
EvoEgg \
|
|
GameSpace \
|
|
OmniJaws \
|
|
OmniStyle
|
|
|
|
PRODUCT_PACKAGES += \
|
|
Updater
|
|
|
|
ifeq ($(WITH_GMS),false)
|
|
PRODUCT_PACKAGES += \
|
|
UpdaterVanillaOverlay
|
|
endif
|
|
|
|
# BtHelper
|
|
PRODUCT_PACKAGES += \
|
|
BtHelper
|
|
|
|
# Face Unlock
|
|
ifeq ($(TARGET_SUPPORTS_64_BIT_APPS),true)
|
|
PRODUCT_PACKAGES += \
|
|
FaceUnlock
|
|
|
|
PRODUCT_SYSTEM_EXT_PROPERTIES += \
|
|
ro.face.sense_service=true
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/android.hardware.biometrics.face.xml
|
|
endif
|
|
|
|
# DeviceAsWebcam
|
|
ifeq ($(TARGET_BUILD_DEVICE_AS_WEBCAM), true)
|
|
PRODUCT_PACKAGES += \
|
|
DeviceAsWebcam
|
|
|
|
PRODUCT_VENDOR_PROPERTIES += \
|
|
ro.usb.uvc.enabled=true
|
|
endif
|
|
|
|
# Cloned app exemption
|
|
PRODUCT_COPY_FILES += \
|
|
vendor/lineage/prebuilt/common/etc/sysconfig/preinstalled-packages-platform-evolution-product.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/preinstalled-packages-platform-evolution-product.xml
|
|
|
|
# ColumbusService
|
|
ifneq ($(TARGET_SUPPORTS_QUICK_TAP),false)
|
|
PRODUCT_PACKAGES += \
|
|
ColumbusService
|
|
endif
|
|
|
|
# Use a generic profile based boot image by default
|
|
PRODUCT_USE_PROFILE_FOR_BOOT_IMAGE := true
|
|
PRODUCT_DEX_PREOPT_BOOT_IMAGE_PROFILE_LOCATION := frameworks/base/boot/boot-image-profile.txt
|
|
|
|
# Disable async MTE on a few processes
|
|
PRODUCT_SYSTEM_EXT_PROPERTIES += \
|
|
persist.arm64.memtag.app.com.android.se=off \
|
|
persist.arm64.memtag.app.com.google.android.bluetooth=off \
|
|
persist.arm64.memtag.app.com.android.nfc=off \
|
|
persist.arm64.memtag.process.system_server=off
|
|
|
|
# Private keys
|
|
ifeq ($(EVO_BUILD_TYPE),Official)
|
|
include vendor/evolution-priv/keys/keys.mk
|
|
else
|
|
-include vendor/evolution-priv/keys/keys.mk
|
|
endif
|
|
|
|
# PERF_ANIM_OVERRIDE
|
|
PRODUCT_PRODUCT_PROPERTIES += \
|
|
persist.sys.activity_anim_perf_override=$(PERF_ANIM_OVERRIDE)
|
|
|
|
ifeq ($(PERF_ANIM_OVERRIDE),true)
|
|
PRODUCT_PRODUCT_PROPERTIES += \
|
|
debug.sf.predict_hwc_composition_strategy=0
|
|
endif
|
|
|
|
# Other ROM feature flags
|
|
BYPASS_CHARGE_SUPPORTED ?= false
|
|
PERF_ANIM_OVERRIDE ?= false
|
|
TORCH_STR_SUPPORTED ?= true
|
|
|
|
PRODUCT_SYSTEM_PROPERTIES += \
|
|
persist.sys.battery_bypass_supported=$(BYPASS_CHARGE_SUPPORTED) \
|
|
persist.sys.torch_str_support=$(TORCH_STR_SUPPORTED)
|