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 "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/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "base/timer/elapsed_timer.h" | 10 #include "base/timer/elapsed_timer.h" |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 " --root-target=<target_name>\n" | 286 " --root-target=<target_name>\n" |
287 " Name of the target corresponding to \"All\" target in Xcode.\n" | 287 " Name of the target corresponding to \"All\" target in Xcode.\n" |
288 " If unset, \"All\" invokes ninja without any target\n" | 288 " If unset, \"All\" invokes ninja without any target\n" |
289 " and builds everything.\n" | 289 " and builds everything.\n" |
290 "\n" | 290 "\n" |
291 "QtCreator Flags\n" | 291 "QtCreator Flags\n" |
292 "\n" | 292 "\n" |
293 " --root-target=<target_name>\n" | 293 " --root-target=<target_name>\n" |
294 " Name of the root target for which the QtCreator project will be\n" | 294 " Name of the root target for which the QtCreator project will be\n" |
295 " generated to contain files of it and its dependencies. If unset, \n" | 295 " generated to contain files of it and its dependencies. If unset, \n" |
296 " the whole build graph will be omitted.\n" | 296 " the whole build graph will be emitted.\n" |
297 "\n" | 297 "\n" |
298 "\n" | 298 "\n" |
299 "Eclipse IDE Support\n" | 299 "Eclipse IDE Support\n" |
300 "\n" | 300 "\n" |
301 " GN DOES NOT generate Eclipse CDT projects. Instead, it generates a\n" | 301 " GN DOES NOT generate Eclipse CDT projects. Instead, it generates a\n" |
302 " settings file which can be imported into an Eclipse CDT project. The\n" | 302 " settings file which can be imported into an Eclipse CDT project. The\n" |
303 " XML file contains a list of include paths and defines. Because GN does\n" | 303 " XML file contains a list of include paths and defines. Because GN does\n" |
304 " not generate a full .cproject definition, it is not possible to\n" | 304 " not generate a full .cproject definition, it is not possible to\n" |
305 " properly define includes/defines for each file individually.\n" | 305 " properly define includes/defines for each file individually.\n" |
306 " Instead, one set of includes/defines is generated for the entire\n" | 306 " Instead, one set of includes/defines is generated for the entire\n" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 setup->scheduler().input_file_manager()->GetInputFileCount()) + | 374 setup->scheduler().input_file_manager()->GetInputFileCount()) + |
375 " files in " + | 375 " files in " + |
376 base::Int64ToString(elapsed_time.InMilliseconds()) + "ms\n"; | 376 base::Int64ToString(elapsed_time.InMilliseconds()) + "ms\n"; |
377 OutputString(stats); | 377 OutputString(stats); |
378 } | 378 } |
379 | 379 |
380 return 0; | 380 return 0; |
381 } | 381 } |
382 | 382 |
383 } // namespace commands | 383 } // namespace commands |
OLD | NEW |