Chromium Code Reviews| 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 "tools/gn/setup.h" | 5 #include "tools/gn/setup.h" |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <sstream> | 10 #include <sstream> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 59 " the build file execution environment for each toolchain.\n" | 59 " the build file execution environment for each toolchain.\n" |
| 60 "\n" | 60 "\n" |
| 61 " root [optional]\n" | 61 " root [optional]\n" |
| 62 " Label of the root build target. The GN build will start by loading\n" | 62 " Label of the root build target. The GN build will start by loading\n" |
| 63 " the build file containing this target name. This defaults to\n" | 63 " the build file containing this target name. This defaults to\n" |
| 64 " \"//:\" which will cause the file //BUILD.gn to be loaded.\n" | 64 " \"//:\" which will cause the file //BUILD.gn to be loaded.\n" |
| 65 "\n" | 65 "\n" |
| 66 " secondary_source [optional]\n" | 66 " secondary_source [optional]\n" |
| 67 " Label of an alternate directory tree to find input files. When\n" | 67 " Label of an alternate directory tree to find input files. When\n" |
| 68 " searching for a BUILD.gn file (or the build config file discussed\n" | 68 " searching for a BUILD.gn file (or the build config file discussed\n" |
| 69 " above), the file fill first be looked for in the source root.\n" | 69 " above), the file will first be looked for in the source root.\n" |
|
tfarina
2014/09/18 17:13:06
looks right to me.
| |
| 70 " If it's not found, the secondary source root will be checked\n" | 70 " If it's not found, the secondary source root will be checked\n" |
| 71 " (which would contain a parallel directory hierarchy).\n" | 71 " (which would contain a parallel directory hierarchy).\n" |
| 72 "\n" | 72 "\n" |
| 73 " This behavior is intended to be used when BUILD.gn files can't be\n" | 73 " This behavior is intended to be used when BUILD.gn files can't be\n" |
| 74 " checked in to certain source directories for whatever reason.\n" | 74 " checked in to certain source directories for whatever reason.\n" |
| 75 "\n" | 75 "\n" |
| 76 " The secondary source root must be inside the main source tree.\n" | 76 " The secondary source root must be inside the main source tree.\n" |
| 77 "\n" | 77 "\n" |
| 78 "Example .gn file contents\n" | 78 "Example .gn file contents\n" |
| 79 "\n" | 79 "\n" |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 607 } | 607 } |
| 608 | 608 |
| 609 void DependentSetup::RunPreMessageLoop() { | 609 void DependentSetup::RunPreMessageLoop() { |
| 610 CommonSetup::RunPreMessageLoop(); | 610 CommonSetup::RunPreMessageLoop(); |
| 611 } | 611 } |
| 612 | 612 |
| 613 bool DependentSetup::RunPostMessageLoop() { | 613 bool DependentSetup::RunPostMessageLoop() { |
| 614 return CommonSetup::RunPostMessageLoop(); | 614 return CommonSetup::RunPostMessageLoop(); |
| 615 } | 615 } |
| 616 | 616 |
| OLD | NEW |