Yifan Hong | ad35b35 | 2018-07-10 11:47:21 -0700 | [diff] [blame^] | 1 | // Helper library for implementing health HAL. It is recommended that a health |
| 2 | // service or passthrough HAL link to this library. |
Hridya Valsaraju | d3e3d72 | 2017-12-11 17:31:00 -0800 | [diff] [blame] | 3 | cc_library_static { |
| 4 | name: "android.hardware.health@2.0-impl", |
| 5 | vendor_available: true, |
Yifan Hong | ad35b35 | 2018-07-10 11:47:21 -0700 | [diff] [blame^] | 6 | recovery_available: true, |
Hridya Valsaraju | d3e3d72 | 2017-12-11 17:31:00 -0800 | [diff] [blame] | 7 | srcs: [ |
| 8 | "Health.cpp", |
| 9 | "healthd_common.cpp", |
| 10 | ], |
| 11 | |
Hridya Valsaraju | d3e3d72 | 2017-12-11 17:31:00 -0800 | [diff] [blame] | 12 | 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 | } |