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

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

Issue 560883003: Cleanup: Use base/files/file_util.h instead of base/file_util.h in [r-t]*/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/build_settings.cc ('k') | tools/gn/filesystem_utils.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 <stdio.h> 5 #include <stdio.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/environment.h" 11 #include "base/environment.h"
12 #include "base/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/process/launch.h" 13 #include "base/process/launch.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "tools/gn/commands.h" 16 #include "tools/gn/commands.h"
17 #include "tools/gn/filesystem_utils.h" 17 #include "tools/gn/filesystem_utils.h"
18 #include "tools/gn/input_file.h" 18 #include "tools/gn/input_file.h"
19 #include "tools/gn/parse_tree.h" 19 #include "tools/gn/parse_tree.h"
20 #include "tools/gn/setup.h" 20 #include "tools/gn/setup.h"
21 #include "tools/gn/standard_out.h" 21 #include "tools/gn/standard_out.h"
22 #include "tools/gn/tokenizer.h" 22 #include "tools/gn/tokenizer.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 "Or see \"gn help args\" for more variants.").PrintToStdout(); 338 "Or see \"gn help args\" for more variants.").PrintToStdout();
339 return 1; 339 return 1;
340 } 340 }
341 341
342 if (base::CommandLine::ForCurrentProcess()->HasSwitch(kSwitchList)) 342 if (base::CommandLine::ForCurrentProcess()->HasSwitch(kSwitchList))
343 return ListArgs(args[0]); 343 return ListArgs(args[0]);
344 return EditArgsFile(args[0]); 344 return EditArgsFile(args[0]);
345 } 345 }
346 346
347 } // namespace commands 347 } // namespace commands
OLDNEW
« no previous file with comments | « tools/gn/build_settings.cc ('k') | tools/gn/filesystem_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698