aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/nanopb.BUILD
diff options
context:
space:
mode:
authorGravatar Yifei Feng <fengyifei2026@gmail.com>2017-11-10 09:18:07 -0800
committerGravatar GitHub <noreply@github.com>2017-11-10 09:18:07 -0800
commit047d7965d2877d7b55f4cdb0d0abdcd733f266a9 (patch)
tree972fe8a62af0ca29d615158772bdc57b3974e46e /third_party/nanopb.BUILD
parente951547c9ba5f883f3be9bd9b1a79ccc85b29629 (diff)
parent8cf98b7d0e9118dc45f06a5fed9bfc62b2a86c44 (diff)
Merge pull request #14453 from yifeif/branch_175277161
Branch 175277161
Diffstat (limited to 'third_party/nanopb.BUILD')
-rw-r--r--third_party/nanopb.BUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/nanopb.BUILD b/third_party/nanopb.BUILD
new file mode 100644
index 0000000000..d21866911b
--- /dev/null
+++ b/third_party/nanopb.BUILD
@@ -0,0 +1,23 @@
+# Description:
+# Nanopb, a tiny ANSI C protobuf implementation for use on embedded devices.
+
+licenses(["notice"]) # zlib license
+
+exports_files(["LICENSE.txt"])
+
+cc_library(
+ name = "nanopb",
+ srcs = [
+ "pb_common.c",
+ "pb_decode.c",
+ "pb_encode.c",
+ ],
+ hdrs = [
+ "pb.h",
+ "pb_common.h",
+ "pb_decode.h",
+ "pb_encode.h",
+ ],
+ includes = ["."],
+ visibility = ["//visibility:public"],
+)