Steven Moreland | c1cad35 | 2017-07-10 16:06:46 -0700 | [diff] [blame] | 1 | cc_library_static { |
| 2 | name: "android.hardware.health@1.0-convert", |
| 3 | vendor_available: true, |
Yifan Hong | ad35b35 | 2018-07-10 11:47:21 -0700 | [diff] [blame] | 4 | recovery_available: true, |
Steven Moreland | c1cad35 | 2017-07-10 16:06:46 -0700 | [diff] [blame] | 5 | 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 Moreland | c1cad35 | 2017-07-10 16:06:46 -0700 | [diff] [blame] | 15 | "libutils", |
| 16 | "android.hardware.health@1.0", |
| 17 | ], |
| 18 | |
| 19 | } |
| 20 | |
Yifan Hong | 891220a | 2019-12-02 18:05:41 -0800 | [diff] [blame^] | 21 | cc_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 | |
| 46 | cc_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 | } |