commit | 4c3bd7683d0f5b508591be8fa4406be8f32f87c3 | [log] [tgz] |
---|---|---|
author | Austin Foxley <afoxley@google.com> | Thu Jul 20 16:15:22 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 20 16:15:22 2023 +0000 |
tree | b37876c01adec169d2b7d92996e0d89a7040e2cc | |
parent | 0cecbe0263d5e46fdb66a2da72fb5324b18d8c89 [diff] |
pw_protobuf_compiler: Transition to our own proto compiler rules In order to do this, we need to add support for protos that depend on other protos. This adds the dependent proto paths to protoc invocation. However, this has a side-effect in where the output files get put. They are now always placed relative to the root, instead of next to their source .proto files. Handle this by declaring the output files based on the targets output path, and adjust include paths accordingly. Also add support for options files in external repositories and enable some tests that use .options files. Bug: b/234874064 Bug: b/234873954 Change-Id: I49acf98396652d3ba7a5b547b6f868a48def0238 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/157033 Commit-Queue: Austin Foxley <afoxley@google.com> Reviewed-by: Ted Pudlik <tpudlik@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/.