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 # This is a temporary test of the not-yet-complete NaCl cross-compilation. |
20 #"//base(//build/toolchain/nacl:x86_newlib)", | 20 #"//base(//build/toolchain/nacl:x86_newlib)", |
21 | 21 |
22 "//cc", | 22 "//cc", |
| 23 "//chrome/browser", |
23 "//chrome/browser/devtools", | 24 "//chrome/browser/devtools", |
| 25 "//chrome/browser/ui", |
24 "//chrome/browser/ui/views", | 26 "//chrome/browser/ui/views", |
25 "//chrome/common", | 27 "//chrome/common", |
26 "//chrome/plugin", | 28 "//chrome/plugin", |
27 "//chrome/renderer", | 29 "//chrome/renderer", |
28 "//chrome/utility", | 30 "//chrome/utility", |
29 "//components:all_components", | 31 "//components:all_components", |
30 "//content", | 32 "//content", |
31 "//crypto", | 33 "//crypto", |
32 "//extensions/common/api:extensions_api", | 34 "//extensions/common/api:extensions_api", |
33 "//device/usb", | 35 "//device/usb", |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 } | 132 } |
131 | 133 |
132 if (cpu_arch == "x86" || cpu_arch == "x64") { | 134 if (cpu_arch == "x86" || cpu_arch == "x64") { |
133 # YASM is x86/x64 only. | 135 # YASM is x86/x64 only. |
134 deps += [ "//third_party/yasm($host_toolchain)" ] | 136 deps += [ "//third_party/yasm($host_toolchain)" ] |
135 } | 137 } |
136 | 138 |
137 if (is_android) { | 139 if (is_android) { |
138 deps -= [ | 140 deps -= [ |
139 "//cc", | 141 "//cc", |
| 142 "//chrome/browser", # Blocked on content. |
140 "//chrome/browser/devtools", # Blocked on content. | 143 "//chrome/browser/devtools", # Blocked on content. |
| 144 "//chrome/browser/ui", # Blocked on content. |
141 "//chrome/browser/ui/views", # Blocked on content. | 145 "//chrome/browser/ui/views", # Blocked on content. |
142 "//chrome/common", # Blocked on content. | 146 "//chrome/common", # Blocked on content. |
143 "//chrome/plugin", # Blocked on content. | 147 "//chrome/plugin", # Blocked on content. |
144 "//chrome/renderer", # Blocked on content. | 148 "//chrome/renderer", # Blocked on content. |
145 "//chrome/utility", # Blocked on content. | 149 "//chrome/utility", # Blocked on content. |
146 "//content", | 150 "//content", |
147 "//extensions/common/api:extensions_api", | 151 "//extensions/common/api:extensions_api", |
148 "//pdf", # Not compiled on Android in GYP yet, either. | 152 "//pdf", # Not compiled on Android in GYP yet, either. |
149 "//ppapi:ppapi_c", | 153 "//ppapi:ppapi_c", |
150 "//sandbox", | 154 "//sandbox", |
(...skipping 23 matching lines...) Expand all Loading... |
174 ] | 178 ] |
175 } | 179 } |
176 | 180 |
177 if (use_ozone) { | 181 if (use_ozone) { |
178 deps += [ | 182 deps += [ |
179 "//ui/events/ozone:events_ozone", | 183 "//ui/events/ozone:events_ozone", |
180 "//ui/events/ozone:events_ozone_evdev", | 184 "//ui/events/ozone:events_ozone_evdev", |
181 ] | 185 ] |
182 } | 186 } |
183 } | 187 } |
OLD | NEW |