[roll third_party/pigweed] 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.
Original-Bug: b/234874064
Original-Bug: b/234873954
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/157033
https://pigweed.googlesource.com/pigweed/pigweed
third_party/pigweed Rolled-Commits: 0cecbe0263d5e46..4c3bd7683d0f5b5
Roller-URL: https://ci.chromium.org/b/8775036850524263329
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Ie912e6bbf2a26f2f6e35d844d9fc0a69d2979784
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/157450
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/third_party/pigweed b/third_party/pigweed
index 0cecbe0..4c3bd76 160000
--- a/third_party/pigweed
+++ b/third_party/pigweed
@@ -1 +1 @@
-Subproject commit 0cecbe0263d5e46fdb66a2da72fb5324b18d8c89
+Subproject commit 4c3bd7683d0f5b508591be8fa4406be8f32f87c3