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 |
(...skipping 20 matching lines...) Expand all Loading... |
31 "//components/query_parser", | 31 "//components/query_parser", |
32 "//components/resources:components_resources", | 32 "//components/resources:components_resources", |
33 "//components/startup_metric_utils", | 33 "//components/startup_metric_utils", |
34 "//components/tracing", | 34 "//components/tracing", |
35 "//components/translate:translate_core_browser", | 35 "//components/translate:translate_core_browser", |
36 "//components/translate:translate_core_common", | 36 "//components/translate:translate_core_common", |
37 "//components/url_matcher", | 37 "//components/url_matcher", |
38 "//content", | 38 "//content", |
39 "//crypto", | 39 "//crypto", |
40 "//extensions/common/api:extensions_api", | 40 "//extensions/common/api:extensions_api", |
41 "//dbus", | |
42 "//device/usb", | 41 "//device/usb", |
43 "//gin", | 42 "//gin", |
44 "//gpu", | 43 "//gpu", |
45 "//google_apis", | 44 "//google_apis", |
46 "//ipc", | 45 "//ipc", |
47 "//mojo", | 46 "//mojo", |
48 "//mojo/common", | 47 "//mojo/common", |
49 "//mojo/environment:chromium", | 48 "//mojo/environment:chromium", |
50 "//mojo/service_manager", | 49 "//mojo/service_manager", |
51 "//mojo/system", | 50 "//mojo/system", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "//ui/strings", | 96 "//ui/strings", |
98 "//ui/surface", | 97 "//ui/surface", |
99 "//url", | 98 "//url", |
100 "//v8:v8", | 99 "//v8:v8", |
101 "//webkit/browser:storage", | 100 "//webkit/browser:storage", |
102 "//webkit/child", | 101 "//webkit/child", |
103 ] | 102 ] |
104 | 103 |
105 if (is_linux) { | 104 if (is_linux) { |
106 deps += [ | 105 deps += [ |
| 106 "//dbus", |
107 "//third_party/fontconfig", | 107 "//third_party/fontconfig", |
108 "//third_party/freetype2", | 108 "//third_party/freetype2", |
109 ] | 109 ] |
110 } | 110 } |
111 | 111 |
112 if (is_win) { | 112 if (is_win) { |
113 deps += [ | 113 deps += [ |
114 "//ui/metro_viewer", | 114 "//ui/metro_viewer", |
115 ] | 115 ] |
116 } | 116 } |
117 | 117 |
118 if (is_win || is_mac || is_chromeos) { | 118 if (is_win || is_mac || is_chromeos) { |
119 # RLZ works on these platforms. | 119 # RLZ works on these platforms. |
120 deps += [ | 120 deps += [ |
121 "//rlz:rlz_lib", | 121 "//rlz:rlz_lib", |
122 ] | 122 ] |
123 } | 123 } |
124 | 124 |
125 if (cpu_arch == "x86" || cpu_arch == "x64") { | 125 if (cpu_arch == "x86" || cpu_arch == "x64") { |
126 # YASM is x86/x64 only. | 126 # YASM is x86/x64 only. |
127 deps += [ "//third_party/yasm($host_toolchain)" ] | 127 deps += [ "//third_party/yasm($host_toolchain)" ] |
128 } | 128 } |
129 | 129 |
130 if (is_android) { | 130 if (is_android) { |
131 deps -= [ | 131 deps -= [ |
132 "//cc", | 132 "//cc", |
133 "//content", | 133 "//content", |
134 "//dbus", | |
135 "//extensions/common/api:extensions_api", | 134 "//extensions/common/api:extensions_api", |
136 "//pdf", # Not compiled on Android in GYP yet, either. | 135 "//pdf", # Not compiled on Android in GYP yet, either. |
137 "//ppapi:ppapi_c", | 136 "//ppapi:ppapi_c", |
138 "//sandbox", | 137 "//sandbox", |
139 "//third_party/libusb", | 138 "//third_party/libusb", |
140 | 139 |
141 # Seems to not be compiled on Android. Otherwise it will need a config.h. | 140 # Seems to not be compiled on Android. Otherwise it will need a config.h. |
142 "//third_party/libxslt", | 141 "//third_party/libxslt", |
143 | 142 |
144 "//tools/gn", | 143 "//tools/gn", |
(...skipping 12 matching lines...) Expand all Loading... |
157 ] | 156 ] |
158 } | 157 } |
159 | 158 |
160 if (use_ozone) { | 159 if (use_ozone) { |
161 deps += [ | 160 deps += [ |
162 "//ui/events/ozone:events_ozone", | 161 "//ui/events/ozone:events_ozone", |
163 "//ui/events/ozone:events_ozone_evdev", | 162 "//ui/events/ozone:events_ozone_evdev", |
164 ] | 163 ] |
165 } | 164 } |
166 } | 165 } |
OLD | NEW |