summaryrefslogtreecommitdiff
path: root/thermal/device.mk
blob: bf150cdf379f9877d103ffda9cc40fa8e07ae28a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 += \
    android.hardware.thermal@2.0-service.pixel

# Thermal utils
PRODUCT_PACKAGES += \
    thermal_symlinks

ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
    thermal_logd
endif

BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/thermal