summaryrefslogtreecommitdiffstats
path: root/bootloader_message/Android.bp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-05-03 18:09:27 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-03 18:09:27 +0200
commitbe25cd21e4b1783a836cdfd3e3f504e41b2b9a93 (patch)
tree2cf1523403a2aa4b999ec09bd89ef8ab4c927993 /bootloader_message/Android.bp
parentMerge "Implement FuseBlockDataProvider" (diff)
parentlibbootloader_message: host_supported. (diff)
downloadandroid_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.gz
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.bz2
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.lz
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.xz
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.tar.zst
android_bootable_recovery-be25cd21e4b1783a836cdfd3e3f504e41b2b9a93.zip
Diffstat (limited to 'bootloader_message/Android.bp')
-rw-r--r--bootloader_message/Android.bp18
1 files changed, 17 insertions, 1 deletions
diff --git a/bootloader_message/Android.bp b/bootloader_message/Android.bp
index 5cd21323c..4ea7c8680 100644
--- a/bootloader_message/Android.bp
+++ b/bootloader_message/Android.bp
@@ -17,6 +17,7 @@
cc_library {
name: "libbootloader_message",
recovery_available: true,
+ host_supported: true,
srcs: ["bootloader_message.cpp"],
cflags: [
"-Wall",
@@ -24,7 +25,22 @@ cc_library {
],
shared_libs: [
"libbase",
- "libfs_mgr",
],
export_include_dirs: ["include"],
+
+ target: {
+ android: {
+ shared_libs: [
+ "libfs_mgr",
+ ],
+ },
+ host: {
+ shared_libs: [
+ "libcutils", // for strlcpy
+ ],
+ static_libs: [
+ "libfstab",
+ ],
+ }
+ }
}