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 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 " the build file execution environment for each toolchain.\n" | 51 " the build file execution environment for each toolchain.\n" |
52 "\n" | 52 "\n" |
53 " secondary_source [optional]\n" | 53 " secondary_source [optional]\n" |
54 " Label of an alternate directory tree to find input files. When\n" | 54 " Label of an alternate directory tree to find input files. When\n" |
55 " searching for a BUILD.gn file (or the build config file discussed\n" | 55 " searching for a BUILD.gn file (or the build config file discussed\n" |
56 " above), the file fill first be looked for in the source root.\n" | 56 " above), the file fill first be looked for in the source root.\n" |
57 " If it's not found, the secondary source root will be checked\n" | 57 " If it's not found, the secondary source root will be checked\n" |
58 " (which would contain a parallel directory hierarchy).\n" | 58 " (which would contain a parallel directory hierarchy).\n" |
59 "\n" | 59 "\n" |
60 " This behavior is intended to be used when BUILD.gn files can't be\n" | 60 " This behavior is intended to be used when BUILD.gn files can't be\n" |
61 " checked in to certain source directories for whaever reason.\n" | 61 " checked in to certain source directories for whatever reason.\n" |
62 "\n" | 62 "\n" |
63 " The secondary source root must be inside the main source tree.\n" | 63 " The secondary source root must be inside the main source tree.\n" |
64 "\n" | 64 "\n" |
65 "Example .gn file contents\n" | 65 "Example .gn file contents\n" |
66 "\n" | 66 "\n" |
67 " buildconfig = \"//build/config/BUILDCONFIG.gn\"\n" | 67 " buildconfig = \"//build/config/BUILDCONFIG.gn\"\n" |
68 "\n" | 68 "\n" |
69 " secondary_source = \"//build/config/temporary_buildfiles/\"\n"; | 69 " secondary_source = \"//build/config/temporary_buildfiles/\"\n"; |
70 | 70 |
71 namespace { | 71 namespace { |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 } | 426 } |
427 | 427 |
428 void DependentSetup::RunPreMessageLoop() { | 428 void DependentSetup::RunPreMessageLoop() { |
429 CommonSetup::RunPreMessageLoop(); | 429 CommonSetup::RunPreMessageLoop(); |
430 } | 430 } |
431 | 431 |
432 bool DependentSetup::RunPostMessageLoop() { | 432 bool DependentSetup::RunPostMessageLoop() { |
433 return CommonSetup::RunPostMessageLoop(); | 433 return CommonSetup::RunPostMessageLoop(); |
434 } | 434 } |
435 | 435 |
OLD | NEW |