gn /
gn /
5305da6bdca1ef3d05b3160bb594c9252bdb273b 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
Review-Url: https://codereview.chromium.org/2219083002
Cr-Original-Commit-Position: refs/heads/master@{#410123}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 22227896dc68aa88ba1836cd53fd261ba21bef88
8 files changed
tree: b0f0314432e0a3fcc6d51dfc2a9273278da0fddf
- tools/