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 # Note that some dependencies are commented out. These are things that are | 15 # 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 | 16 # 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. | 17 # completed or possibly just tested and then re-enabled. |
18 deps = [ | 18 deps = [ |
19 # This is a temporary test of the not-yet-complete NaCl cross-compilation. | 19 "//apps", |
20 #"//base(//build/toolchain/nacl:x86_newlib)", | |
21 "//ash", | 20 "//ash", |
22 "//cc", | 21 "//cc", |
23 "//cc/blink", | 22 "//cc/blink", |
24 "//chrome/browser", | 23 "//chrome/browser", |
25 "//chrome/browser/devtools", | 24 "//chrome/browser/devtools", |
26 "//chrome/browser/ui", | 25 "//chrome/browser/ui", |
27 "//chrome/browser/ui/views", | 26 "//chrome/browser/ui/views", |
28 "//chrome/common", | 27 "//chrome/common", |
29 "//chrome/plugin", | 28 "//chrome/plugin", |
30 "//chrome/renderer", | 29 "//chrome/renderer", |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 # YASM is x86/x64 only. | 155 # YASM is x86/x64 only. |
157 deps += [ "//third_party/yasm($host_toolchain)" ] | 156 deps += [ "//third_party/yasm($host_toolchain)" ] |
158 } | 157 } |
159 | 158 |
160 if (is_android) { | 159 if (is_android) { |
161 deps += [ | 160 deps += [ |
162 "//ui/android:ui_java" | 161 "//ui/android:ui_java" |
163 ] | 162 ] |
164 | 163 |
165 deps -= [ | 164 deps -= [ |
| 165 "//apps", # Needs testing. |
166 "//cc/blink", # Blocked on blink | 166 "//cc/blink", # Blocked on blink |
167 "//chrome/browser", # Blocked on content. | 167 "//chrome/browser", # Blocked on content. |
168 "//chrome/browser/devtools", # Blocked on content. | 168 "//chrome/browser/devtools", # Blocked on content. |
169 "//chrome/browser/ui", # Blocked on content. | 169 "//chrome/browser/ui", # Blocked on content. |
170 "//chrome/browser/ui/views", # Blocked on content. | 170 "//chrome/browser/ui/views", # Blocked on content. |
171 "//chrome/common", # Blocked on content. | 171 "//chrome/common", # Blocked on content. |
172 "//chrome/plugin", # Blocked on content. | 172 "//chrome/plugin", # Blocked on content. |
173 "//chrome/renderer", # Blocked on content. | 173 "//chrome/renderer", # Blocked on content. |
174 "//chrome/service", # Blocked on content. | 174 "//chrome/service", # Blocked on content. |
175 "//chrome/utility", # Blocked on content. | 175 "//chrome/utility", # Blocked on content. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 ] | 217 ] |
218 } | 218 } |
219 | 219 |
220 if (use_ozone) { | 220 if (use_ozone) { |
221 deps += [ | 221 deps += [ |
222 "//ui/ozone", | 222 "//ui/ozone", |
223 "//ui/ozone/demo", | 223 "//ui/ozone/demo", |
224 ] | 224 ] |
225 } | 225 } |
226 } | 226 } |
OLD | NEW |