Commit Graph

2 Commits

Author SHA1 Message Date
Alexei Frolov
bbf164c985 Add pw_protobuf module
This change adds a pw_protobuf module containing a lightweight protobuf
wire format encoder. The encoder comes with a Python script that plugs
into protoc to generate C++ classes from Protobuf files that wrap its
functionality.

Bug: 20

Change-Id: I867655ab64c2f6ddd2a731054b1fbe7ccc97ba70
2019-12-18 21:29:17 +00:00
Alexei Frolov
942adf02d6 Add pw_protobuf_compiler module
This change adds a module responsible for invoking the protobuf compiler
to generate code from .proto definition files. It provides a GN template
which performs the codegen operation on a list of input .proto files.
The template currently only supports C++.

Change-Id: I5558fd5b4282e0d6f09f8fafebda972738dc1e83
2019-12-13 19:38:27 +00:00