summaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-07 19:50:45 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-07 19:50:45 +0200
commitea38c4160a8f218d082ddd5e1c10b021647f61bd (patch)
treef3ae518c905fecf155441f34de10b65dcd9269c8 /minadbd
parentMerge "Merge Android Pie into master" (diff)
parentBuild and use minadbd as a shared library. (diff)
downloadandroid_bootable_recovery-ea38c4160a8f218d082ddd5e1c10b021647f61bd.tar
android_bootable_recovery-ea38c4160a8f218d082ddd5e1c10b021647f61bd.tar.gz
android_bootable_recovery-ea38c4160a8f218d082ddd5e1c10b021647f61bd.tar.bz2
android_bootable_recovery-ea38c4160a8f218d082ddd5e1c10b021647f61bd.tar.lz
android_bootable_recovery-ea38c4160a8f218d082ddd5e1c10b021647f61bd.tar.xz
android_bootable_recovery-ea38c4160a8f218d082ddd5e1c10b021647f61bd.tar.zst
android_bootable_recovery-ea38c4160a8f218d082ddd5e1c10b021647f61bd.zip
Diffstat (limited to 'minadbd')
-rw-r--r--minadbd/Android.bp16
1 files changed, 9 insertions, 7 deletions
diff --git a/minadbd/Android.bp b/minadbd/Android.bp
index 432b2f0f5..8ccce4f42 100644
--- a/minadbd/Android.bp
+++ b/minadbd/Android.bp
@@ -26,8 +26,9 @@ cc_defaults {
],
}
-cc_library_static {
- name: "libminadbd",
+cc_library {
+ name: "libminadbd_services",
+ recovery_available: true,
defaults: [
"minadbd_defaults",
@@ -39,14 +40,14 @@ cc_library_static {
"minadbd_services.cpp",
],
- static_libs: [
- "libfusesideload",
+ shared_libs: [
+ "libadbd",
"libbase",
"libcrypto",
],
- whole_static_libs: [
- "libadbd",
+ static_libs: [
+ "libfusesideload",
],
}
@@ -62,8 +63,9 @@ cc_test {
],
static_libs: [
+ "libminadbd_services",
+ "libadbd",
"libBionicGtestMain",
- "libminadbd",
],
shared_libs: [