• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_binary {
2  name: "android.hardware.thermal@2.0-service.pixel",
3  defaults: [
4    "hidl_defaults",
5  ],
6  vendor: true,
7  relative_install_path: "hw",
8  vintf_fragments: ["android.hardware.thermal@2.0-service.pixel.xml"],
9  init_rc: [
10    "android.hardware.thermal@2.0-service.pixel.rc",
11  ],
12  srcs: [
13    "service.cpp",
14    "Thermal.cpp",
15    "thermal-helper.cpp",
16    "utils/config_parser.cpp",
17    "utils/thermal_files.cpp",
18    "utils/thermal_watcher.cpp",
19  ],
20  static_libs: [
21    "libjsoncpp",
22  ],
23  shared_libs: [
24    "libbase",
25    "libcutils",
26    "libhidlbase",
27    "libhidltransport",
28    "libutils",
29    "android.hardware.thermal@1.0",
30    "android.hardware.thermal@2.0",
31  ],
32  cflags: [
33    "-Wall",
34    "-Werror",
35    "-Wextra",
36    "-Wunused",
37  ],
38  tidy: true,
39  tidy_checks: [
40    "android-*",
41    "cert-*",
42    "clang-analyzer-security*",
43  ],
44  tidy_flags: [
45      "-warnings-as-errors=android-*,clang-analyzer-security*,cert-*"
46  ],
47}
48