summaryrefslogtreecommitdiff
path: root/thermal/Android.bp
blob: 9e90b846293546e3668ea1d6ee0133999f64024e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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/battery_threshold.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",
  ],
}