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 "//apps/common/api:apps_api", | 22 "//apps/common/api:apps_api", |
23 "//cc", | 23 "//cc", |
24 "//chrome/common", | 24 "//chrome/common", |
25 "//components/favicon_base", | |
blundell
2014/06/20 17:38:42
Should the components group be referenced in this
brettw
2014/06/20 19:31:16
Oops, that was in an earlier patch but got removed
| |
26 "//components/language_usage_metrics", | |
27 "//components/metrics", | |
28 "//components/navigation_metrics", | |
29 "//components/onc", | |
30 "//components/os_crypt", | |
31 "//components/query_parser", | |
32 "//components/resources:components_resources", | |
33 "//components/startup_metric_utils", | |
34 "//components/tracing", | |
35 "//components/translate:translate_core_browser", | |
36 "//components/translate:translate_core_common", | |
37 "//components/url_matcher", | |
38 "//components/user_prefs", | |
39 "//components/visitedlink/browser", | |
40 "//components/visitedlink/common", | |
41 #"//components/visitedlink/renderer", # Blocked on blink | |
42 "//content", | 25 "//content", |
43 "//crypto", | 26 "//crypto", |
44 "//extensions/common/api:extensions_api", | 27 "//extensions/common/api:extensions_api", |
45 "//device/usb", | 28 "//device/usb", |
46 "//gin", | 29 "//gin", |
47 "//gpu", | 30 "//gpu", |
48 "//google_apis", | 31 "//google_apis", |
49 "//ipc", | 32 "//ipc", |
50 "//mojo", | 33 "//mojo", |
51 "//mojo/common", | 34 "//mojo/common", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
102 "//url", | 85 "//url", |
103 "//v8:v8", | 86 "//v8:v8", |
104 "//webkit/browser:storage", | 87 "//webkit/browser:storage", |
105 "//webkit/child", | 88 "//webkit/child", |
106 ] | 89 ] |
107 | 90 |
108 if (!is_win) { | 91 if (!is_win) { |
109 deps += [ "//breakpad:symupload" ] | 92 deps += [ "//breakpad:symupload" ] |
110 } | 93 } |
111 | 94 |
112 if (!is_ios) { | |
113 deps += [ "//components/keyed_service/content" ] | |
114 } | |
115 | |
116 if (is_linux) { | 95 if (is_linux) { |
117 deps += [ | 96 deps += [ |
118 "//dbus", | 97 "//dbus", |
119 "//third_party/fontconfig", | 98 "//third_party/fontconfig", |
120 "//third_party/freetype2", | 99 "//third_party/freetype2", |
121 ] | 100 ] |
122 } | 101 } |
123 | 102 |
124 if (is_win) { | 103 if (is_win) { |
125 deps += [ | 104 deps += [ |
(...skipping 11 matching lines...) Expand all Loading... | |
137 if (cpu_arch == "x86" || cpu_arch == "x64") { | 116 if (cpu_arch == "x86" || cpu_arch == "x64") { |
138 # YASM is x86/x64 only. | 117 # YASM is x86/x64 only. |
139 deps += [ "//third_party/yasm($host_toolchain)" ] | 118 deps += [ "//third_party/yasm($host_toolchain)" ] |
140 } | 119 } |
141 | 120 |
142 if (is_android) { | 121 if (is_android) { |
143 deps -= [ | 122 deps -= [ |
144 "//cc", | 123 "//cc", |
145 "//chrome/common", # Blocked on content. | 124 "//chrome/common", # Blocked on content. |
146 "//content", | 125 "//content", |
147 "//components/keyed_service/content", # Blocked on content. | |
148 "//components/user_prefs", # Blocked on content. | |
149 "//components/visitedlink/browser", # Blocked on content. | |
150 "//components/visitedlink/common", # Blocked on content. | |
151 "//extensions/common/api:extensions_api", | 126 "//extensions/common/api:extensions_api", |
152 "//pdf", # Not compiled on Android in GYP yet, either. | 127 "//pdf", # Not compiled on Android in GYP yet, either. |
153 "//ppapi:ppapi_c", | 128 "//ppapi:ppapi_c", |
154 "//sandbox", | 129 "//sandbox", |
155 "//third_party/libusb", | 130 "//third_party/libusb", |
156 | 131 |
157 # Seems to not be compiled on Android. Otherwise it will need a config.h. | 132 # Seems to not be compiled on Android. Otherwise it will need a config.h. |
158 "//third_party/libxslt", | 133 "//third_party/libxslt", |
159 | 134 |
160 "//tools/gn", | 135 "//tools/gn", |
(...skipping 13 matching lines...) Expand all Loading... | |
174 ] | 149 ] |
175 } | 150 } |
176 | 151 |
177 if (use_ozone) { | 152 if (use_ozone) { |
178 deps += [ | 153 deps += [ |
179 "//ui/events/ozone:events_ozone", | 154 "//ui/events/ozone:events_ozone", |
180 "//ui/events/ozone:events_ozone_evdev", | 155 "//ui/events/ozone:events_ozone_evdev", |
181 ] | 156 ] |
182 } | 157 } |
183 } | 158 } |
OLD | NEW |