[roll third_party/pigweed] pw_protobuf_compiler: Decouple proto packaging from directory

- Allow specifying prefix and strip_prefix arguments for proto files.
  The proto directory tree is built as specified in the out directory.
- Only invoke protoc from the default toolchain. This prevents duplicate
  protoc invocations.
- Prevent duplicate pw_proto_library Python package definitions anywhere
  in the build.
- Replace implicit handling of standalone external protos with a
  python_package_as_module option.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/34640

third_party/pigweed Rolled-Commits: 89dd053917abc44..752d7d3459ac4f7
CQ-Do-Not-Cancel-Tryjobs: true
Roller-URL: https://ci.chromium.org/b/8853567551272856128
Cq-Cl-Tag: roller-builder:pigweed-experimental-roller
Cq-Cl-Tag: roller-bid:8853567551272856128
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I699081e2b4f78ae9784b2b5a59aa1f65a0dfc2d7
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/36000
Reviewed-by: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
1 file changed
tree: 95fab79d015164cae1a47532f5c21e8a0420ad57
  1. applications/
  2. build_overrides/
  3. pw_board_led/
  4. pw_board_led_arduino/
  5. pw_board_led_host/
  6. pw_board_led_stm32f429i_disc1/
  7. pw_console/
  8. pw_spin_delay/
  9. pw_spin_delay_arduino/
  10. pw_spin_delay_host/
  11. pw_spin_delay_stm32f429i_disc1/
  12. targets/
  13. third_party/
  14. tools/
  15. .gitattributes
  16. .gitignore
  17. .gitmodules
  18. .gn
  19. activate.bat
  20. banner.txt
  21. bootstrap.bat
  22. bootstrap.sh
  23. BUILD.gn
  24. BUILDCONFIG.gn
  25. navbar.md
  26. PW_PLUGINS
  27. README.md
README.md

Pigweed Experimental

This repository contains experimental pigweed modules.

Repository setup

Clone this repo with --recursive to get all required submodules.

git clone --recursive https://pigweed.googlesource.com/pigweed/experimental

This will pull the Pigweed source repository into third_party/pigweed. If you already cloned but forgot to --recursive run git submodule update --init to pull all submodules.