From 6b39dee45d370b9c60c9c4fa2e23319ed63194d8 Mon Sep 17 00:00:00 2001 From: Jack Wu Date: Thu, 24 Nov 2022 20:45:47 +0800 Subject: [PATCH] Update health AIDL HAL to V2 Bug: 251425963 Test: Build Change-Id: I471f8fb9c7eb1044ea0b920d55728613188bfbdf Signed-off-by: Jack Wu --- Android.bp | 2 +- minadbd/Android.bp | 4 ++-- recovery_utils/Android.bp | 4 ++-- tests/Android.bp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Android.bp b/Android.bp index 4cdeba0f..d7139426 100644 --- a/Android.bp +++ b/Android.bp @@ -161,7 +161,7 @@ cc_binary { ], shared_libs: [ - "android.hardware.health-V1-ndk", // from librecovery_utils + "android.hardware.health-V2-ndk", // from librecovery_utils "android.hardware.boot-V1-ndk", "librecovery_ui", ], diff --git a/minadbd/Android.bp b/minadbd/Android.bp index 9d3f7334..c664d740 100644 --- a/minadbd/Android.bp +++ b/minadbd/Android.bp @@ -97,7 +97,7 @@ cc_binary { ], shared_libs: [ - "android.hardware.health-V1-ndk", // from librecovery_utils + "android.hardware.health-V2-ndk", // from librecovery_utils "libbase", "libcrypto", ], @@ -129,7 +129,7 @@ cc_test { ], static_libs: [ - "android.hardware.health-V1-ndk", // from librecovery_utils + "android.hardware.health-V2-ndk", // from librecovery_utils "libminadbd_services", "libfusesideload", "librecovery_utils", diff --git a/recovery_utils/Android.bp b/recovery_utils/Android.bp index 9bd66c5d..74392c52 100644 --- a/recovery_utils/Android.bp +++ b/recovery_utils/Android.bp @@ -75,11 +75,11 @@ cc_library_static { shared_libs: [ // The following cannot be placed in librecovery_utils_defaults, - // because at the time of writing, android.hardware.health-V1-ndk.so + // because at the time of writing, android.hardware.health-V2-ndk.so // is not installed to the system image yet. (It is installed // to the recovery ramdisk.) Hence, minadbd_test must link to it // statically. - "android.hardware.health-V1-ndk", + "android.hardware.health-V2-ndk", ], export_include_dirs: [ diff --git a/tests/Android.bp b/tests/Android.bp index 0708e855..b888d474 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -148,7 +148,7 @@ cc_test { static_libs: libapplypatch_static_libs + librecovery_static_libs + [ "android.hardware.health-translate-ndk", - "android.hardware.health-V1-ndk", + "android.hardware.health-V2-ndk", "libhealthshim", "librecovery_ui", "libfusesideload",