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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
341 " XML file contains a list of include paths and defines. Because GN does\n" | 341 " XML file contains a list of include paths and defines. Because GN does\n" |
342 " not generate a full .cproject definition, it is not possible to\n" | 342 " not generate a full .cproject definition, it is not possible to\n" |
343 " properly define includes/defines for each file individually.\n" | 343 " properly define includes/defines for each file individually.\n" |
344 " Instead, one set of includes/defines is generated for the entire\n" | 344 " Instead, one set of includes/defines is generated for the entire\n" |
345 " project. This works fairly well but may still result in a few indexer\n" | 345 " project. This works fairly well but may still result in a few indexer\n" |
346 " issues here and there.\n" | 346 " issues here and there.\n" |
347 "\n" | 347 "\n" |
348 "Generic JSON Output\n" | 348 "Generic JSON Output\n" |
349 "\n" | 349 "\n" |
350 " Dumps target information to JSON file and optionally invokes python\n" | 350 " Dumps target information to JSON file and optionally invokes python\n" |
351 " script on generated file. \n" | 351 " script on generated file.\n" |
sdefresne
2016/08/03 20:51:22
I can split this to another CL if you want, it is
| |
352 "\n" | |
352 " See comments at the beginning of json_project_writer.cc and\n" | 353 " See comments at the beginning of json_project_writer.cc and\n" |
353 " desc_builder.cc for overview of JSON file format.\n" | 354 " desc_builder.cc for overview of JSON file format.\n" |
354 "\n" | 355 "\n" |
355 " --json-file-name=<json_file_name>\n" | 356 " --json-file-name=<json_file_name>\n" |
356 " Overrides default file name (project.json) of generated JSON file.\n" | 357 " Overrides default file name (project.json) of generated JSON file.\n" |
357 "\n" | 358 "\n" |
358 " --json-ide-script=<path_to_python_script>\n" | 359 " --json-ide-script=<path_to_python_script>\n" |
359 " Executes python script after the JSON file is generated.\n" | 360 " Executes python script after the JSON file is generated.\n" |
360 " Path can be project absolute (//), system absolute (/) or\n" | 361 " Path can be project absolute (//), system absolute (/) or\n" |
361 " relative, in which case the output directory will be base.\n" | 362 " relative, in which case the output directory will be base.\n" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
444 setup->scheduler().input_file_manager()->GetInputFileCount()) + | 445 setup->scheduler().input_file_manager()->GetInputFileCount()) + |
445 " files in " + | 446 " files in " + |
446 base::Int64ToString(elapsed_time.InMilliseconds()) + "ms\n"; | 447 base::Int64ToString(elapsed_time.InMilliseconds()) + "ms\n"; |
447 OutputString(stats); | 448 OutputString(stats); |
448 } | 449 } |
449 | 450 |
450 return 0; | 451 return 0; |
451 } | 452 } |
452 | 453 |
453 } // namespace commands | 454 } // namespace commands |
OLD | NEW |