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/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//tools/grit/repack.gni") | 7 import("//tools/grit/repack.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 ] | 271 ] |
272 if (enable_plugins) { | 272 if (enable_plugins) { |
273 deps += [ "//content/ppapi_plugin" ] | 273 deps += [ "//content/ppapi_plugin" ] |
274 } | 274 } |
275 | 275 |
276 if (is_win) { | 276 if (is_win) { |
277 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) | 277 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) |
278 | 278 |
279 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 279 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
280 cflags = [ "/wd4267" ] | 280 cflags = [ "/wd4267" ] |
| 281 sources += [ |
| 282 "common/v8_breakpad_support_win.cc", |
| 283 "common/v8_breakpad_support_win.h", |
| 284 ] |
281 } | 285 } |
282 | 286 |
283 if (is_linux) { | 287 if (is_linux) { |
284 configs += [ "//build/config/linux:fontconfig" ] | 288 configs += [ "//build/config/linux:fontconfig" ] |
285 } | 289 } |
286 | 290 |
287 if (use_x11) { | 291 if (use_x11) { |
288 # Some tests rely on this tool at runtime. Note: it might be better if | 292 # Some tests rely on this tool at runtime. Note: it might be better if |
289 # the tests that needed it had this as a dep instead of adding it here. | 293 # the tests that needed it had this as a dep instead of adding it here. |
290 datadeps = [ | 294 datadeps = [ |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 if (!is_android && !is_mac) { | 484 if (!is_android && !is_mac) { |
481 executable("content_shell") { | 485 executable("content_shell") { |
482 testonly = true | 486 testonly = true |
483 | 487 |
484 # TODO(GYP) mac resource bundle stuff for this target. | 488 # TODO(GYP) mac resource bundle stuff for this target. |
485 # TODO(GYP) Windows content shell settings: | 489 # TODO(GYP) Windows content shell settings: |
486 # - Manifest. | 490 # - Manifest. |
487 # - RC file. | 491 # - RC file. |
488 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 492 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
489 sources = [ | 493 sources = [ |
490 "../app/startup_helper_win.cc", | |
491 "app/shell_main.cc", | 494 "app/shell_main.cc", |
492 ] | 495 ] |
493 | 496 |
494 deps = [ | 497 deps = [ |
495 ":content_shell_lib", | 498 ":content_shell_lib", |
496 ":pak", | 499 ":pak", |
497 "//base/allocator", | 500 "//base/allocator", |
498 ] | 501 ] |
499 | 502 |
500 if (is_win) { | 503 if (is_win) { |
(...skipping 10 matching lines...) Expand all Loading... |
511 | 514 |
512 if (is_android && !is_android_webview_build) { | 515 if (is_android && !is_android_webview_build) { |
513 # Some tests rely on this tool. It might be nicer if these tests relied on | 516 # Some tests rely on this tool. It might be nicer if these tests relied on |
514 # image diff rather than having content shell depend on it. | 517 # image diff rather than having content shell depend on it. |
515 datadeps = [ | 518 datadeps = [ |
516 "//tools/imagediff($host_toolchain)", | 519 "//tools/imagediff($host_toolchain)", |
517 ] | 520 ] |
518 } | 521 } |
519 } | 522 } |
520 } | 523 } |
OLD | NEW |