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

Side by Side Diff: tools/gn/commands.cc

Issue 964203002: tools/gn: Fix errors found by Facebook's flint tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromium-style plugin errors Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « tools/gn/c_include_iterator.h ('k') | tools/gn/config_values_extractors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « tools/gn/c_include_iterator.h ('k') | tools/gn/config_values_extractors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698