commit | f6f74f4a792a424d3bebc9287af0ac75dd0bdb40 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue Apr 13 19:26:20 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 29 20:30:56 2021 +0000 |
tree | 0a12c34dd6d3c0bb376107668ad39213ae641bbb | |
parent | 0aeedcc16df7b61bc09f33b6885d112cf9430c35 [diff] |
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. 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>
See our website: http://pigweed.dev