summaryrefslogtreecommitdiffstats
path: root/minadbd/Android.bp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-04-12 02:06:17 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-04-12 02:06:17 +0200
commite087edcab0bdf51dff295598d73236b76adb0ffd (patch)
tree1775eb729fae239cc4fe0422a2b4fadde96b9add /minadbd/Android.bp
parentMerge "Build libinstall as a static library." am: 38d5e60874 (diff)
parentMerge "Add socket communication between recovery and minadbd" (diff)
downloadandroid_bootable_recovery-e087edcab0bdf51dff295598d73236b76adb0ffd.tar
android_bootable_recovery-e087edcab0bdf51dff295598d73236b76adb0ffd.tar.gz
android_bootable_recovery-e087edcab0bdf51dff295598d73236b76adb0ffd.tar.bz2
android_bootable_recovery-e087edcab0bdf51dff295598d73236b76adb0ffd.tar.lz
android_bootable_recovery-e087edcab0bdf51dff295598d73236b76adb0ffd.tar.xz
android_bootable_recovery-e087edcab0bdf51dff295598d73236b76adb0ffd.tar.zst
android_bootable_recovery-e087edcab0bdf51dff295598d73236b76adb0ffd.zip
Diffstat (limited to 'minadbd/Android.bp')
-rw-r--r--minadbd/Android.bp31
1 files changed, 30 insertions, 1 deletions
diff --git a/minadbd/Android.bp b/minadbd/Android.bp
index 9b889f4a2..e4f7712e5 100644
--- a/minadbd/Android.bp
+++ b/minadbd/Android.bp
@@ -40,7 +40,6 @@ cc_library {
srcs: [
"fuse_adb_provider.cpp",
- "minadbd.cpp",
"minadbd_services.cpp",
],
@@ -52,6 +51,36 @@ cc_library {
],
}
+cc_library_headers {
+ name: "libminadbd_headers",
+ recovery_available: true,
+ // TODO create a include dir
+ export_include_dirs: [
+ ".",
+ ],
+}
+
+cc_binary {
+ name: "minadbd",
+ recovery: true,
+
+ defaults: [
+ "minadbd_defaults",
+ ],
+
+ srcs: [
+ "minadbd.cpp",
+ ],
+
+ shared_libs: [
+ "libadbd",
+ "libbase",
+ "libcrypto",
+ "libfusesideload",
+ "libminadbd_services",
+ ],
+}
+
cc_test {
name: "minadbd_test",
isolated: true,