diff options
author | Yifan Hong <elsk@google.com> | 2024-02-29 18:05:40 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2024-02-29 18:05:40 -0800 |
commit | 8e530191a520c9000e987657c981ff535af203b2 (patch) | |
tree | b8f1117245e695ee729f01cf92ff0c6fe9f9c578 | |
parent | 99e91386fca4ee44ab604259f59f269a0917fb71 (diff) | |
download | build-tools-8e530191a520c9000e987657c981ff535af203b2.tar.gz |
Add bison.runfiles_dir.
This is so that we can calculate the path to common/bison
in rule implementations. The actual directory is not
depended on.
Test: TH
Bug: 291816237
Change-Id: I303ee746153d983e25980a23961b51eb05ae05be
-rw-r--r-- | BUILD.bazel | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index c7e58afa..8ece9262 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -105,3 +105,9 @@ filegroup( "common/bison/**", ]), ) + +# Point to the directory so variables can know where to set BISON_PKGDATADIR to +filegroup( + name = "bison.runfiles_dir", + srcs = ["common/bison"], +) |