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