Add 'allow_empty = True' to globs that may not match anything
@@ -31,7 +31,10 @@ genrule(
filegroup(
name = "transitive_sources",
- srcs = glob(["*-src.jar"]) + ["LICENSE"] + [
+ srcs = glob(
+ ["*-src.jar"],
+ allow_empty = True,
+ ) + ["LICENSE"] + [
"//third_party:asm/asm-7.0-sources.jar",
"//third_party:asm/asm-analysis-7.0-sources.jar",
"//third_party:asm/asm-commons-7.0-sources.jar",
