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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
subdirs = [
"libthermalcallback"
]
cc_library {
name: "libthermalservice",
srcs: [
"aidl/android/os/IThermalEventListener.aidl",
"aidl/android/os/IThermalService.aidl",
"aidl/android/os/Temperature.cpp",
],
aidl: {
include_dirs: ["frameworks/native/services/thermalservice/aidl"],
export_aidl_headers: true,
},
export_include_dirs: ["aidl"],
shared_libs: [
"libbinder",
"libutils",
],
cflags: [
"-Wall",
"-Werror",
"-Wunused",
"-Wunreachable-code",
],
}
cc_binary {
name: "thermalserviced",
srcs: [
"ThermalService.cpp",
"thermalserviced.cpp",
],
include_dirs: ["frameworks/native"],
shared_libs: [
"libthermalservice",
"libbinder",
"libutils",
"libthermalcallback",
"android.hardware.thermal@1.1",
"libhidlbase",
"libhidltransport",
"liblog",
],
cflags: [
"-Wall",
"-Werror",
"-Wunused",
"-Wunreachable-code",
],
init_rc: ["thermalservice.rc"],
}
|