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

Side by Side Diff: tools/gn/commands.h

Issue 1820493002: Add more documentation for GN header checking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TOOLS_GN_COMMANDS_H_ 5 #ifndef TOOLS_GN_COMMANDS_H_
6 #define TOOLS_GN_COMMANDS_H_ 6 #define TOOLS_GN_COMMANDS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // Applies any testonly and type filters specified on the command line, 169 // Applies any testonly and type filters specified on the command line,
170 // and prints the targets as specified by the --as command line flag. 170 // and prints the targets as specified by the --as command line flag.
171 // 171 //
172 // If indent is true, the results will be indented two spaces. 172 // If indent is true, the results will be indented two spaces.
173 // 173 //
174 // The vector will be modified so that only the printed targets will remain. 174 // The vector will be modified so that only the printed targets will remain.
175 void FilterAndPrintTargets(bool indent, std::vector<const Target*>* targets); 175 void FilterAndPrintTargets(bool indent, std::vector<const Target*>* targets);
176 void FilterAndPrintTargetSet(bool indent, 176 void FilterAndPrintTargetSet(bool indent,
177 const std::set<const Target*>& targets); 177 const std::set<const Target*>& targets);
178 178
179 // Extra help from command_check.cc
180 extern const char kNoGnCheck_Help[];
181
179 } // namespace commands 182 } // namespace commands
180 183
181 #endif // TOOLS_GN_COMMANDS_H_ 184 #endif // TOOLS_GN_COMMANDS_H_
OLDNEW
« no previous file with comments | « tools/gn/command_help.cc ('k') | tools/gn/docs/reference.md » ('j') | tools/gn/variables.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698