commit | 74bc3cad816843c937e6faef722682ef321aded2 | [log] [tgz] |
---|---|---|
author | Carlos Chinchilla <cachinchilla@google.com> | Mon Jul 22 18:12:43 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 22 18:12:43 2024 +0000 |
tree | a04f705d574c7afe36651a8dc6c2713b42a8c56c | |
parent | dd2720f7c2a5222392035697d424bd835daa4cbe [diff] |
pw_rpc: Build proto path arg list for Soong For every .proto file in the Soong genrule to build a nanopb proto, add its parent's parent's directory as a --proto-path argument to the protobuf compiler. This allows genrules to have protos from different sources. The requirement is that all sources to the same genrule are prefixed once. Test: Compiled prefixed proto with prefixed dependencies. Passes presubmits in Android main. Change-Id: Iaaac640c336340d9f698827f6f26085978ebc59c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/225031 Commit-Queue: Carlos Chinchilla <cachinchilla@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Reviewed-by: Matt Stokes <matthewbstokes@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/.