summaryrefslogtreecommitdiffstats
path: root/minadbd/Android.bp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-04-12 01:57:53 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-04-12 01:57:53 +0200
commitf9709883f17b7115e1a77f449d71dd67c88160c0 (patch)
treefc51bb568fdb244bd4cc7687a665230a1f3a9fa4 /minadbd/Android.bp
parentMerge "Build libinstall as a static library." (diff)
parentMerge "Add socket communication between recovery and minadbd" (diff)
downloadandroid_bootable_recovery-f9709883f17b7115e1a77f449d71dd67c88160c0.tar
android_bootable_recovery-f9709883f17b7115e1a77f449d71dd67c88160c0.tar.gz
android_bootable_recovery-f9709883f17b7115e1a77f449d71dd67c88160c0.tar.bz2
android_bootable_recovery-f9709883f17b7115e1a77f449d71dd67c88160c0.tar.lz
android_bootable_recovery-f9709883f17b7115e1a77f449d71dd67c88160c0.tar.xz
android_bootable_recovery-f9709883f17b7115e1a77f449d71dd67c88160c0.tar.zst
android_bootable_recovery-f9709883f17b7115e1a77f449d71dd67c88160c0.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,