aboutsummaryrefslogtreecommitdiffstats
path: root/BUILD
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@github.mail.kapsi.fi>2016-08-03 09:13:26 +0300
committerGitHub <noreply@github.com>2016-08-03 09:13:26 +0300
commit0198210f2cc349e7bc5199e8db7f4afc8208d843 (patch)
treee5d327452e25593993a4c37708dcda5c2d32b779 /BUILD
parent298d00e8d73c23b8b2537489aee4319a43968e9e (diff)
parent4e34042804959184d3a38426724e0ec38176fd0b (diff)
Merge pull request #209 from LuminateWireless/bazel-build
Add bazel BUILD file for nanopb.
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/BUILD b/BUILD
new file mode 100644
index 00000000..57098843
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,18 @@
+licenses(["notice"])
+package(default_visibility = ["//visibility:public"])
+
+cc_library(
+ name = "nanopb",
+ visibility = ["//visibility:public"],
+ hdrs = [
+ "pb.h",
+ "pb_common.h",
+ "pb_decode.h",
+ "pb_encode.h",
+ ],
+ srcs = [
+ "pb_common.c",
+ "pb_decode.c",
+ "pb_encode.c",
+ ],
+)