gn /
gn /
8d965a5e8a25b3a828264991207782e67faa5c26 GN: Don't define argument overrides globally
Previously, argument overrides (set via "gn args" or toolchain_args()) were
global, even though their default values (set inside declare_args()) were set
locally and thus only available to the file that set them, plus any file that
imported it.
Now, argument overrides are always applied locally, at the end of the
declare_args() block. This ensures that argument defaults and overrides
behave in the same way.
BUG=619963
Review-Url: https://codereview.chromium.org/2092623002
Cr-Original-Commit-Position: refs/heads/master@{#404746}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5662a8082448584fd3d77f0dba03759b2163e8e5
3 files changed
tree: 02906c88529dc026d9e6ab36a49829501056b0e0
- tools/