blob: 6301a06e3f8aee08fae51d6459404ca0a022013c [file] [log] [blame]
Yifan Hongad35b352018-07-10 11:47:21 -07001// Helper library for implementing health HAL. It is recommended that a health
2// service or passthrough HAL link to this library.
Hridya Valsarajud3e3d722017-12-11 17:31:00 -08003cc_library_static {
4 name: "android.hardware.health@2.0-impl",
5 vendor_available: true,
Yifan Hongad35b352018-07-10 11:47:21 -07006 recovery_available: true,
Hridya Valsarajud3e3d722017-12-11 17:31:00 -08007 srcs: [
8 "Health.cpp",
9 "healthd_common.cpp",
10 ],
11
Hridya Valsarajud3e3d722017-12-11 17:31:00 -080012 export_include_dirs: ["include"],
13
14 shared_libs: [
15 "libbase",
16 "libhidlbase",
17 "libhidltransport",
18 "libhwbinder",
19 "liblog",
20 "libutils",
21 "libcutils",
22 "android.hardware.health@2.0",
23 ],
24
25 static_libs: [
26 "libbatterymonitor",
27 "android.hardware.health@1.0-convert",
28 ],
29}