From 83844e1f2612fccfbaad0ea7f5a80969ccad7cc7 Mon Sep 17 00:00:00 2001 From: Xavier Bonaventura Date: Wed, 24 Aug 2022 22:02:03 +0200 Subject: [PATCH] Be explicit about alowing empty globs There are several globs that are empty and this prevents building with the incompatible flag #8195. This commit just makes it explicit that empty is allowed. --- tools/build_defs/pkg/BUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/build_defs/pkg/BUILD b/tools/build_defs/pkg/BUILD index 31851d7b96ad46..546cc4b9be1ec1 100644 --- a/tools/build_defs/pkg/BUILD +++ b/tools/build_defs/pkg/BUILD @@ -31,7 +31,10 @@ py_library( filegroup( name = "archive_testdata", - srcs = glob(["testdata/**"]), + srcs = glob( + ["testdata/**"], + allow_empty = True, + ), ) py_test(