OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |