Be explicit with empty globs (#9890)

There are empty globs that prevent to use com_google_protobuf with
--incompatible_disallow_empty_glob

Introduced in https://github.com/bazelbuild/bazel/issues/8195
pull/9896/head
FaBrand 3 years ago committed by GitHub
parent 7d48c4accd
commit cd4a8156fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      BUILD

@ -801,8 +801,10 @@ cc_test(
"src/google/protobuf/**/*",
# Files for csharp_bootstrap_unittest.cc.
"conformance/**/*",
]) + glob([
# Files for csharp_bootstrap_unittest.cc.
"csharp/src/**/*",
]),
], allow_empty=True),
includes = [
"src/",
],
@ -1493,7 +1495,7 @@ pkg_files(
"missing",
"protobuf*.pc.in",
"test-driver",
]) + [
], allow_empty = True) + [
"BUILD",
"CHANGES.txt",
"CMakeLists.txt",

Loading…
Cancel
Save