gs101: 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 9a08b8d207
commit 4694eb0385
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 += device/google/gs101/manifest_radio.xml

View File

@@ -26,6 +26,10 @@ PRODUCT_PACKAGES += \
# 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/gs101/linker.config.json