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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 "//ui/strings", | 474 "//ui/strings", |
475 ] | 475 ] |
476 | 476 |
477 sources += [ "$root_gen_dir/blink/devtools_resources.pak" ] | 477 sources += [ "$root_gen_dir/blink/devtools_resources.pak" ] |
478 deps += [ "//content/browser/devtools:resources" ] | 478 deps += [ "//content/browser/devtools:resources" ] |
479 output = "$root_out_dir/content_shell.pak" | 479 output = "$root_out_dir/content_shell.pak" |
480 } | 480 } |
481 | 481 |
482 # TODO(GYP): Figure out what this should be on android | 482 # TODO(GYP): Figure out what this should be on android |
483 # and make linking this work on the Mac. | 483 # and make linking this work on the Mac. |
484 if (!is_android && !is_mac) { | 484 if (!is_android && !is_mac && (!is_win || link_chrome_on_windows)) { |
485 executable("content_shell") { | 485 executable("content_shell") { |
486 testonly = true | 486 testonly = true |
487 | 487 |
488 # TODO(GYP) mac resource bundle stuff for this target. | 488 # TODO(GYP) mac resource bundle stuff for this target. |
489 # TODO(GYP) Windows content shell settings: | 489 # TODO(GYP) Windows content shell settings: |
490 # - Manifest. | 490 # - Manifest. |
491 # - RC file. | 491 # - RC file. |
492 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 492 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
493 sources = [ | 493 sources = [ |
494 "app/shell_main.cc", | 494 "app/shell_main.cc", |
(...skipping 18 matching lines...) Expand all Loading... |
513 } | 513 } |
514 | 514 |
515 if (is_android && !is_android_webview_build) { | 515 if (is_android && !is_android_webview_build) { |
516 # 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 |
517 # image diff rather than having content shell depend on it. | 517 # image diff rather than having content shell depend on it. |
518 datadeps = [ | 518 datadeps = [ |
519 "//tools/imagediff($host_toolchain)", | 519 "//tools/imagediff($host_toolchain)", |
520 ] | 520 ] |
521 } | 521 } |
522 } | 522 } |
| 523 } else { |
| 524 group("content_shell") { |
| 525 } |
523 } | 526 } |
OLD | NEW |