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

Issue 2219083002: Update GN toolchain_args to be a variable. (Closed)

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

Description

Update GN toolchain_args to be a variable. This makes toolchain_args on a toolchain definition a variable instead of a function call. The function call is kept for backwards compatibility (for now) and it just sets the variable. forward_variables_from now accepts a first parameter of any type that evaluates to a scope, which allows things like "invoker.toolchain_args" to be used there. Updates "gn format" to format scope assignments without extra indents. BUG=634446 Committed: https://crrev.com/22227896dc68aa88ba1836cd53fd261ba21bef88 Cr-Commit-Position: refs/heads/master@{#410123}

Patch Set 1 #

Patch Set 2 : Merge remote-tracking branch 'origin/master' into toolchain_args #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -85 lines) Patch
M tools/gn/args.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/gn/command_format.cc View 1 chunk +22 lines, -11 lines 0 comments Download
M tools/gn/command_format_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
A tools/gn/format_test_data/067.gn View 1 chunk +8 lines, -0 lines 0 comments Download
A tools/gn/format_test_data/067.golden View 1 chunk +17 lines, -0 lines 0 comments Download
M tools/gn/function_forward_variables_from.cc View 1 chunk +17 lines, -13 lines 0 comments Download
M tools/gn/function_forward_variables_from_unittest.cc View 2 chunks +23 lines, -1 line 0 comments Download
M tools/gn/function_toolchain.cc View 1 4 chunks +53 lines, -59 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
brettw
This will make this patch possible: https://codereview.chromium.org/2219953002
4 years, 4 months ago (2016-08-05 17:10:01 UTC) #2
scottmg
lgtm
4 years, 4 months ago (2016-08-05 17:22:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2219083002/20001
4 years, 4 months ago (2016-08-05 17:39:42 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-05 19:05:52 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/22227896dc68aa88ba1836cd53fd261ba21bef88 Cr-Commit-Position: refs/heads/master@{#410123}
4 years, 4 months ago (2016-08-05 19:09:00 UTC) #13
Dirk Pranke
4 years, 4 months ago (2016-08-08 20:46:18 UTC) #15
Message was sent while issue was closed.
lgtm.

Powered by Google App Engine
This is Rietveld 408576698