diff options
author | Alexei Frolov <frolv@google.com> | 2019-12-11 17:07:28 -0800 |
---|---|---|
committer | CQ Bot Account <commit-bot@chromium.org> | 2019-12-13 19:38:27 +0000 |
commit | 942adf02d6c1a34edcc8c6e8e1dfdc2752e6fe56 (patch) | |
tree | afef12a81d1c53de4002851d21f72ee1580f6fe7 /pw_module | |
parent | 76b0545a940b62d71cf761f446354d1ea8a0c652 (diff) | |
download | pigweed-942adf02d6c1a34edcc8c6e8e1dfdc2752e6fe56.tar.gz |
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
Diffstat (limited to 'pw_module')
-rw-r--r-- | pw_module/docs.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pw_module/docs.rst b/pw_module/docs.rst index 1821b9da1..a5084df75 100644 --- a/pw_module/docs.rst +++ b/pw_module/docs.rst @@ -91,6 +91,10 @@ tl;dr example module structure size_report/use_case_a.cc size_report/use_case_b.cc + # Protobuf definition files go into <module>_protos/... + pw_foo_protos/foo.proto + pw_foo_protos/internal/zap.proto + # Other directories are fine, but should be private. data/... graphics/... |