OLD | NEW |
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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 23 matching lines...) Expand all Loading... |
34 extern const char kDesc[]; | 34 extern const char kDesc[]; |
35 extern const char kDesc_HelpShort[]; | 35 extern const char kDesc_HelpShort[]; |
36 extern const char kDesc_Help[]; | 36 extern const char kDesc_Help[]; |
37 int RunDesc(const std::vector<std::string>& args); | 37 int RunDesc(const std::vector<std::string>& args); |
38 | 38 |
39 extern const char kGen[]; | 39 extern const char kGen[]; |
40 extern const char kGen_HelpShort[]; | 40 extern const char kGen_HelpShort[]; |
41 extern const char kGen_Help[]; | 41 extern const char kGen_Help[]; |
42 int RunGen(const std::vector<std::string>& args); | 42 int RunGen(const std::vector<std::string>& args); |
43 | 43 |
| 44 extern const char kFormat[]; |
| 45 extern const char kFormat_HelpShort[]; |
| 46 extern const char kFormat_Help[]; |
| 47 int RunFormat(const std::vector<std::string>& args); |
| 48 |
44 extern const char kHelp[]; | 49 extern const char kHelp[]; |
45 extern const char kHelp_HelpShort[]; | 50 extern const char kHelp_HelpShort[]; |
46 extern const char kHelp_Help[]; | 51 extern const char kHelp_Help[]; |
47 int RunHelp(const std::vector<std::string>& args); | 52 int RunHelp(const std::vector<std::string>& args); |
48 | 53 |
49 extern const char kLs[]; | 54 extern const char kLs[]; |
50 extern const char kLs_HelpShort[]; | 55 extern const char kLs_HelpShort[]; |
51 extern const char kLs_Help[]; | 56 extern const char kLs_Help[]; |
52 int RunLs(const std::vector<std::string>& args); | 57 int RunLs(const std::vector<std::string>& args); |
53 | 58 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // On success, returns true. If the check fails, the error(s) will be printed | 110 // On success, returns true. If the check fails, the error(s) will be printed |
106 // to stdout and false will be returned. | 111 // to stdout and false will be returned. |
107 bool CheckPublicHeaders(const BuildSettings* build_settings, | 112 bool CheckPublicHeaders(const BuildSettings* build_settings, |
108 const std::vector<const Target*>& all_targets, | 113 const std::vector<const Target*>& all_targets, |
109 const std::vector<const Target*>& to_check, | 114 const std::vector<const Target*>& to_check, |
110 bool force_check); | 115 bool force_check); |
111 | 116 |
112 } // namespace commands | 117 } // namespace commands |
113 | 118 |
114 #endif // TOOLS_GN_COMMANDS_H_ | 119 #endif // TOOLS_GN_COMMANDS_H_ |
OLD | NEW |