Makes declared_arguments per toolchain
This means each toolchain can declare arguments as it sees fit. Prior to this change each toolchain needed to declare the argument at exactly the same place, which is not always possible. For example, the following triggered an error: declare_args() { foo = 1 if (xxx) { foo = 2 } with xxx being specific to one toolchain. TEST=covered by test BUG=465029 R=brettw@chromium.org Review URL: https://codereview.chromium.org/984353002 Cr-Commit-Position: refs/heads/master@{#320753}
Showing
tools/gn/args_unittest.cc
0 → 100644
Please register or sign in to comment