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 | b808bd7 | 2019-12-03 12:51:42 -0800 | [diff] [blame] | 21 | cc_library_static { |
| 22 | name: "android.hardware.health@1.0-impl-helper", |
Yifan Hong | 891220a | 2019-12-02 18:05:41 -0800 | [diff] [blame] | 23 | vendor: true, |
Yifan Hong | 891220a | 2019-12-02 18:05:41 -0800 | [diff] [blame] | 24 | 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 Hong | b808bd7 | 2019-12-03 12:51:42 -0800 | [diff] [blame] | 41 | ], |
| 42 | } |
| 43 | |
| 44 | cc_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 Hong | 891220a | 2019-12-02 18:05:41 -0800 | [diff] [blame] | 52 | "libhealthd.default", |
| 53 | ], |
Bill Peckham | 4e27e0f | 2020-06-03 17:31:16 -0700 | [diff] [blame] | 54 | |
| 55 | shared_libs: [ |
| 56 | "libhidlbase", |
| 57 | "libutils", |
| 58 | "android.hardware.health@1.0", |
| 59 | ], |
Yifan Hong | 891220a | 2019-12-02 18:05:41 -0800 | [diff] [blame] | 60 | } |
| 61 | |
| 62 | cc_binary { |
| 63 | name: "android.hardware.health@1.0-service", |
| 64 | vendor: true, |
| 65 | relative_install_path: "hw", |
| 66 | init_rc: ["android.hardware.health@1.0-service.rc"], |
| 67 | srcs: ["HealthService.cpp"], |
| 68 | |
| 69 | shared_libs: [ |
| 70 | "liblog", |
| 71 | "libcutils", |
| 72 | "libdl", |
| 73 | "libbase", |
| 74 | "libutils", |
| 75 | "libhidlbase", |
| 76 | "android.hardware.health@1.0", |
| 77 | ], |
| 78 | } |