This updates pw_protobuf_compiler to always create a target for each
supported protobuf generator, instead of having a build arg to select
which ones to use, simplifying the use of pw_proto_library.
Change-Id: I2699c9c5045e8671a061f8c8bc11a94244d008f1
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/22721
Reviewed-by: Armando Montanez <amontanez@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
The "# gn-format disable" comments are no longer necessary. Delete these
comments and reformat with a Vim macro and gn format.
Change-Id: Ia62c40ad73eef91187d0d443d6e3b0fa723e5aa9
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/21380
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
This change adds a size report showing the memory cost of the RPC server
both by itself and with a nanopb service.
Change-Id: I5ed465888b757e706de90fc4b4a7247f2930dd3a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/18246
Commit-Queue: Alexei Frolov <frolv@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
This updates the upstream docs target to use the disco toolchain instead
of a custom one, to produce more accurate size reports for an actual
board configuration.
Change-Id: I50e6d03322273d33e34b4114d74b5bb9dc5f1c6a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/16285
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
Require targets to explicitly import pigweed variable definitions. This
moves out some necessary logic from the BUILDCONFIG.gn file.
Change-Id: If9c9fe5a680cc9d897a0e8a55889873be618ed84
Adds target docs for the `docs` and `host` builds. Also includes a few
other documentation updates.
Change-Id: Icc973d6d51707c79b7c506d89c8975023e274ef2