aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 15d5460c0e..b0fe401970 100644
--- a/BUILD
+++ b/BUILD
@@ -71,3 +71,16 @@ genrule(
# Public but bazel-only visibility.
visibility = ["//:__subpackages__"],
)
+
+genrule(
+ name = "bazel-distfile-tar",
+ srcs = [
+ ":bazel-srcs",
+ "//src:derived_java_srcs",
+ ],
+ outs = ["bazel-distfile.tar"],
+ cmd = "env USE_TAR=YES $(location :combine_distfiles.sh) $@ $(SRCS)",
+ tools = ["combine_distfiles.sh"],
+ # Public but bazel-only visibility.
+ visibility = ["//:__subpackages__"],
+)