aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-07-01 13:33:48 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-07-01 13:36:48 +0000
commit7d265e07e7a1e37f04d53342710e4f21d9ee8083 (patch)
treed84b71d801ab8065f9f4f5b94972643c4c26b580 /third_party
parentfdb5a8c06985d78c55981a981a72bd4f0766ddb8 (diff)
Add all the sources to //:srcs filegroup and add a check to detect
missing file to it. We need to activate this check on presubmits -- Change-Id: Ia95e92d3816ce92bb69bc0e2cf56e9c60b68d970 Reviewed-on: https://bazel-review.googlesource.com/#/c/3949/ MOS_MIGRATED_REVID=126404792
Diffstat (limited to 'third_party')
-rw-r--r--third_party/BUILD1
-rw-r--r--third_party/java/jdk/langtools/BUILD5
-rw-r--r--third_party/nanopb/BUILD6
3 files changed, 12 insertions, 0 deletions
diff --git a/third_party/BUILD b/third_party/BUILD
index 750c5ce817..44470af7e8 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -25,6 +25,7 @@ filegroup(
"//third_party/py/mock:srcs",
"//third_party/py/six:srcs",
"//third_party/zlib:srcs",
+ "//third_party/nanopb:srcs",
],
)
diff --git a/third_party/java/jdk/langtools/BUILD b/third_party/java/jdk/langtools/BUILD
index e87fa27c1d..5692999306 100644
--- a/third_party/java/jdk/langtools/BUILD
+++ b/third_party/java/jdk/langtools/BUILD
@@ -4,6 +4,11 @@ licenses(["restricted"]) # GNU GPL v2 with Classpath exception
filegroup(
name = "srcs",
+ srcs = glob(["**"]),
+)
+
+filegroup(
+ name = "test-srcs",
srcs = select({
"//tools/jdk:jdk7": [
"BUILD",
diff --git a/third_party/nanopb/BUILD b/third_party/nanopb/BUILD
index 49f8257be3..e0d16b6049 100644
--- a/third_party/nanopb/BUILD
+++ b/third_party/nanopb/BUILD
@@ -1,5 +1,11 @@
licenses(["unencumbered"])
+filegroup(
+ name = "srcs",
+ srcs = glob(["**"]),
+ visibility = ["//third_party:__pkg__"],
+)
+
cc_library(
name = "nanopb",
srcs = glob(["*.c"]),