OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/config/win/console_app.gni") | 8 import("//build/config/win/console_app.gni") |
9 import("//build/config/win/manifest.gni") | 9 import("//build/config/win/manifest.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 "//components/devtools_http_handler", | 214 "//components/devtools_http_handler", |
215 "//components/plugins/renderer", | 215 "//components/plugins/renderer", |
216 "//components/test_runner:test_runner", | 216 "//components/test_runner:test_runner", |
217 "//components/url_formatter", | 217 "//components/url_formatter", |
218 "//components/web_cache/renderer", | 218 "//components/web_cache/renderer", |
219 "//content:resources", | 219 "//content:resources", |
220 "//content/app/resources", | 220 "//content/app/resources", |
221 "//content/app/strings", | 221 "//content/app/strings", |
222 "//content/gpu", | 222 "//content/gpu", |
223 "//content/test:layouttest_support", | 223 "//content/test:layouttest_support", |
224 "//content/test:test_support", | |
225 "//device/bluetooth", | 224 "//device/bluetooth", |
226 "//device/bluetooth:mocks", | 225 "//device/bluetooth:mocks", |
227 "//gin", | 226 "//gin", |
228 "//gpu", | 227 "//gpu", |
229 "//ipc", | 228 "//ipc", |
230 "//media", | 229 "//media", |
231 "//media/mojo/services:application_factory", | |
232 "//net", | 230 "//net", |
233 "//net:net_resources", | 231 "//net:net_resources", |
234 "//skia", | 232 "//skia", |
235 "//storage/browser", | 233 "//storage/browser", |
236 "//testing/gmock", | 234 "//testing/gmock", |
237 "//testing/gtest", | 235 "//testing/gtest", |
238 "//third_party/WebKit/public:blink", | 236 "//third_party/WebKit/public:blink", |
239 "//third_party/WebKit/public:image_resources", | 237 "//third_party/WebKit/public:image_resources", |
240 "//third_party/WebKit/public:resources", | 238 "//third_party/WebKit/public:resources", |
241 "//third_party/WebKit/public:test_support", | 239 "//third_party/WebKit/public:test_support", |
242 "//third_party/icu", | 240 "//third_party/icu", |
243 "//ui/base", | 241 "//ui/base", |
244 "//ui/base/ime", | 242 "//ui/base/ime", |
245 "//ui/events:events_base", | 243 "//ui/events:events_base", |
246 "//ui/gfx", | 244 "//ui/gfx", |
247 "//ui/gfx/geometry", | 245 "//ui/gfx/geometry", |
248 "//ui/gfx/ipc", | 246 "//ui/gfx/ipc", |
249 "//ui/gl", | 247 "//ui/gl", |
250 "//url", | 248 "//url", |
251 "//v8", | 249 "//v8", |
252 | 250 |
253 #'copy_test_netscape_plugin', TODO(GYP) | 251 #'copy_test_netscape_plugin', TODO(GYP) |
254 ] | 252 ] |
255 if (enable_plugins) { | 253 if (enable_plugins) { |
256 deps += [ | 254 deps += [ |
257 "//content/ppapi_plugin", | 255 "//content/ppapi_plugin", |
258 "//ppapi:blink_deprecated_test_plugin", | 256 "//ppapi:blink_deprecated_test_plugin", |
259 "//ppapi:blink_test_plugin", | 257 "//ppapi:blink_test_plugin", |
260 "//ppapi/shared_impl", | |
261 ] | 258 ] |
262 } | 259 } |
263 if (mojo_media_host == "browser") { | 260 if (mojo_media_host == "browser") { |
264 deps += [ "//media/mojo/services:application_factory" ] | 261 deps += [ "//media/mojo/services:application_factory" ] |
265 } | 262 } |
266 | 263 |
267 if (is_win) { | 264 if (is_win) { |
268 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) | 265 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) |
269 sources += [ | 266 sources += [ |
270 "common/v8_breakpad_support_win.cc", | 267 "common/v8_breakpad_support_win.cc", |
271 "common/v8_breakpad_support_win.h", | 268 "common/v8_breakpad_support_win.h", |
272 ] | 269 ] |
273 } | 270 } |
274 | 271 |
275 if (is_linux) { | 272 if (is_linux) { |
276 deps += [ | 273 deps += [ "//build/linux:fontconfig" ] |
277 "//build/linux:fontconfig", | |
278 "//ui/gfx:test_support", | |
279 ] | |
280 } | 274 } |
281 | 275 |
282 if (use_x11) { | 276 if (use_x11) { |
283 # Some tests rely on this tool at runtime. Note: it might be better if | 277 # Some tests rely on this tool at runtime. Note: it might be better if |
284 # the tests that needed it had this as a dep instead of adding it here. | 278 # the tests that needed it had this as a dep instead of adding it here. |
285 data_deps = [ | 279 data_deps = [ |
286 "//tools/xdisplaycheck", | 280 "//tools/xdisplaycheck", |
287 ] | 281 ] |
288 | 282 |
289 deps += [ "//ui/events/devices" ] | 283 deps += [ "//ui/events/devices" ] |
290 } | 284 } |
291 | 285 |
292 if (is_android) { | 286 if (is_android) { |
293 deps += [ "//content/shell/android:content_shell_jni_headers" ] | 287 deps += [ "//content/shell/android:content_shell_jni_headers" ] |
294 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) | 288 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) |
295 } | 289 } |
296 | 290 |
297 if (is_posix && !is_mac) { | 291 if (is_posix && !is_mac) { |
298 deps += [ | 292 deps += [ "//components/crash/content/browser" ] |
299 "//components/crash/content/app", | |
300 "//components/crash/content/browser", | |
301 ] | |
302 } | 293 } |
303 | 294 |
304 if (use_aura) { | 295 if (use_aura) { |
305 deps += [ | 296 deps += [ |
306 "//ui/aura", | 297 "//ui/aura", |
307 "//ui/aura:test_support", | 298 "//ui/aura:test_support", |
308 "//ui/events", | 299 "//ui/events", |
309 "//ui/strings", | 300 "//ui/strings", |
310 "//ui/wm", | 301 "//ui/wm", |
311 ] | 302 ] |
312 | 303 |
313 if (toolkit_views) { | 304 if (toolkit_views) { |
314 sources += [ "browser/shell_views.cc" ] | 305 sources += [ "browser/shell_views.cc" ] |
315 deps += [ | 306 deps += [ |
316 "//ui/resources", | 307 "//ui/resources", |
317 "//ui/views", | 308 "//ui/views", |
318 "//ui/views:test_support", | 309 "//ui/views:test_support", |
319 "//ui/views/controls/webview", | 310 "//ui/views/controls/webview", |
320 "//ui/wm:test_support", | |
321 ] | 311 ] |
322 } else { | 312 } else { |
323 sources += [ "browser/shell_aura.cc" ] | 313 sources += [ "browser/shell_aura.cc" ] |
324 } | 314 } |
325 } else { | 315 } else { |
326 sources -= [ | 316 sources -= [ |
327 "browser/shell_platform_data_aura.cc", | 317 "browser/shell_platform_data_aura.cc", |
328 "browser/shell_platform_data_aura.h", | 318 "browser/shell_platform_data_aura.h", |
329 ] | 319 ] |
330 } | 320 } |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 sources = [ | 512 sources = [ |
523 "app/shell_content_main.cc", | 513 "app/shell_content_main.cc", |
524 "app/shell_content_main.h", | 514 "app/shell_content_main.h", |
525 ] | 515 ] |
526 | 516 |
527 deps = [ | 517 deps = [ |
528 ":content_shell_lib", | 518 ":content_shell_lib", |
529 ] | 519 ] |
530 } | 520 } |
531 } | 521 } |
OLD | NEW |