Caleb Connolly | ae389bf | 2021-11-17 22:48:27 +0000 | [diff] [blame] | 1 | cc_library_shared { |
Caleb Connolly | 161fc91 | 2022-04-07 03:10:20 +0100 | [diff] [blame] | 2 | name: "android.hardware.health@2.1-impl-sdm845", |
| 3 | stem: "android.hardware.health@2.0-impl-2.1-sdm845", |
Caleb Connolly | ae389bf | 2021-11-17 22:48:27 +0000 | [diff] [blame] | 4 | |
| 5 | // Install to vendor and recovery. |
Caleb Connolly | c28a5e3 | 2021-11-26 14:13:35 +0000 | [diff] [blame] | 6 | proprietary: true, |
Caleb Connolly | 873a9f2 | 2021-11-19 16:58:56 +0000 | [diff] [blame] | 7 | //recovery_available: true, |
Caleb Connolly | ae389bf | 2021-11-17 22:48:27 +0000 | [diff] [blame] | 8 | |
| 9 | relative_install_path: "hw", |
| 10 | |
Caleb Connolly | c28a5e3 | 2021-11-26 14:13:35 +0000 | [diff] [blame] | 11 | cflags: [ |
| 12 | "-Wall", |
| 13 | "-Werror", |
| 14 | ], |
| 15 | |
Caleb Connolly | ae389bf | 2021-11-17 22:48:27 +0000 | [diff] [blame] | 16 | shared_libs: [ |
| 17 | "libbase", |
| 18 | "libcutils", |
| 19 | "libhidlbase", |
| 20 | "liblog", |
| 21 | "libutils", |
| 22 | "android.hardware.health@2.1", |
| 23 | "android.hardware.health@2.0", |
| 24 | ], |
| 25 | |
| 26 | static_libs: [ |
| 27 | "android.hardware.health@1.0-convert", |
| 28 | "libbatterymonitor", |
| 29 | "libhealthloop", |
| 30 | "libhealth2impl", |
| 31 | // "libhealthd.<device>" |
| 32 | ], |
| 33 | |
| 34 | srcs: [ |
| 35 | "HealthImpl.cpp", |
| 36 | ], |
| 37 | |
| 38 | // No vintf_fragments because both -impl and -service should have been |
| 39 | // installed. |
| 40 | } |