blob: e4e6ce7b4b320853f1794527f3c7fa00895d0387 [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 Hong891220a2019-12-02 18:05:41 -080021cc_library_shared {
22 name: "android.hardware.health@1.0-impl",
23 vendor: true,
24 relative_install_path: "hw",
25 srcs: ["Health.cpp"],
26
27 header_libs: [
28 "libbase_headers",
29 "libhealthd_headers",
30 ],
31
32 shared_libs: [
33 "libcutils",
34 "libhidlbase",
35 "liblog",
36 "libutils",
37 "android.hardware.health@1.0",
38 ],
39
40 static_libs: [
41 "android.hardware.health@1.0-convert",
42 "libhealthd.default",
43 ],
44}
45
46cc_binary {
47 name: "android.hardware.health@1.0-service",
48 vendor: true,
49 relative_install_path: "hw",
50 init_rc: ["android.hardware.health@1.0-service.rc"],
51 srcs: ["HealthService.cpp"],
52
53 shared_libs: [
54 "liblog",
55 "libcutils",
56 "libdl",
57 "libbase",
58 "libutils",
59 "libhidlbase",
60 "android.hardware.health@1.0",
61 ],
62}