summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-01-10 11:28:53 -0800
committerTao Bao <tbao@google.com>2019-01-10 18:39:56 -0800
commit1c1bce9a4850f856c9e1a0929397303850dd3c3b (patch)
treecd50340b6a02196b25774f17505ce70d4ad76268
parent6bf987b1654a9f398f98f9553f751296d1ab8eda (diff)
downloadbsdiff-1c1bce9a4850f856c9e1a0929397303850dd3c3b.tar.gz
Don't build `bspatch` executable for Android target.
All the users should use libbspatch instead. The host rule stays for easier testing. Test: m checkbuild Change-Id: I4a23a7383ebda8b7bf61508ffe3cf47cc573ad29
-rw-r--r--Android.bp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index d20b5cf..d0e5933 100644
--- a/Android.bp
+++ b/Android.bp
@@ -76,8 +76,8 @@ cc_library_static {
],
}
-// Host and target Executables.
-cc_binary {
+// Host executables: bsdiff and bspatch are only built for the host.
+cc_binary_host {
name: "bspatch",
defaults: ["bsdiff_defaults"],
@@ -89,7 +89,6 @@ cc_binary {
],
}
-// Host executables, bsdiff is only built for the host.
cc_binary_host {
name: "bsdiff",
defaults: ["bsdiff_defaults"],