aboutsummaryrefslogtreecommitdiff
path: root/pw_protobuf_compiler/toolchain
AgeCommit message (Collapse)Author
2021-04-29pw_build: Configurable Python and proto toolchainsWyatt Hepler
- 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. Requires: pigweed-internal:11680 Change-Id: I0aad049c605906b77c58b93a08efc63a648947ee Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/40763 Reviewed-by: Armando Montanez <amontanez@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com>