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
20 lines
273 B
Plaintext
20 lines
273 B
Plaintext
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"],
|
|
)
|