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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 "//third_party/android_tools:android_gcm_java", | 170 "//third_party/android_tools:android_gcm_java", |
175 "//third_party/android_tools:uiautomator_java", | 171 "//third_party/android_tools:uiautomator_java", |
176 "//third_party/android_tools:android_support_v13_java", | 172 "//third_party/android_tools:android_support_v13_java", |
177 "//third_party/android_tools:android_support_v7_appcompat_java", | 173 "//third_party/android_tools:android_support_v7_appcompat_java", |
178 "//third_party/android_tools:android_support_v7_mediarouter_java", | 174 "//third_party/android_tools:android_support_v7_mediarouter_java", |
179 "//third_party/eyesfree:eyesfree_java", | 175 "//third_party/eyesfree:eyesfree_java", |
180 ] | 176 ] |
181 | 177 |
182 deps -= [ | 178 deps -= [ |
183 "//apps", # Needs testing. | 179 "//apps", # Needs testing. |
184 "//chrome/browser", # Blocked on content. | 180 "//chrome/browser", |
185 "//chrome/browser/devtools", # Blocked on content. | 181 "//chrome/browser/devtools", |
186 "//chrome/browser/ui", # Blocked on content. | 182 "//chrome/common", |
187 "//chrome/browser/ui/views", # Blocked on content. | 183 "//chrome/plugin", |
188 "//chrome/common", # Blocked on content. | 184 "//chrome/renderer", |
189 "//chrome/plugin", # Blocked on content. | 185 "//chrome/utility", |
190 "//chrome/renderer", # Blocked on content. | |
191 "//chrome/service", # Blocked on content. | |
192 "//chrome/utility", # Blocked on content. | |
193 "//content/shell:content_shell", | 186 "//content/shell:content_shell", |
194 "//extensions/browser", | 187 "//extensions/browser", |
195 "//extensions/common", | 188 "//extensions/common", |
196 "//extensions/common/api", | 189 "//extensions/common/api", |
197 "//extensions/renderer", | 190 "//extensions/renderer", |
198 "//pdf", # Not compiled on Android in GYP yet, either. | 191 "//pdf", # Not compiled on Android in GYP yet, either. |
199 "//ppapi:ppapi_c", | 192 "//ppapi:ppapi_c", |
200 "//third_party/libusb", | 193 "//third_party/libusb", |
201 "//ui/keyboard", # Blocked on content. | 194 "//ui/keyboard", # Blocked on content. |
202 | 195 |
(...skipping 10 matching lines...) Expand all Loading... |
213 | 206 |
214 # Fails on Android for unknown reasons. | 207 # Fails on Android for unknown reasons. |
215 "//third_party/flac", | 208 "//third_party/flac", |
216 "//breakpad:symupload", | 209 "//breakpad:symupload", |
217 | 210 |
218 # Not tested on Android yet: | 211 # Not tested on Android yet: |
219 "//google_apis/gcm", | 212 "//google_apis/gcm", |
220 "//remoting/client/plugin", | 213 "//remoting/client/plugin", |
221 "//storage/browser", | 214 "//storage/browser", |
222 "//third_party/cld_2", | 215 "//third_party/cld_2", |
223 "//third_party/libaddressinput", | |
224 "//third_party/ffmpeg", | 216 "//third_party/ffmpeg", |
225 "//ui/app_list", | 217 "//ui/app_list", |
226 "//ui/web_dialogs", | 218 "//ui/web_dialogs", |
227 ] | 219 ] |
228 } | 220 } |
229 | 221 |
230 if (use_ozone) { | 222 if (use_ozone) { |
231 deps += [ | 223 deps += [ |
232 "//ui/ozone", | 224 "//ui/ozone", |
233 "//ui/ozone/demo", | 225 "//ui/ozone/demo", |
234 ] | 226 ] |
235 } | 227 } |
236 | 228 |
237 # Non-mobile builds. | 229 # Non-mobile builds. |
238 if (!is_android && !is_ios) { | 230 if (!is_android && !is_ios) { |
239 deps += [ | 231 deps += [ |
240 "//device/usb", | 232 "//device/usb", |
241 ] | 233 ] |
242 } | 234 } |
243 } | 235 } |
OLD | NEW |