Skip to content

Commit

Permalink
Add files in third_party to :for_bazel_tests (bazelbuild#648)
Browse files Browse the repository at this point in the history
So they are copied over in integration tests in rules_apple
  • Loading branch information
segiddins authored Jun 11, 2021
1 parent cc1efaa commit 79f6cb1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ filegroup(
srcs = [
"WORKSPACE",
"//swift:for_bazel_tests",
"//third_party:for_bazel_tests",
"//tools:for_bazel_tests",
],
)
11 changes: 11 additions & 0 deletions third_party/BUILD
Original file line number Diff line number Diff line change
@@ -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__",
],
)
10 changes: 10 additions & 0 deletions third_party/bazel_protos/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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__",
],
)

0 comments on commit 79f6cb1

Please sign in to comment.