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 #include "tools/gn/commands.h" |
| 6 |
5 #include "base/command_line.h" | 7 #include "base/command_line.h" |
6 #include "tools/gn/builder.h" | 8 #include "tools/gn/builder.h" |
7 #include "tools/gn/commands.h" | |
8 #include "tools/gn/filesystem_utils.h" | 9 #include "tools/gn/filesystem_utils.h" |
9 #include "tools/gn/item.h" | 10 #include "tools/gn/item.h" |
10 #include "tools/gn/label.h" | 11 #include "tools/gn/label.h" |
11 #include "tools/gn/label_pattern.h" | 12 #include "tools/gn/label_pattern.h" |
12 #include "tools/gn/setup.h" | 13 #include "tools/gn/setup.h" |
13 #include "tools/gn/standard_out.h" | 14 #include "tools/gn/standard_out.h" |
14 #include "tools/gn/target.h" | 15 #include "tools/gn/target.h" |
15 | 16 |
16 namespace commands { | 17 namespace commands { |
17 | 18 |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 } | 478 } |
478 } | 479 } |
479 | 480 |
480 void FilterAndPrintTargetSet(bool indent, | 481 void FilterAndPrintTargetSet(bool indent, |
481 const std::set<const Target*>& targets) { | 482 const std::set<const Target*>& targets) { |
482 std::vector<const Target*> target_vector(targets.begin(), targets.end()); | 483 std::vector<const Target*> target_vector(targets.begin(), targets.end()); |
483 FilterAndPrintTargets(indent, &target_vector); | 484 FilterAndPrintTargets(indent, &target_vector); |
484 } | 485 } |
485 | 486 |
486 } // namespace commands | 487 } // namespace commands |
OLD | NEW |