dodge: Migrate QTI power HAL to soong_config_set

Change-Id: Ib80c15ee523130011147d378f665592dae501ec2
This commit is contained in:
Michael Bestas
2025-07-19 10:55:59 +03:00
committed by Bruno Martins
parent e5a86bcea9
commit c43647a675
2 changed files with 3 additions and 3 deletions

View File

@@ -21,9 +21,6 @@ TARGET_SCREEN_DENSITY := 640
# Kernel # Kernel
TARGET_KERNEL_ADDITIONAL_FLAGS += CONFIG_DODGE_DTB=y TARGET_KERNEL_ADDITIONAL_FLAGS += CONFIG_DODGE_DTB=y
# Power
TARGET_POWERHAL_MODE_EXT_LIB := power-ext-oplus
# Properties # Properties
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop
TARGET_SYSTEM_EXT_PROP += $(DEVICE_PATH)/system_ext.prop TARGET_SYSTEM_EXT_PROP += $(DEVICE_PATH)/system_ext.prop

View File

@@ -34,6 +34,9 @@ PRODUCT_PACKAGES += \
OPlusSettingsResTarget \ OPlusSettingsResTarget \
OPlusSystemUIResTarget OPlusSystemUIResTarget
# Power
$(call soong_config_set,qtipower,mode_ext_lib,power-ext-oplus)
# PowerShare # PowerShare
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
vendor.lineage.powershare-service.oplus vendor.lineage.powershare-service.oplus