diff options
author | brettw <brettw@chromium.org> | 2014-11-27 10:36:17 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-27 18:36:43 +0000 |
commit | 2bafab419155e4a573c61befe6a5fd4c08a31dbd (patch) | |
tree | cbfe0c115585e7b256f53a4165968007289e606f /tools/gn/variables.cc | |
parent | 82c013ce0d745c92605dcfd97f4b019d4d46cc18 (diff) | |
download | chromium_src-2bafab419155e4a573c61befe6a5fd4c08a31dbd.zip chromium_src-2bafab419155e4a573c61befe6a5fd4c08a31dbd.tar.gz chromium_src-2bafab419155e4a573c61befe6a5fd4c08a31dbd.tar.bz2 |
Add filters for "gn check"
GN's check command will now read a list of filters from the .gn file. This
allows us to specify a subset of the targets to check so we can incrementally
fix issues while maintaining proper dependencies on good areas.
Adds checking for unused variables in the .gn file to catch misspellings.
Review URL: https://codereview.chromium.org/765633002
Cr-Commit-Position: refs/heads/master@{#306015}
Diffstat (limited to 'tools/gn/variables.cc')
-rw-r--r-- | tools/gn/variables.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc index e248902..102d6511 100644 --- a/tools/gn/variables.cc +++ b/tools/gn/variables.cc @@ -948,7 +948,7 @@ const char kVisibility_Help[] = " visibility = [ \"//bar:*\" ]\n" "\n" " Any target in \"//bar/\" or any subdirectory thereof:\n" - " visibility = [ \"//bar/*\"\n ]" + " visibility = [ \"//bar/*\" ]\n" "\n" " Just these specific targets:\n" " visibility = [ \":mything\", \"//foo:something_else\" ]\n" |