[roll third_party/pigweed] pw_protobuf_compiler: Support strip_import_prefix
Use ProtoInfo.proto_source_root to determine output and include paths.
Because use of strip_import_prefix makes rules_proto place files into a
directory in the output directory, and protoc will prepend the output
directory path when outputting the generated files, we want to special
case the output directory if the proto is already there.
In addition, we return a CcInfo with include path also containing the
proto_source_root so users can find the headers in the output dir.
Switch pw_rpc to using new rules since they use the strip_import_prefix
feature, so the changes are tested.
Support for nanopb is added so pw_rpc/nanopb tests can compile.
Original-Bug: b/234873954
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/153570
https://pigweed.googlesource.com/pigweed/pigweed
third_party/pigweed Rolled-Commits: 2d8ccd2d69c8552..6611fe75206887b
Roller-URL: https://ci.chromium.org/b/8776295980213567329
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Iab38e395a89d8d15cfe390dcaf1958d85d85b9f8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/154214
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/third_party/pigweed b/third_party/pigweed
index 2d8ccd2..6611fe7 160000
--- a/third_party/pigweed
+++ b/third_party/pigweed
@@ -1 +1 @@
-Subproject commit 2d8ccd2d69c85525ab1bda826160d5ddc521edc9
+Subproject commit 6611fe75206887bfffdf18b6659f02d4a9e034b2