Do not recursively globs in the root BUILD file of Bazel
This is triggering some weird errors on ci.bazel.io where it tries to look at files under the convenience symlink.
Instead just glob files on the top-level path, the other files are all in sub-package anyway.
--
MOS_MIGRATED_REVID=119941636
diff --git a/BUILD b/BUILD
index 2ff0bc9..fc3bb5e 100644
--- a/BUILD
+++ b/BUILD
@@ -19,12 +19,12 @@
filegroup(
name = "srcs",
srcs = glob(
- ["**"],
+ ["*"],
exclude = [
- "bazel-*/**", # convenience symlinks
- "out/**", # IntelliJ with setup-intellij.sh
- "output/**", # output of compile.sh
- ".*/**", # mainly git
+ "bazel-*", # convenience symlinks
+ "out", # IntelliJ with setup-intellij.sh
+ "output", # output of compile.sh
+ ".*", # mainly .git* files
],
) + [
"//examples:srcs",