summaryrefslogtreecommitdiffstats
path: root/recovery_utils/Android.bp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2021-12-07 19:18:07 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-12-07 19:18:07 +0100
commitd33b067f047c62aeb6033d8b118897bdbf02cb73 (patch)
tree9137ea7ba99d398009585c83d54db14298e0be09 /recovery_utils/Android.bp
parentMerge "Add erofs tools in recovery mode" (diff)
parentGetBatteryInfo() also reads AIDL health HAL. (diff)
downloadandroid_bootable_recovery-d33b067f047c62aeb6033d8b118897bdbf02cb73.tar
android_bootable_recovery-d33b067f047c62aeb6033d8b118897bdbf02cb73.tar.gz
android_bootable_recovery-d33b067f047c62aeb6033d8b118897bdbf02cb73.tar.bz2
android_bootable_recovery-d33b067f047c62aeb6033d8b118897bdbf02cb73.tar.lz
android_bootable_recovery-d33b067f047c62aeb6033d8b118897bdbf02cb73.tar.xz
android_bootable_recovery-d33b067f047c62aeb6033d8b118897bdbf02cb73.tar.zst
android_bootable_recovery-d33b067f047c62aeb6033d8b118897bdbf02cb73.zip
Diffstat (limited to 'recovery_utils/Android.bp')
-rw-r--r--recovery_utils/Android.bp12
1 files changed, 12 insertions, 0 deletions
diff --git a/recovery_utils/Android.bp b/recovery_utils/Android.bp
index e0e9ec058..9bd66c5d9 100644
--- a/recovery_utils/Android.bp
+++ b/recovery_utils/Android.bp
@@ -31,6 +31,7 @@ cc_defaults {
shared_libs: [
"android.hardware.health@2.0",
"libbase",
+ "libbinder_ndk",
"libext4_utils",
"libfs_mgr",
"libhidlbase",
@@ -42,8 +43,10 @@ cc_defaults {
"libotautil",
// External dependencies.
+ "android.hardware.health-translate-ndk",
"libfstab",
"libhealthhalutils",
+ "libhealthshim",
],
}
@@ -70,6 +73,15 @@ cc_library_static {
"libvold_headers",
],
+ shared_libs: [
+ // The following cannot be placed in librecovery_utils_defaults,
+ // because at the time of writing, android.hardware.health-V1-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",
+ ],
+
export_include_dirs: [
"include",
],