commit | 8a0d6754b43cdac1570b0ceb437522f0f669c08f | [log] [tgz] |
---|---|---|
author | Ian McKellar <ianloic@google.com> | Thu Jun 01 20:34:53 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 01 20:34:53 2023 +0000 |
tree | df4b103ee0dfe0ced02ce224c4755077c8024c27 | |
parent | bb379014c48861f8bb9409a79e6c4a5ae7943131 [diff] |
pw_protobuf_compiler: Allow protoc override Normally pw_protobuf_compiler uses the protobuf compiler that comes as a prebuilt from cipd. The Fuchsia build doesn't fetch pigweed's cipd prebuilts but does actually build protoc itself. This CL adds a gn two build args that allows a build to specify a target for the protoc executable: pw_protobuf_compiler_PROTOC_TARGET The GN label to build the protoc binary. pw_protobuf_compiler_PROTOC_BINARY The path, relative to root_build_dir, of the built protoc binary. Normal pw_protobuf_compiler usage is unaffected. Change-Id: Iabf1058994cc501f995a8dbf536f2ed3222fc557 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/147310 Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Ian McKellar <ianloic@google.com> Pigweed-Auto-Submit: Ian McKellar <ianloic@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/.