diff --git a/BUILD b/BUILD index 1f684e0fc..fa55c907f 100644 --- a/BUILD +++ b/BUILD @@ -11,6 +11,7 @@ filegroup( srcs = [ "WORKSPACE", "//swift:for_bazel_tests", + "//third_party:for_bazel_tests", "//tools:for_bazel_tests", ], ) diff --git a/third_party/BUILD b/third_party/BUILD index e69de29bb..cd09ba89b 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -0,0 +1,11 @@ +# Consumed by Bazel integration tests. +filegroup( + name = "for_bazel_tests", + testonly = 1, + srcs = glob(["**"]) + [ + "//third_party/bazel_protos:for_bazel_tests", + ], + visibility = [ + "//:__pkg__", + ], +) diff --git a/third_party/bazel_protos/BUILD b/third_party/bazel_protos/BUILD index 3fb0a2c80..553d41bc6 100644 --- a/third_party/bazel_protos/BUILD +++ b/third_party/bazel_protos/BUILD @@ -13,3 +13,13 @@ cc_proto_library( visibility = ["//tools/worker:__pkg__"], deps = [":worker_protocol_proto"], ) + +# Consumed by Bazel integration tests. +filegroup( + name = "for_bazel_tests", + testonly = 1, + srcs = glob(["**"]), + visibility = [ + "//third_party:__pkg__", + ], +)