summaryrefslogtreecommitdiffstats
path: root/minadbd/Android.bp
diff options
context:
space:
mode:
authorxunchang <xunchang@google.com>2019-04-06 01:16:07 +0200
committerxunchang <xunchang@google.com>2019-04-11 23:23:53 +0200
commit34690ced91e22f5d9b5dd19c33b11c8e0b4bafa0 (patch)
treefc51bb568fdb244bd4cc7687a665230a1f3a9fa4 /minadbd/Android.bp
parentMerge "Build libinstall as a static library." (diff)
downloadandroid_bootable_recovery-34690ced91e22f5d9b5dd19c33b11c8e0b4bafa0.tar
android_bootable_recovery-34690ced91e22f5d9b5dd19c33b11c8e0b4bafa0.tar.gz
android_bootable_recovery-34690ced91e22f5d9b5dd19c33b11c8e0b4bafa0.tar.bz2
android_bootable_recovery-34690ced91e22f5d9b5dd19c33b11c8e0b4bafa0.tar.lz
android_bootable_recovery-34690ced91e22f5d9b5dd19c33b11c8e0b4bafa0.tar.xz
android_bootable_recovery-34690ced91e22f5d9b5dd19c33b11c8e0b4bafa0.tar.zst
android_bootable_recovery-34690ced91e22f5d9b5dd19c33b11c8e0b4bafa0.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,