Reapply "thermal: separate out proto and EVT config due to differences in rail"

This reverts commit 2741e1dcdb.
Test: Tested on RCPro, CM4/KM4 proto devices
Change-Id: I5dda1c21d215dcfff757b73275f9fc3eac31a19a

Bug: 304936256
Change-Id: I72e6dd09d9443fec8a49fc0c7f7310455946f086
This commit is contained in:
Ramya Subramanian 2023-10-17 20:44:47 +00:00 committed by Zheng Pan
parent d7676715eb
commit cddaacbecf
10 changed files with 2623 additions and 21 deletions

View file

@ -24,6 +24,11 @@ PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_$(TARGET_DEVICE).json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_charge_$(TARGET_DEVICE).json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_charge.json
ifneq (,$(filter $(TARGET_DEVICE),komodo caiman tokay))
PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_$(TARGET_DEVICE)_proto.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_proto.json
endif
# Power HAL config
ifeq (,$(TARGET_VENDOR_PERF_CONFIG_PATH))
TARGET_VENDOR_PERF_CONFIG_PATH := device/google/caimito/perf