aboutsummaryrefslogtreecommitdiff
path: root/pw_module
diff options
context:
space:
mode:
authorAlexei Frolov <frolv@google.com>2019-12-11 17:07:28 -0800
committerCQ Bot Account <commit-bot@chromium.org>2019-12-13 19:38:27 +0000
commit942adf02d6c1a34edcc8c6e8e1dfdc2752e6fe56 (patch)
treeafef12a81d1c53de4002851d21f72ee1580f6fe7 /pw_module
parent76b0545a940b62d71cf761f446354d1ea8a0c652 (diff)
downloadpigweed-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.rst4
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/...