Update healthd to use Health AIDL HAL V3.

Bug: 309792384
Test: m
Change-Id: Ic92e4d699ee49284fea490d48e963555173033d7
This commit is contained in:
David Anderson 2023-11-17 20:33:25 -08:00
parent 303a541248
commit d473bcf1ab

View file

@ -76,7 +76,7 @@ cc_library_static {
defaults: ["libbatterymonitor_defaults"],
srcs: ["BatteryMonitor.cpp"],
static_libs: [
"android.hardware.health-V2-ndk",
"android.hardware.health-V3-ndk",
],
whole_static_libs: [
// Need to translate HIDL to AIDL to support legacy APIs in
@ -203,12 +203,12 @@ cc_library_static {
defaults: ["libhealthd_charger_ui_defaults"],
static_libs: [
"android.hardware.health-V2-ndk",
"android.hardware.health-V3-ndk",
"android.hardware.health-translate-ndk",
],
export_static_lib_headers: [
"android.hardware.health-V2-ndk",
"android.hardware.health-V3-ndk",
],
}
@ -280,7 +280,7 @@ cc_defaults {
static_libs: [
// common
"android.hardware.health@1.0-convert",
"android.hardware.health-V2-ndk",
"android.hardware.health-V3-ndk",
"libbatterymonitor",
"libcharger_sysprop",
"libhealthd_charger_nops",