From 67a8fd2175b3ff198f4d27d82c43f6296211858b Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Tue, 30 Nov 2021 16:39:00 -0800 Subject: GetBatteryInfo() also reads AIDL health HAL. Test: call GetBatteryInfo manually with and without AIDL health HAL Bug: 170338625 Bug: 177269435 Change-Id: I123739e5bc372d5198fd711f592ceac04d46ab28 --- tests/Android.bp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests') diff --git a/tests/Android.bp b/tests/Android.bp index 5ef4d58c0..7f00adcd4 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -138,7 +138,14 @@ cc_test { "unit/*.cpp", ], + shared_libs: [ + "libbinder_ndk", + ], + static_libs: libapplypatch_static_libs + librecovery_static_libs + [ + "android.hardware.health-translate-ndk", + "android.hardware.health-V1-ndk", + "libhealthshim", "librecovery_ui", "libfusesideload", "libminui", -- cgit v1.2.3