From 8e530191a520c9000e987657c981ff535af203b2 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Thu, 29 Feb 2024 18:05:40 -0800 Subject: 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 --- BUILD.bazel | 6 ++++++ 1 file changed, 6 insertions(+) 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"], +) -- cgit v1.2.3