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. | 15 # This should not be linked into production and depends on test targets. |
16 testonly = true | 16 testonly = true |
17 | 17 |
18 # 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 |
19 # 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 |
20 # completed or possibly just tested and then re-enabled. | 20 # completed or possibly just tested and then re-enabled. |
21 deps = [ | 21 deps = [ |
22 "//apps", | 22 "//apps", |
23 "//ash", | 23 "//ash", |
24 "//cc", | 24 "//cc", |
25 "//cc/blink", | 25 "//cc/blink", |
26 "//chrome/browser", | 26 "//chrome/browser", |
27 "//chrome/browser/devtools", | 27 "//chrome/browser/devtools", |
28 "//chrome/browser/ui", | |
29 "//chrome/browser/ui/views", | |
30 "//chrome/common", | 28 "//chrome/common", |
31 "//chrome/plugin", | 29 "//chrome/plugin", |
32 "//chrome/renderer", | 30 "//chrome/renderer", |
33 "//chrome/service", | |
34 "//chrome/utility", | 31 "//chrome/utility", |
35 "//components:all_components", | 32 "//components:all_components", |
36 "//content", | 33 "//content", |
37 "//content/shell:content_shell", | 34 "//content/shell:content_shell", |
38 "//content/test:test_support", | 35 "//content/test:test_support", |
39 "//crypto", | 36 "//crypto", |
40 "//device/bluetooth", | 37 "//device/bluetooth", |
41 "//device/nfc", | 38 "//device/nfc", |
42 "//extensions/browser", | 39 "//extensions/browser", |
43 "//extensions/common", | 40 "//extensions/common", |
(...skipping 27 matching lines...) Expand all Loading... |
71 "//third_party/cacheinvalidation", | 68 "//third_party/cacheinvalidation", |
72 "//third_party/cld", | 69 "//third_party/cld", |
73 "//third_party/cld_2", | 70 "//third_party/cld_2", |
74 "//third_party/ffmpeg", | 71 "//third_party/ffmpeg", |
75 "//third_party/flac", | 72 "//third_party/flac", |
76 "//third_party/harfbuzz-ng", | 73 "//third_party/harfbuzz-ng", |
77 "//third_party/hunspell", | 74 "//third_party/hunspell", |
78 "//third_party/iccjpeg", | 75 "//third_party/iccjpeg", |
79 "//third_party/icu", | 76 "//third_party/icu", |
80 "//third_party/leveldatabase", | 77 "//third_party/leveldatabase", |
81 "//third_party/libaddressinput", | |
82 "//third_party/libphonenumber", | 78 "//third_party/libphonenumber", |
83 "//third_party/libjingle", | 79 "//third_party/libjingle", |
84 "//third_party/libpng", | 80 "//third_party/libpng", |
85 "//third_party/libsrtp", | 81 "//third_party/libsrtp", |
86 "//third_party/libusb", | 82 "//third_party/libusb", |
87 "//third_party/libwebm", | 83 "//third_party/libwebm", |
88 "//third_party/libwebp", | 84 "//third_party/libwebp", |
89 "//third_party/libxslt", | 85 "//third_party/libxslt", |
90 "//third_party/libyuv", | 86 "//third_party/libyuv", |
91 "//third_party/lzma_sdk", | 87 "//third_party/lzma_sdk", |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 "//third_party/android_tools:android_gcm_java", | 171 "//third_party/android_tools:android_gcm_java", |
176 "//third_party/android_tools:uiautomator_java", | 172 "//third_party/android_tools:uiautomator_java", |
177 "//third_party/android_tools:android_support_v13_java", | 173 "//third_party/android_tools:android_support_v13_java", |
178 "//third_party/android_tools:android_support_v7_appcompat_java", | 174 "//third_party/android_tools:android_support_v7_appcompat_java", |
179 "//third_party/android_tools:android_support_v7_mediarouter_java", | 175 "//third_party/android_tools:android_support_v7_mediarouter_java", |
180 "//third_party/eyesfree:eyesfree_java", | 176 "//third_party/eyesfree:eyesfree_java", |
181 ] | 177 ] |
182 | 178 |
183 deps -= [ | 179 deps -= [ |
184 "//apps", # Needs testing. | 180 "//apps", # Needs testing. |
185 "//chrome/browser", # Blocked on content. | 181 "//chrome/browser", |
186 "//chrome/browser/devtools", # Blocked on content. | 182 "//chrome/browser/devtools", |
187 "//chrome/browser/ui", # Blocked on content. | 183 "//chrome/common", |
188 "//chrome/browser/ui/views", # Blocked on content. | 184 "//chrome/plugin", |
189 "//chrome/common", # Blocked on content. | 185 "//chrome/renderer", |
190 "//chrome/plugin", # Blocked on content. | 186 "//chrome/utility", |
191 "//chrome/renderer", # Blocked on content. | |
192 "//chrome/service", # Blocked on content. | |
193 "//chrome/utility", # Blocked on content. | |
194 "//content/shell:content_shell", | 187 "//content/shell:content_shell", |
195 "//extensions/browser", | 188 "//extensions/browser", |
196 "//extensions/common", | 189 "//extensions/common", |
197 "//extensions/common/api", | 190 "//extensions/common/api", |
198 "//extensions/renderer", | 191 "//extensions/renderer", |
199 "//pdf", # Not compiled on Android in GYP yet, either. | 192 "//pdf", # Not compiled on Android in GYP yet, either. |
200 "//ppapi:ppapi_c", | 193 "//ppapi:ppapi_c", |
201 "//third_party/libusb", | 194 "//third_party/libusb", |
202 "//ui/keyboard", # Blocked on content. | 195 "//ui/keyboard", # Blocked on content. |
203 | 196 |
(...skipping 10 matching lines...) Expand all Loading... |
214 | 207 |
215 # Fails on Android for unknown reasons. | 208 # Fails on Android for unknown reasons. |
216 "//third_party/flac", | 209 "//third_party/flac", |
217 "//breakpad:symupload", | 210 "//breakpad:symupload", |
218 | 211 |
219 # Not tested on Android yet: | 212 # Not tested on Android yet: |
220 "//google_apis/gcm", | 213 "//google_apis/gcm", |
221 "//remoting/client/plugin", | 214 "//remoting/client/plugin", |
222 "//storage/browser", | 215 "//storage/browser", |
223 "//third_party/cld_2", | 216 "//third_party/cld_2", |
224 "//third_party/libaddressinput", | |
225 "//third_party/ffmpeg", | 217 "//third_party/ffmpeg", |
226 "//ui/app_list", | 218 "//ui/app_list", |
227 "//ui/web_dialogs", | 219 "//ui/web_dialogs", |
228 ] | 220 ] |
229 } | 221 } |
230 | 222 |
231 if (use_ozone) { | 223 if (use_ozone) { |
232 deps += [ | 224 deps += [ |
233 "//ui/ozone", | 225 "//ui/ozone", |
234 "//ui/ozone/demo", | 226 "//ui/ozone/demo", |
235 ] | 227 ] |
236 } | 228 } |
237 | 229 |
238 # Non-mobile builds. | 230 # Non-mobile builds. |
239 if (!is_android && !is_ios) { | 231 if (!is_android && !is_ios) { |
240 deps += [ | 232 deps += [ |
241 "//device/usb", | 233 "//device/usb", |
242 ] | 234 ] |
243 } | 235 } |
244 } | 236 } |
OLD | NEW |