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

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

Issue 1934003002: Enhance GN's "desc" command to support configs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typos Created 4 years, 7 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
« no previous file with comments | « tools/gn/docs/reference.md ('k') | tools/gn/switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SWITCHES_H_ 5 #ifndef TOOLS_GN_SWITCHES_H_
6 #define TOOLS_GN_SWITCHES_H_ 6 #define TOOLS_GN_SWITCHES_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 extern const char kTracelog_Help[]; 77 extern const char kTracelog_Help[];
78 78
79 extern const char kVerbose[]; 79 extern const char kVerbose[];
80 extern const char kVerbose_HelpShort[]; 80 extern const char kVerbose_HelpShort[];
81 extern const char kVerbose_Help[]; 81 extern const char kVerbose_Help[];
82 82
83 extern const char kVersion[]; 83 extern const char kVersion[];
84 extern const char kVersion_HelpShort[]; 84 extern const char kVersion_HelpShort[];
85 extern const char kVersion_Help[]; 85 extern const char kVersion_Help[];
86 86
87 // This switch is used by several commands. It is here so it can be shared,
88 // but it's documented in the individual commands it applies to rather than
89 // globally.
90 extern const char kAllToolchains[];
91 #define ALL_TOOLCHAINS_SWITCH_HELP \
92 " --all-toolchains\n" \
93 " Normally only inputs in the default toolchain will be included.\n" \
94 " This switch will turn on matching all toolchains.\n" \
95 "\n" \
96 " For example, a file is in a target might be compiled twice:\n" \
97 " once in the default toolchain and once in a secondary one. Without\n" \
98 " this flag, only the default toolchain one will be matched by\n" \
99 " wildcards. With this flag, both will be matched.\n"
100
87 } // namespace switches 101 } // namespace switches
88 102
89 #endif // TOOLS_GN_SWITCHES_H_ 103 #endif // TOOLS_GN_SWITCHES_H_
OLDNEW
« no previous file with comments | « tools/gn/docs/reference.md ('k') | tools/gn/switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698