aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2020-07-16 18:48:43 -0700
committerDan Willemsen <dwillemsen@google.com>2020-08-06 16:14:39 -0700
commit4df910f63823a80a4efb271198db74cf671a8547 (patch)
treea3e5692d01f36cc81bcf149ca2a91645e513d2f7
parentefb2a5af292802ed14f186c964fe6b1cbe8b51bd (diff)
downloadbison-4df910f63823a80a4efb271198db74cf671a8547.tar.gz
Reland "Rename bison to bison_bin"
I'm adding a prebuilt_build_tool module for bison so that it can be used by genrules. That module should have the "bison" name as it's usable during the build, while this is only usable when moved into the correct directory (so that its data files may be found). Bug: 128690776 Test: treehugger Change-Id: I648e88d61c4b9862bb2ff5fb8d3b36ebb116f3bd
-rw-r--r--Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 19965bf7..7f46cbe0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -50,7 +50,11 @@ cc_library_host_static {
//##########################################
cc_binary_host {
- name: "bison",
+ // This isn't usable as-is from the installed directory, so name it
+ // something else so it doesn't match with the prebuilt_build_tool and the
+ // stem will rename it back to bison on the filesystem.
+ name: "bison_bin",
+ stem: "bison",
defaults: [
"bison_defaults",
"bison_linux_defaults",