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

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

Issue 1549203002: Switch to standard integer types in tools/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_unittest.cc ('k') | tools/gn/command_check.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 <stddef.h>
5 #include <stdio.h> 6 #include <stdio.h>
6 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h>
7 9
8 #include <map> 10 #include <map>
9 11
10 #include "base/command_line.h" 12 #include "base/command_line.h"
11 #include "base/environment.h" 13 #include "base/environment.h"
12 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
13 #include "base/process/launch.h" 15 #include "base/process/launch.h"
14 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
18 #include "build/build_config.h"
16 #include "tools/gn/commands.h" 19 #include "tools/gn/commands.h"
17 #include "tools/gn/filesystem_utils.h" 20 #include "tools/gn/filesystem_utils.h"
18 #include "tools/gn/input_file.h" 21 #include "tools/gn/input_file.h"
19 #include "tools/gn/parse_tree.h" 22 #include "tools/gn/parse_tree.h"
20 #include "tools/gn/setup.h" 23 #include "tools/gn/setup.h"
21 #include "tools/gn/standard_out.h" 24 #include "tools/gn/standard_out.h"
22 #include "tools/gn/tokenizer.h" 25 #include "tools/gn/tokenizer.h"
23 #include "tools/gn/trace.h" 26 #include "tools/gn/trace.h"
24 27
25 #if defined(OS_WIN) 28 #if defined(OS_WIN)
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 "Or see \"gn help args\" for more variants.").PrintToStdout(); 343 "Or see \"gn help args\" for more variants.").PrintToStdout();
341 return 1; 344 return 1;
342 } 345 }
343 346
344 if (base::CommandLine::ForCurrentProcess()->HasSwitch(kSwitchList)) 347 if (base::CommandLine::ForCurrentProcess()->HasSwitch(kSwitchList))
345 return ListArgs(args[0]); 348 return ListArgs(args[0]);
346 return EditArgsFile(args[0]); 349 return EditArgsFile(args[0]);
347 } 350 }
348 351
349 } // namespace commands 352 } // namespace commands
OLDNEW
« no previous file with comments | « tools/gn/c_include_iterator_unittest.cc ('k') | tools/gn/command_check.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698