Files
vendor_lineage/config/evolution.mk
minaripenguin 0acce350a6 config: Disable memtag for different processes
* it defaults to async if not specified

Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:00:23 +09:00

53 lines
1.4 KiB
Makefile

# Evolution X packages
PRODUCT_PACKAGES += \
EvoEgg
ifeq ($(EVO_BUILD_TYPE),Official)
PRODUCT_PACKAGES += \
Updater
ifeq ($(WITH_GMS),false)
PRODUCT_PACKAGES += \
UpdaterVanillaOverlay
endif
endif
# 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
# 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