mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-29 14:38:00 +00:00
Instead of hardcoding thermal zone numbers, make thermalHAL look up thermistors by name. This is a backport of the way thermalHAL keeps track of thermal zones in b1c1. Bug: 75972023 Test: VtsHalThermalV1_0TargetTest passes Test: VtsHalThermalV1_1TargetTest passes Test: manual - flash device and check logcat for thermalHAL output. Change-Id: I24194ea6dd0372b52f525ac288108ee9da30258a
22 lines
482 B
Plaintext
22 lines
482 B
Plaintext
cc_library {
|
|
name: "android.hardware.thermal@1.1-wahoo",
|
|
defaults: ["hidl_defaults"],
|
|
owner: "qcom",
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
srcs: [
|
|
"sensors.cpp",
|
|
"Thermal.cpp",
|
|
"thermal-helper.cpp",
|
|
],
|
|
export_include_dirs: ["."],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libutils",
|
|
"android.hardware.thermal@1.0",
|
|
"android.hardware.thermal@1.1",
|
|
],
|
|
}
|