aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/test/BUILD
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2018-08-09 00:27:55 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-08-09 00:28:57 -0700
commit4ca9a22c29e95c93055e449f48db30f0f945ece9 (patch)
tree32105fc49f0cb6cc5fc33d5ae733ac41a12d5f59 /tools/test/BUILD
parent27385b1acfbecb815862762337ba1cdde7237576 (diff)
Create BUILD.tools for //tools/test package.
Motivation: as part of fixing issue #5508, I'll add a cc_binary to this package. The binary will be embedded in Bazel as a prebuilt binary (to avoid requiring a C++ compiler to use it). Therefore //tools/test/BUILD and @bazel_tools//tools/test/BUILD will contain different rules, mandating the BUILD file split. See https://github.com/bazelbuild/bazel/issues/5508 Change-Id: If21bafbc3d83d59e52de498cf3efd2b1b79fa7b6 Closes #5787. Change-Id: If21bafbc3d83d59e52de498cf3efd2b1b79fa7b6 PiperOrigin-RevId: 208005382
Diffstat (limited to 'tools/test/BUILD')
-rw-r--r--tools/test/BUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/test/BUILD b/tools/test/BUILD
index c6a8311033..59c872e8b2 100644
--- a/tools/test/BUILD
+++ b/tools/test/BUILD
@@ -37,3 +37,14 @@ filegroup(
name = "srcs",
srcs = glob(["**"]),
)
+
+filegroup(
+ name = "embedded_tools",
+ srcs = [
+ "BUILD.tools",
+ "test-setup.sh",
+ "generate-xml.sh",
+ "collect_coverage.sh",
+ ] + glob(["LcovMerger/**"]),
+ visibility = ["//tools:__pkg__"],
+)