[roll third_party/pigweed] pw_build: Configurable Python and proto toolchains

- Rename pw_toolchain/dummy to pw_toolchain/default to make its intended
  purpose clear. Keep pw_toolchain/dummy around for compatibility.
- Create a template that generates non-C++ toolchains. This is used for
  non-C++ tasks like Python and proto. GN parses build files differently
  in the default toolchain (all targets are instantiated), so the
  these toolchains can be used when that is not desired.
- Make pw_python_package's toolchain configurable with the
  pw_build_PYTHON_TOOLCHAIN arg.
- Make pw_proto_library's toolchain configurable with the
  pw_protobuf_compiler_TOOLCHAIN arg.

Original-Requires: pigweed-internal:11680
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/40763

third_party/pigweed Rolled-Commits: 0aeedcc16df7b61..f6f74f4a792a424
Roller-URL: https://ci.chromium.org/b/8848585521529766944
Cq-Cl-Tag: roller-builder:pigweed-experimental-roller
Cq-Cl-Tag: roller-bid:8848585521529766944
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I7f80c19650a41df0ca740d4d9e5373f0e0521553
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/42928
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: a4f246c2b82c49909f0b8db855df387033b613a6
  1. applications/
  2. build_overrides/
  3. pw_board_led/
  4. pw_board_led_arduino/
  5. pw_board_led_host/
  6. pw_board_led_stm32cubef4/
  7. pw_board_led_stm32f429i_disc1/
  8. pw_console/
  9. pw_spin_delay/
  10. pw_spin_delay_arduino/
  11. pw_spin_delay_host/
  12. pw_spin_delay_stm32cubef4/
  13. pw_spin_delay_stm32f429i_disc1/
  14. pw_sys_io_stm32cubef4/
  15. targets/
  16. third_party/
  17. tools/
  18. .gitattributes
  19. .gitignore
  20. .gitmodules
  21. .gn
  22. activate.bat
  23. banner.txt
  24. bootstrap.bat
  25. bootstrap.sh
  26. BUILD.gn
  27. BUILDCONFIG.gn
  28. env_setup.json
  29. navbar.md
  30. PW_PLUGINS
  31. 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.