Benergy Meenan Ravuri | 3045c8d | 2019-11-13 16:38:03 +0530 | [diff] [blame] | 1 | cc_library_static { |
| 2 | name: "libhealthd.msm", |
| 3 | srcs: [ |
| 4 | "healthd_board_msm.cpp", |
| 5 | "healthd_msm_alarm.cpp", |
| 6 | ], |
| 7 | |
| 8 | cflags: ["-Werror"], |
| 9 | include_dirs: [ |
| 10 | "bootable/recovery", |
| 11 | "bootable/recovery/minui/include", |
| 12 | ], |
| 13 | |
| 14 | header_libs: [ |
| 15 | "libbatteryservice_headers", |
| 16 | "libbase_headers", |
| 17 | "libhealthd_headers", |
| 18 | ], |
| 19 | |
| 20 | } |
Subbaraman Narayanamurthy | 995c63a | 2020-08-26 21:51:48 -0700 | [diff] [blame] | 21 | |
| 22 | cc_library_shared { |
| 23 | name: "android.hardware.health@2.1-impl-qti", |
| 24 | stem: "android.hardware.health@2.0-impl-2.1-qti", |
| 25 | vendor: true, |
| 26 | recovery_available: true, |
| 27 | |
| 28 | relative_install_path: "hw", |
| 29 | |
| 30 | srcs: [ |
| 31 | "healthimpl.cpp", |
| 32 | ], |
| 33 | |
| 34 | cflags: [ |
| 35 | "-Wall", |
| 36 | "-Werror", |
| 37 | ], |
| 38 | |
| 39 | static_libs: [ |
| 40 | "android.hardware.health@1.0-convert", |
| 41 | "libbatterymonitor", |
| 42 | "libhealthloop", |
| 43 | "libhealth2impl", |
| 44 | ], |
| 45 | |
| 46 | shared_libs: [ |
| 47 | "libbase", |
| 48 | "libcutils", |
| 49 | "libhidlbase", |
| 50 | "liblog", |
| 51 | "libutils", |
| 52 | "android.hardware.health@2.0", |
| 53 | "android.hardware.health@2.1", |
| 54 | ], |
| 55 | } |