| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 "//ppapi:blink_deprecated_test_plugin", | 261 "//ppapi:blink_deprecated_test_plugin", |
| 262 "//ppapi:blink_test_plugin", | 262 "//ppapi:blink_test_plugin", |
| 263 "//ppapi/shared_impl", | 263 "//ppapi/shared_impl", |
| 264 ] | 264 ] |
| 265 } | 265 } |
| 266 if (mojo_media_host == "browser") { | 266 if (mojo_media_host == "browser") { |
| 267 deps += [ "//media/mojo/services:application_factory" ] | 267 deps += [ "//media/mojo/services:application_factory" ] |
| 268 } | 268 } |
| 269 | 269 |
| 270 if (is_win) { | 270 if (is_win) { |
| 271 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) | |
| 272 sources += [ | 271 sources += [ |
| 273 "common/v8_breakpad_support_win.cc", | 272 "common/v8_breakpad_support_win.cc", |
| 274 "common/v8_breakpad_support_win.h", | 273 "common/v8_breakpad_support_win.h", |
| 275 ] | 274 ] |
| 276 } | 275 } |
| 277 | 276 |
| 278 if (is_linux) { | 277 if (is_linux) { |
| 279 deps += [ | 278 deps += [ |
| 280 "//build/linux:fontconfig", | 279 "//build/linux:fontconfig", |
| 281 "//ui/gfx:test_support", | 280 "//ui/gfx:test_support", |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 ":content_shell_lib", | 435 ":content_shell_lib", |
| 437 ] | 436 ] |
| 438 } | 437 } |
| 439 } else { | 438 } else { |
| 440 # TODO(brettw) when GYP is no longer necessary, delete | 439 # TODO(brettw) when GYP is no longer necessary, delete |
| 441 # content/shell/app/shell.exe.manifest. This file is not used in GN. | 440 # content/shell/app/shell.exe.manifest. This file is not used in GN. |
| 442 executable("content_shell") { | 441 executable("content_shell") { |
| 443 testonly = true | 442 testonly = true |
| 444 | 443 |
| 445 # TODO(GYP) mac resource bundle stuff for this target. | 444 # TODO(GYP) mac resource bundle stuff for this target. |
| 446 # TODO(GYP) Windows content shell settings: | |
| 447 # - RC file. | |
| 448 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
| 449 sources = [ | 445 sources = [ |
| 450 "app/shell_main.cc", | 446 "app/shell_main.cc", |
| 451 ] | 447 ] |
| 452 | 448 |
| 449 if (is_win) { |
| 450 sources += [ "app/shell.rc" ] |
| 451 } |
| 452 |
| 453 defines = [] | 453 defines = [] |
| 454 | 454 |
| 455 deps = [ | 455 deps = [ |
| 456 ":content_shell_lib", | 456 ":content_shell_lib", |
| 457 ":pak", | 457 ":pak", |
| 458 "//build/config/sanitizers:deps", | 458 "//build/config/sanitizers:deps", |
| 459 "//build/win:default_exe_manifest", | 459 "//build/win:default_exe_manifest", |
| 460 ] | 460 ] |
| 461 | 461 |
| 462 if (is_win) { | 462 if (is_win) { |
| 463 deps += [ "//sandbox" ] | 463 deps += [ "//sandbox" ] |
| 464 |
| 465 # This is a large module that can't do incremental linking in some cases. |
| 466 configs -= [ "//build/config/win:default_incremental_linking" ] |
| 467 configs += |
| 468 [ "//build/config/win:default_large_module_incremental_linking" ] |
| 464 if (win_console_app) { | 469 if (win_console_app) { |
| 465 defines += [ "WIN_CONSOLE_APP" ] | 470 defines += [ "WIN_CONSOLE_APP" ] |
| 466 } else { | 471 } else { |
| 467 # Set /SUBSYSTEM:WINDOWS unless a console build has been requested. | 472 # Set /SUBSYSTEM:WINDOWS unless a console build has been requested. |
| 468 configs -= [ "//build/config/win:console" ] | 473 configs -= [ "//build/config/win:console" ] |
| 469 configs += [ "//build/config/win:windowed" ] | 474 configs += [ "//build/config/win:windowed" ] |
| 470 } | 475 } |
| 471 } | 476 } |
| 472 | 477 |
| 473 if (is_mac) { | 478 if (is_mac) { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 ] | 541 ] |
| 537 info_plist = "app/helper-Info.plist" | 542 info_plist = "app/helper-Info.plist" |
| 538 } | 543 } |
| 539 } | 544 } |
| 540 | 545 |
| 541 mojom("mojo_bindings") { | 546 mojom("mojo_bindings") { |
| 542 sources = [ | 547 sources = [ |
| 543 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom", | 548 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom", |
| 544 ] | 549 ] |
| 545 } | 550 } |
| OLD | NEW |