sm7250-common: Build Pixel Thermal HAL
This commit is contained in:
parent
5d983c08ba
commit
6268953703
8
lito.mk
8
lito.mk
@ -414,8 +414,14 @@ PRODUCT_BOOT_JARS += \
|
|||||||
telephony-ext
|
telephony-ext
|
||||||
|
|
||||||
# Thermal HAL
|
# Thermal HAL
|
||||||
|
SOONG_CONFIG_NAMESPACES += thermal_hal_feature
|
||||||
|
SOONG_CONFIG_thermal_hal_feature += \
|
||||||
|
pid \
|
||||||
|
|
||||||
|
SOONG_CONFIG_thermal_hal_feature_pid ?= apply_1_0
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.thermal@2.0-service.mock
|
android.hardware.thermal@2.0-service.pixel \
|
||||||
|
thermal_symlinks
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/configs/thermal_info_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
|
$(LOCAL_PATH)/configs/thermal_info_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
|
||||||
|
2
sepolicy/vendor/file_contexts
vendored
2
sepolicy/vendor/file_contexts
vendored
@ -89,7 +89,7 @@
|
|||||||
# Thermal
|
# Thermal
|
||||||
/vendor/bin/mi_thermald u:object_r:mi_thermald_exec:s0
|
/vendor/bin/mi_thermald u:object_r:mi_thermald_exec:s0
|
||||||
/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0
|
/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0
|
||||||
/vendor/bin/hw/android\.hardware\.thermal@2\.0-service\.mock u:object_r:hal_thermal_default_exec:s0
|
/vendor/bin/hw/android\.hardware\.thermal@2\.0-service\.pixel u:object_r:hal_thermal_default_exec:s0
|
||||||
/vendor/bin/thermal_symlinks u:object_r:init-thermal-symlinks-sh_exec:s0
|
/vendor/bin/thermal_symlinks u:object_r:init-thermal-symlinks-sh_exec:s0
|
||||||
/dev/thermal(/.*)? u:object_r:thermal_link_device:s0
|
/dev/thermal(/.*)? u:object_r:thermal_link_device:s0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user