summaryrefslogtreecommitdiffstats
path: root/minadbd/Android.bp
diff options
context:
space:
mode:
authorxunchang <xunchang@google.com>2019-04-06 01:16:07 +0200
committerTianjie Xu <xunchang@google.com>2019-04-16 21:26:20 +0200
commit95d67323a423db036a43a8c2de1072d514f3717f (patch)
tree19977d4bb909b56177ed680acf2b6941326c63a2 /minadbd/Android.bp
parentDO NOT MERGE: Build libinstall as a static library. (diff)
downloadandroid_bootable_recovery-95d67323a423db036a43a8c2de1072d514f3717f.tar
android_bootable_recovery-95d67323a423db036a43a8c2de1072d514f3717f.tar.gz
android_bootable_recovery-95d67323a423db036a43a8c2de1072d514f3717f.tar.bz2
android_bootable_recovery-95d67323a423db036a43a8c2de1072d514f3717f.tar.lz
android_bootable_recovery-95d67323a423db036a43a8c2de1072d514f3717f.tar.xz
android_bootable_recovery-95d67323a423db036a43a8c2de1072d514f3717f.tar.zst
android_bootable_recovery-95d67323a423db036a43a8c2de1072d514f3717f.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,