blob: 7581335a3a9af3b401b365ab1f4eea42a33b53b4 [file] [log] [blame]
Steven Morelandc1cad352017-07-10 16:06:46 -07001cc_library_static {
2 name: "android.hardware.health@1.0-convert",
3 vendor_available: true,
Yifan Hongad35b352018-07-10 11:47:21 -07004 recovery_available: true,
Steven Morelandc1cad352017-07-10 16:06:46 -07005 srcs: ["convert.cpp"],
6 include_dirs: [
7 "system/core/base/include",
8 ],
9 header_libs: ["libhealthd_headers"],
10 export_header_lib_headers: ["libhealthd_headers"],
11 export_include_dirs: ["include"],
12 shared_libs: [
13 "libcutils",
14 "libhidlbase",
Steven Morelandc1cad352017-07-10 16:06:46 -070015 "libutils",
16 "android.hardware.health@1.0",
17 ],
18
19}
20
Yifan Hongb808bd72019-12-03 12:51:42 -080021cc_library_static {
22 name: "android.hardware.health@1.0-impl-helper",
Yifan Hong891220a2019-12-02 18:05:41 -080023 vendor: true,
Yifan Hong891220a2019-12-02 18:05:41 -080024 srcs: ["Health.cpp"],
25
26 header_libs: [
27 "libbase_headers",
28 "libhealthd_headers",
29 ],
30
31 shared_libs: [
32 "libcutils",
33 "libhidlbase",
34 "liblog",
35 "libutils",
36 "android.hardware.health@1.0",
37 ],
38
39 static_libs: [
40 "android.hardware.health@1.0-convert",
Yifan Hongb808bd72019-12-03 12:51:42 -080041 ],
42}
43
44cc_library_shared {
45 name: "android.hardware.health@1.0-impl",
46 vendor: true,
47 relative_install_path: "hw",
48
49 static_libs: [
50 "android.hardware.health@1.0-impl-helper",
51 "android.hardware.health@1.0-convert",
Yifan Hong891220a2019-12-02 18:05:41 -080052 "libhealthd.default",
53 ],
54}
55
56cc_binary {
57 name: "android.hardware.health@1.0-service",
58 vendor: true,
59 relative_install_path: "hw",
60 init_rc: ["android.hardware.health@1.0-service.rc"],
61 srcs: ["HealthService.cpp"],
62
63 shared_libs: [
64 "liblog",
65 "libcutils",
66 "libdl",
67 "libbase",
68 "libutils",
69 "libhidlbase",
70 "android.hardware.health@1.0",
71 ],
72}