| cc_binary { |
| name: "android.hardware.thermal@1.1-service.crosshatch", |
| defaults: [ |
| "hidl_defaults", |
| ], |
| vendor: true, |
| relative_install_path: "hw", |
| init_rc: [ |
| "android.hardware.thermal@1.1-service.crosshatch.rc", |
| ], |
| srcs: [ |
| "service.cpp", |
| "Thermal.cpp", |
| "thermal-helper.cpp", |
| "utils/cooling_devices.cpp", |
| "utils/device_file_watcher.cpp", |
| "utils/sensors.cpp", |
| "utils/ThermalConfigParser.cpp", |
| ], |
| shared_libs: [ |
| "libbase", |
| "libhidlbase", |
| "libhidltransport", |
| "libutils", |
| "android.hardware.thermal@1.0", |
| "android.hardware.thermal@1.1", |
| ], |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| ], |
| } |