DescriptionGN: Fix use of current_cpu in //build/toolchain/win
Using current_cpu and current_os as names for template parameters is
confusing and is inconsistent with the other toolchain-defining
templates. Name them toolchain_cpu and toolchain_os for consistency
with the other implementations. This makes it more obvious that
testing invoker.toolchain_cpu inside a definition is the proper thing
to do. The old code's test of current_cpu was wrong (see
crbug.com/566241) and could have been fixed with invoker.current_cpu,
but avoiding the current_cpu name makes things clearer.
BUG=566241
BUG=512869
R=dpranke@chromium.org, scottmg@chromium.org
Committed: https://crrev.com/550ceee0b5f8b825ebf93a5f977c6d57b9a10be6
Cr-Commit-Position: refs/heads/master@{#363571}
Patch Set 1 #
Messages
Total messages: 14 (6 generated)
|