| 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", |
| 224 "//device/bluetooth", | 225 "//device/bluetooth", |
| 225 "//device/bluetooth:mocks", | 226 "//device/bluetooth:mocks", |
| 226 "//gin", | 227 "//gin", |
| 227 "//gpu", | 228 "//gpu", |
| 228 "//ipc", | 229 "//ipc", |
| 229 "//media", | 230 "//media", |
| 231 "//media/mojo/services:application_factory", |
| 230 "//net", | 232 "//net", |
| 231 "//net:net_resources", | 233 "//net:net_resources", |
| 232 "//skia", | 234 "//skia", |
| 233 "//storage/browser", | 235 "//storage/browser", |
| 234 "//testing/gmock", | 236 "//testing/gmock", |
| 235 "//testing/gtest", | 237 "//testing/gtest", |
| 236 "//third_party/WebKit/public:blink", | 238 "//third_party/WebKit/public:blink", |
| 237 "//third_party/WebKit/public:image_resources", | 239 "//third_party/WebKit/public:image_resources", |
| 238 "//third_party/WebKit/public:resources", | 240 "//third_party/WebKit/public:resources", |
| 239 "//third_party/WebKit/public:test_support", | 241 "//third_party/WebKit/public:test_support", |
| 240 "//third_party/icu", | 242 "//third_party/icu", |
| 241 "//ui/base", | 243 "//ui/base", |
| 242 "//ui/base/ime", | 244 "//ui/base/ime", |
| 243 "//ui/events:events_base", | 245 "//ui/events:events_base", |
| 244 "//ui/gfx", | 246 "//ui/gfx", |
| 245 "//ui/gfx/geometry", | 247 "//ui/gfx/geometry", |
| 246 "//ui/gfx/ipc", | 248 "//ui/gfx/ipc", |
| 247 "//ui/gl", | 249 "//ui/gl", |
| 248 "//url", | 250 "//url", |
| 249 "//v8", | 251 "//v8", |
| 250 | 252 |
| 251 #'copy_test_netscape_plugin', TODO(GYP) | 253 #'copy_test_netscape_plugin', TODO(GYP) |
| 252 ] | 254 ] |
| 253 if (enable_plugins) { | 255 if (enable_plugins) { |
| 254 deps += [ | 256 deps += [ |
| 255 "//content/ppapi_plugin", | 257 "//content/ppapi_plugin", |
| 256 "//ppapi:blink_deprecated_test_plugin", | 258 "//ppapi:blink_deprecated_test_plugin", |
| 257 "//ppapi:blink_test_plugin", | 259 "//ppapi:blink_test_plugin", |
| 260 "//ppapi/shared_impl", |
| 258 ] | 261 ] |
| 259 } | 262 } |
| 260 if (mojo_media_host == "browser") { | 263 if (mojo_media_host == "browser") { |
| 261 deps += [ "//media/mojo/services:application_factory" ] | 264 deps += [ "//media/mojo/services:application_factory" ] |
| 262 } | 265 } |
| 263 | 266 |
| 264 if (is_win) { | 267 if (is_win) { |
| 265 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) | 268 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) |
| 266 sources += [ | 269 sources += [ |
| 267 "common/v8_breakpad_support_win.cc", | 270 "common/v8_breakpad_support_win.cc", |
| 268 "common/v8_breakpad_support_win.h", | 271 "common/v8_breakpad_support_win.h", |
| 269 ] | 272 ] |
| 270 } | 273 } |
| 271 | 274 |
| 272 if (is_linux) { | 275 if (is_linux) { |
| 273 deps += [ "//build/linux:fontconfig" ] | 276 deps += [ |
| 277 "//build/linux:fontconfig", |
| 278 "//ui/gfx:test_support", |
| 279 ] |
| 274 } | 280 } |
| 275 | 281 |
| 276 if (use_x11) { | 282 if (use_x11) { |
| 277 # Some tests rely on this tool at runtime. Note: it might be better if | 283 # Some tests rely on this tool at runtime. Note: it might be better if |
| 278 # the tests that needed it had this as a dep instead of adding it here. | 284 # the tests that needed it had this as a dep instead of adding it here. |
| 279 data_deps = [ | 285 data_deps = [ |
| 280 "//tools/xdisplaycheck", | 286 "//tools/xdisplaycheck", |
| 281 ] | 287 ] |
| 282 | 288 |
| 283 deps += [ "//ui/events/devices" ] | 289 deps += [ "//ui/events/devices" ] |
| 284 } | 290 } |
| 285 | 291 |
| 286 if (is_android) { | 292 if (is_android) { |
| 287 deps += [ "//content/shell/android:content_shell_jni_headers" ] | 293 deps += [ "//content/shell/android:content_shell_jni_headers" ] |
| 288 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) | 294 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) |
| 289 } | 295 } |
| 290 | 296 |
| 291 if (is_posix && !is_mac) { | 297 if (is_posix && !is_mac) { |
| 292 deps += [ "//components/crash/content/browser" ] | 298 deps += [ |
| 299 "//components/crash/content/app", |
| 300 "//components/crash/content/browser", |
| 301 ] |
| 293 } | 302 } |
| 294 | 303 |
| 295 if (use_aura) { | 304 if (use_aura) { |
| 296 deps += [ | 305 deps += [ |
| 297 "//ui/aura", | 306 "//ui/aura", |
| 298 "//ui/aura:test_support", | 307 "//ui/aura:test_support", |
| 299 "//ui/events", | 308 "//ui/events", |
| 300 "//ui/strings", | 309 "//ui/strings", |
| 301 "//ui/wm", | 310 "//ui/wm", |
| 302 ] | 311 ] |
| 303 | 312 |
| 304 if (toolkit_views) { | 313 if (toolkit_views) { |
| 305 sources += [ "browser/shell_views.cc" ] | 314 sources += [ "browser/shell_views.cc" ] |
| 306 deps += [ | 315 deps += [ |
| 307 "//ui/resources", | 316 "//ui/resources", |
| 308 "//ui/views", | 317 "//ui/views", |
| 309 "//ui/views:test_support", | 318 "//ui/views:test_support", |
| 310 "//ui/views/controls/webview", | 319 "//ui/views/controls/webview", |
| 320 "//ui/wm:test_support", |
| 311 ] | 321 ] |
| 312 } else { | 322 } else { |
| 313 sources += [ "browser/shell_aura.cc" ] | 323 sources += [ "browser/shell_aura.cc" ] |
| 314 } | 324 } |
| 315 } else { | 325 } else { |
| 316 sources -= [ | 326 sources -= [ |
| 317 "browser/shell_platform_data_aura.cc", | 327 "browser/shell_platform_data_aura.cc", |
| 318 "browser/shell_platform_data_aura.h", | 328 "browser/shell_platform_data_aura.h", |
| 319 ] | 329 ] |
| 320 } | 330 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 337 | 347 |
| 338 if (!enable_plugins) { | 348 if (!enable_plugins) { |
| 339 sources -= [ | 349 sources -= [ |
| 340 "browser/shell_plugin_service_filter.cc", | 350 "browser/shell_plugin_service_filter.cc", |
| 341 "browser/shell_plugin_service_filter.h", | 351 "browser/shell_plugin_service_filter.h", |
| 342 ] | 352 ] |
| 343 } | 353 } |
| 344 } | 354 } |
| 345 | 355 |
| 346 grit("content_shell_resources_grit") { | 356 grit("content_shell_resources_grit") { |
| 357 # External code should depend on ":resources" instead. |
| 347 visibility = [ ":*" ] | 358 visibility = [ ":*" ] |
| 348 source = "shell_resources.grd" | 359 source = "shell_resources.grd" |
| 349 outputs = [ | 360 outputs = [ |
| 350 "grit/shell_resources.h", | 361 "grit/shell_resources.h", |
| 351 "shell_resources.pak", | 362 "shell_resources.pak", |
| 352 ] | 363 ] |
| 353 } | 364 } |
| 354 | 365 |
| 355 copy("copy_shell_resources") { | 366 copy("copy_shell_resources") { |
| 356 sources = [ | 367 sources = [ |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 sources = [ | 523 sources = [ |
| 513 "app/shell_content_main.cc", | 524 "app/shell_content_main.cc", |
| 514 "app/shell_content_main.h", | 525 "app/shell_content_main.h", |
| 515 ] | 526 ] |
| 516 | 527 |
| 517 deps = [ | 528 deps = [ |
| 518 ":content_shell_lib", | 529 ":content_shell_lib", |
| 519 ] | 530 ] |
| 520 } | 531 } |
| 521 } | 532 } |
| OLD | NEW |