aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD44
1 files changed, 23 insertions, 21 deletions
diff --git a/BUILD b/BUILD
index 4680429dcc..5b7f88b7bf 100644
--- a/BUILD
+++ b/BUILD
@@ -1,8 +1,31 @@
+# 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/**"]),
)
@@ -30,27 +53,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"]),
visibility = ["//:__subpackages__"],