aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2020-07-16 18:48:43 -0700
committerDan Willemsen <dwillemsen@google.com>2020-07-20 18:05:13 -0700
commit3f423ce2d74fd738fa268ece845cf830b399218a (patch)
treea3e5692d01f36cc81bcf149ca2a91645e513d2f7
parentef635029c745e1fb2602f5ab3fb142855532f7a5 (diff)
downloadbison-3f423ce2d74fd738fa268ece845cf830b399218a.tar.gz
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: I00893172ba9ef1362944e3cde2197cd2fb80142d
-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",