summaryrefslogtreecommitdiffstats
path: root/minadbd/Android.bp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-14 00:52:56 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-14 00:52:56 +0200
commit337bd80b789a9f234f3bfeb145e1798e7340221e (patch)
treeb6c795f960aa2d52ff5bf32ab9c946149a41a438 /minadbd/Android.bp
parentMerge "Remove TODO for b/112462307" (diff)
parentReland "Build and use minadbd as a shared library." (diff)
downloadandroid_bootable_recovery-337bd80b789a9f234f3bfeb145e1798e7340221e.tar
android_bootable_recovery-337bd80b789a9f234f3bfeb145e1798e7340221e.tar.gz
android_bootable_recovery-337bd80b789a9f234f3bfeb145e1798e7340221e.tar.bz2
android_bootable_recovery-337bd80b789a9f234f3bfeb145e1798e7340221e.tar.lz
android_bootable_recovery-337bd80b789a9f234f3bfeb145e1798e7340221e.tar.xz
android_bootable_recovery-337bd80b789a9f234f3bfeb145e1798e7340221e.tar.zst
android_bootable_recovery-337bd80b789a9f234f3bfeb145e1798e7340221e.zip
Diffstat (limited to 'minadbd/Android.bp')
-rw-r--r--minadbd/Android.bp18
1 files changed, 9 insertions, 9 deletions
diff --git a/minadbd/Android.bp b/minadbd/Android.bp
index 36896795d..00244ee7e 100644
--- a/minadbd/Android.bp
+++ b/minadbd/Android.bp
@@ -26,8 +26,10 @@ cc_defaults {
],
}
-cc_library_static {
- name: "libminadbd",
+// `libminadbd_services` is analogous to the `libadbd_services` for regular `adbd`, but providing
+// the sideload service only.
+cc_library {
+ name: "libminadbd_services",
recovery_available: true,
defaults: [
@@ -40,14 +42,11 @@ cc_library_static {
"minadbd_services.cpp",
],
- static_libs: [
- "libfusesideload",
+ shared_libs: [
+ "libadbd",
"libbase",
"libcrypto",
- ],
-
- whole_static_libs: [
- "libadbd",
+ "libfusesideload",
],
}
@@ -63,8 +62,9 @@ cc_test {
],
static_libs: [
+ "libminadbd_services",
+ "libadbd",
"libBionicGtestMain",
- "libminadbd",
],
shared_libs: [