1cc_library_shared {
2    name: "libpowermanager",
3
4    srcs: [
5        "IPowerManager.cpp",
6        "Temperature.cpp",
7        "CoolingDevice.cpp",
8        ":libpowermanager_aidl",
9    ],
10
11    aidl: {
12       local_include_dirs: ["include"],
13       include_dirs: [
14           "frameworks/base/core/java/android/os",
15       ],
16       export_aidl_headers: true
17    },
18
19    shared_libs: [
20        "libutils",
21        "libbinder",
22        "liblog"
23    ],
24
25    cflags: [
26        "-Wall",
27        "-Werror",
28        "-Wunused",
29        "-Wunreachable-code",
30    ],
31
32    local_include_dirs: ["include"],
33    export_include_dirs: [
34         "include",
35    ],
36}
37
38cc_test {
39    name: "thermalmanager-test",
40    srcs: ["IThermalManagerTest.cpp",
41          ],
42    cflags: [
43        "-Wall",
44        "-Werror",
45        "-Wextra",
46    ],
47    shared_libs: [
48        "libbase",
49        "libhidlbase",
50        "liblog",
51        "libpowermanager",
52        "libbinder",
53        "libutils",
54    ],
55}
56