commit | 42208d1596c0217d0e7adbb888094c976fc47b0e | [log] [tgz] |
---|---|---|
author | Matthias Guenther <mrguenther@google.com> | Tue Aug 23 17:40:06 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 23 17:40:06 2022 +0000 |
tree | eba7c613444c327cf58d6606937fc79a27a9ff41 | |
parent | 7662a938fbecc0b1360b51e95000cca39d37cd2f [diff] |
pw_protobuf_compiler: Allow nested proto packages Due to the way pw_protobuf_compiler handled Python codegen in the GN build system, it didn't allow multiple packages within the same directory tree. This meant that the entire tree of protos needed to be a single build target, substantially pessimizing the build-graph efficiency. (Prefixes could be specified in order to avoid this, but they also affected the include paths of generated files.) The Python targets are no longer restricted to a single target per directory tree, allowing compilation of nested proto packages. Change-Id: I644a6d40caad8680832fce24ce30b67ef3802bea Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107400 Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Matthias Guenther <mrguenther@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.