From 7d265e07e7a1e37f04d53342710e4f21d9ee8083 Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Fri, 1 Jul 2016 13:33:48 +0000 Subject: 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 --- third_party/nanopb/BUILD | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'third_party/nanopb') 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"]), -- cgit v1.2.3