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 # This is the root build file for GN. GN will start processing by loading this | 5 # This is the root build file for GN. GN will start processing by loading this |
6 # file, and recursively load all dependencies until all dependencies are either | 6 # file, and recursively load all dependencies until all dependencies are either |
7 # resolved or known not to exist (which will cause the build to fail). So if | 7 # resolved or known not to exist (which will cause the build to fail). So if |
8 # you add a new build file, there must be some path of dependencies from this | 8 # you add a new build file, there must be some path of dependencies from this |
9 # file to your new one or GN won't know about it. | 9 # file to your new one or GN won't know about it. |
10 | 10 |
11 import("//build/config/ui.gni") | 11 import("//build/config/ui.gni") |
12 | 12 |
13 # In GN, a "group" is a dummy target that just lists other targets. | 13 # In GN, a "group" is a dummy target that just lists other targets. |
14 group("root") { | 14 group("root") { |
| 15 # This should not be linked into production and depends on test targets. |
| 16 testonly = true |
| 17 |
15 # Note that some dependencies are commented out. These are things that are | 18 # Note that some dependencies are commented out. These are things that are |
16 # currently written but not hooked up to the build yet. They may need to be | 19 # currently written but not hooked up to the build yet. They may need to be |
17 # completed or possibly just tested and then re-enabled. | 20 # completed or possibly just tested and then re-enabled. |
18 deps = [ | 21 deps = [ |
19 "//apps", | 22 "//apps", |
20 "//ash", | 23 "//ash", |
21 "//cc", | 24 "//cc", |
22 "//cc/blink", | 25 "//cc/blink", |
23 "//chrome/browser", | 26 "//chrome/browser", |
24 "//chrome/browser/devtools", | 27 "//chrome/browser/devtools", |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 ] | 234 ] |
232 } | 235 } |
233 | 236 |
234 if (use_ozone) { | 237 if (use_ozone) { |
235 deps += [ | 238 deps += [ |
236 "//ui/ozone", | 239 "//ui/ozone", |
237 "//ui/ozone/demo", | 240 "//ui/ozone/demo", |
238 ] | 241 ] |
239 } | 242 } |
240 } | 243 } |
OLD | NEW |