Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Issue 1499933004: GN: Fix use of current_cpu in //build/toolchain/win (Closed)

Created:
5 years ago by Roland McGrath
Modified:
5 years ago
Reviewers:
Dirk Pranke, scottmg
CC:
chromium-reviews, scottmg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -15 lines) Patch
M build/toolchain/win/BUILD.gn View 7 chunks +17 lines, -15 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Roland McGrath
5 years ago (2015-12-05 00:51:28 UTC) #1
scottmg
I defer to Dirk, since I barely grasped the last current_cpu CL.
5 years ago (2015-12-05 01:12:41 UTC) #2
Roland McGrath
On 2015/12/05 01:12:41, scottmg wrote: > I defer to Dirk, since I barely grasped the ...
5 years ago (2015-12-05 01:20:51 UTC) #5
scottmg
lgtm
5 years ago (2015-12-05 01:29:34 UTC) #7
Dirk Pranke
lgtm
5 years ago (2015-12-07 05:19:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1499933004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1499933004/1
5 years ago (2015-12-07 19:29:59 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-07 20:51:12 UTC) #12
commit-bot: I haz the power
5 years ago (2015-12-07 20:51:50 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/550ceee0b5f8b825ebf93a5f977c6d57b9a10be6
Cr-Commit-Position: refs/heads/master@{#363571}

Powered by Google App Engine
This is Rietveld 408576698