zuma: Migrate Lineage Health to soong_config_set

Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
This commit is contained in:
Bruno Martins 2025-04-29 23:37:50 +01:00 committed by Michael Bestas
parent e260079088
commit 0761e205fc
No known key found for this signature in database
2 changed files with 4 additions and 5 deletions

View file

@ -4,11 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#
# Lineage Health
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_DEADLINE := true
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_LIMIT := true
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_TOGGLE := false
# Manifests
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += vendor/lineage/config/device_framework_matrix.xml
DEVICE_MANIFEST_FILE += \

View file

@ -29,6 +29,10 @@ PRODUCT_PRODUCT_PROPERTIES += ro.opa.eligible_device=true
# Lineage Health
include hardware/google/pixel/lineage_health/device.mk
$(call soong_config_set,lineage_health,charging_control_supports_deadline,true)
$(call soong_config_set,lineage_health,charging_control_supports_limit,true)
$(call soong_config_set,lineage_health,charging_control_supports_toggle,false)
# Linker config
PRODUCT_VENDOR_LINKER_CONFIG_FRAGMENTS += \
device/google/zuma/linker.config.json