aboutsummaryrefslogtreecommitdiffhomepage
path: root/nanopb.BUILD
diff options
context:
space:
mode:
authorGravatar Derek Murray <mrry@google.com>2016-06-03 13:33:40 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-06-03 14:46:50 -0700
commit6ba4995be6372d1ca5e01eae649c1d8750b65857 (patch)
tree8e54cf518008801121e4ed50c707e2ff799cc653 /nanopb.BUILD
parent89fb09e7907971a66b2d09cbca04f0c89e1b35a3 (diff)
Specializes the implementation of the gRPC Master and Worker services.
This takes previously generated code, and includes it in the repository. The main advantage of doing this is that we can specialize the deserialization routines for various protobuf types that tend to be large, and thereby avoid the problem where we brush up against the default protobuf limits. Fixes #2233. Change: 124007049
Diffstat (limited to 'nanopb.BUILD')
-rw-r--r--nanopb.BUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/nanopb.BUILD b/nanopb.BUILD
new file mode 100644
index 0000000000..fedaf1bd47
--- /dev/null
+++ b/nanopb.BUILD
@@ -0,0 +1,19 @@
+SOURCES = [
+ "pb_common.c",
+ "pb_decode.c",
+ "pb_encode.c",
+]
+
+HEADERS = [
+ "pb.h",
+ "pb_common.h",
+ "pb_decode.h",
+ "pb_encode.h",
+]
+
+cc_library(
+ name = "nanopb",
+ srcs = SOURCES,
+ hdrs = HEADERS,
+ visibility = ["//visibility:public"],
+)