mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 09:39:39 +00:00
gs201: Migrate Lineage Health to soong_config_set
Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
This commit is contained in:
committed by
Michael Bestas
parent
4f9c60dffd
commit
134179699f
@@ -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/gs201/android.hardware.security.rkp-service.citadel.xml
|
||||
|
||||
@@ -22,6 +22,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/gs201/linker.config.json
|
||||
|
||||
Reference in New Issue
Block a user