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 <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // | 166 // |
167 // If indent is true, the results will be indented two spaces. | 167 // If indent is true, the results will be indented two spaces. |
168 // | 168 // |
169 // The vector will be modified so that only the printed targets will remain. | 169 // The vector will be modified so that only the printed targets will remain. |
170 void FilterAndPrintTargets(bool indent, std::vector<const Target*>* targets); | 170 void FilterAndPrintTargets(bool indent, std::vector<const Target*>* targets); |
171 void FilterAndPrintTargetSet(bool indent, | 171 void FilterAndPrintTargetSet(bool indent, |
172 const std::set<const Target*>& targets); | 172 const std::set<const Target*>& targets); |
173 | 173 |
174 } // namespace commands | 174 } // namespace commands |
175 | 175 |
176 #endif // TOOLS_GN_COMMANDS_H | 176 #endif // TOOLS_GN_COMMANDS_H_ |
OLD | NEW |