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

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

Issue 895433002: gn: Use the term 'out_dir' consistently when referring to the output directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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 "base/atomicops.h" 5 #include "base/atomicops.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/timer/elapsed_timer.h" 9 #include "base/timer/elapsed_timer.h"
10 #include "tools/gn/build_settings.h" 10 #include "tools/gn/build_settings.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 45
46 } // namespace 46 } // namespace
47 47
48 const char kGen[] = "gen"; 48 const char kGen[] = "gen";
49 const char kGen_HelpShort[] = 49 const char kGen_HelpShort[] =
50 "gen: Generate ninja files."; 50 "gen: Generate ninja files.";
51 const char kGen_Help[] = 51 const char kGen_Help[] =
52 "gn gen: Generate ninja files.\n" 52 "gn gen: Generate ninja files.\n"
53 "\n" 53 "\n"
54 " gn gen <output_directory>\n" 54 " gn gen <out_dir>\n"
55 "\n" 55 "\n"
56 " Generates ninja files from the current tree and puts them in the given\n" 56 " Generates ninja files from the current tree and puts them in the given\n"
57 " output directory.\n" 57 " output directory.\n"
58 "\n" 58 "\n"
59 " The output directory can be a source-repo-absolute path name such as:\n" 59 " The output directory can be a source-repo-absolute path name such as:\n"
60 " //out/foo\n" 60 " //out/foo\n"
61 " Or it can be a directory relative to the current directory such as:\n" 61 " Or it can be a directory relative to the current directory such as:\n"
62 " out/foo\n" 62 " out/foo\n"
63 "\n" 63 "\n"
64 " See \"gn help\" for the common command-line switches.\n"; 64 " See \"gn help\" for the common command-line switches.\n";
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 setup->scheduler().input_file_manager()->GetInputFileCount()) + 113 setup->scheduler().input_file_manager()->GetInputFileCount()) +
114 " files in " + 114 " files in " +
115 base::Int64ToString(elapsed_time.InMilliseconds()) + "ms\n"; 115 base::Int64ToString(elapsed_time.InMilliseconds()) + "ms\n";
116 OutputString(stats); 116 OutputString(stats);
117 } 117 }
118 118
119 return 0; 119 return 0;
120 } 120 }
121 121
122 } // namespace commands 122 } // namespace commands
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698