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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/docs/reference.md ('k') | tools/gn/switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/switches.h
diff --git a/tools/gn/switches.h b/tools/gn/switches.h
index cebb19c98e1a2205abab598a396c792c969fa0fd..b86bf330569cf8b183503d32f70a366363dd4746 100644
--- a/tools/gn/switches.h
+++ b/tools/gn/switches.h
@@ -84,6 +84,20 @@ extern const char kVersion[];
extern const char kVersion_HelpShort[];
extern const char kVersion_Help[];
+// This switch is used by several commands. It is here so it can be shared,
+// but it's documented in the individual commands it applies to rather than
+// globally.
+extern const char kAllToolchains[];
+#define ALL_TOOLCHAINS_SWITCH_HELP \
+ " --all-toolchains\n" \
+ " Normally only inputs in the default toolchain will be included.\n" \
+ " This switch will turn on matching all toolchains.\n" \
+ "\n" \
+ " For example, a file is in a target might be compiled twice:\n" \
+ " once in the default toolchain and once in a secondary one. Without\n" \
+ " this flag, only the default toolchain one will be matched by\n" \
+ " wildcards. With this flag, both will be matched.\n"
+
} // namespace switches
#endif // TOOLS_GN_SWITCHES_H_
« 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