From 3e87c626ed76536420aa06e4c258209b32bb76e0 Mon Sep 17 00:00:00 2001 From: Ulf Adams Date: Tue, 13 Jun 2017 10:53:13 +0200 Subject: Update BUILD files We're currently maintaining two sets of BUILD files; one at Google, and one in the Git repository. We'd like to not do that. This change makes some of the Bazel BUILD files more closely match their counterparts, in preparation for removing the internal ones. Closes #3094. PiperOrigin-RevId: 158820490 --- BUILD | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'BUILD') diff --git a/BUILD b/BUILD index 4680429dcc..5b7f88b7bf 100644 --- a/BUILD +++ b/BUILD @@ -1,7 +1,30 @@ +# Bazel - Google's Build System + package(default_visibility = ["//scripts/release:__pkg__"]) exports_files(["LICENSE"]) +filegroup( + name = "srcs", + srcs = glob( + ["*"], + exclude = [ + "bazel-*", # convenience symlinks + "out", # IntelliJ with setup-intellij.sh + "output", # output of compile.sh + ".*", # mainly .git* files + ], + ) + [ + "//examples:srcs", + "//scripts:srcs", + "//site:srcs", + "//src:srcs", + "//tools:srcs", + "//third_party:srcs", + ], + visibility = ["//visibility:private"], +) + filegroup( name = "git", srcs = glob([".git/**"]), @@ -29,27 +52,6 @@ filegroup( ], ) -filegroup( - name = "srcs", - srcs = glob( - ["*"], - exclude = [ - "bazel-*", # convenience symlinks - "out", # IntelliJ with setup-intellij.sh - "output", # output of compile.sh - ".*", # mainly .git* files - ], - ) + [ - "//examples:srcs", - "//scripts:srcs", - "//site:srcs", - "//src:srcs", - "//tools:srcs", - "//third_party:srcs", - ], - visibility = ["//visibility:private"], -) - filegroup( name = "bootstrap-derived-java-srcs", srcs = glob(["derived/**/*.java"]), -- cgit v1.2.3