summaryrefslogtreecommitdiffstats
path: root/recovery_utils/Android.bp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2021-12-01 01:39:00 +0100
committerYifan Hong <elsk@google.com>2021-12-07 01:53:58 +0100
commit67a8fd2175b3ff198f4d27d82c43f6296211858b (patch)
tree34f9e977db6328a157284f5a180d6519f2226e0e /recovery_utils/Android.bp
parentMerge "Merge Android 12" (diff)
downloadandroid_bootable_recovery-67a8fd2175b3ff198f4d27d82c43f6296211858b.tar
android_bootable_recovery-67a8fd2175b3ff198f4d27d82c43f6296211858b.tar.gz
android_bootable_recovery-67a8fd2175b3ff198f4d27d82c43f6296211858b.tar.bz2
android_bootable_recovery-67a8fd2175b3ff198f4d27d82c43f6296211858b.tar.lz
android_bootable_recovery-67a8fd2175b3ff198f4d27d82c43f6296211858b.tar.xz
android_bootable_recovery-67a8fd2175b3ff198f4d27d82c43f6296211858b.tar.zst
android_bootable_recovery-67a8fd2175b3ff198f4d27d82c43f6296211858b.zip
Diffstat (limited to '')
-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",
],