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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 "//ui/resources", | 452 "//ui/resources", |
453 "//ui/strings", | 453 "//ui/strings", |
454 ] | 454 ] |
455 | 455 |
456 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ] | 456 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ] |
457 deps += [ "//content/browser/devtools:resources" ] | 457 deps += [ "//content/browser/devtools:resources" ] |
458 output = "$root_out_dir/content_shell.pak" | 458 output = "$root_out_dir/content_shell.pak" |
459 } | 459 } |
460 | 460 |
461 # TODO(GYP): Figure out what this should be on android | 461 # TODO(GYP): Figure out what this should be on android |
462 if (!is_android) { | 462 # and make linking this work on the Mac. |
| 463 if (!is_android && !is_mac) { |
463 | 464 |
464 executable("content_shell") { | 465 executable("content_shell") { |
465 testonly = true | 466 testonly = true |
466 # TODO(GYP) mac resource bundle stuff for this target. | 467 # TODO(GYP) mac resource bundle stuff for this target. |
467 # TODO(GYP) Windows content shell settings: | 468 # TODO(GYP) Windows content shell settings: |
468 # - Manifest. | 469 # - Manifest. |
469 # - RC file. | 470 # - RC file. |
470 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 471 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
471 sources = [ | 472 sources = [ |
472 "../app/startup_helper_win.cc", | 473 "../app/startup_helper_win.cc", |
(...skipping 21 matching lines...) Expand all Loading... |
494 if (is_android && !is_android_webview_build) { | 495 if (is_android && !is_android_webview_build) { |
495 # Some tests rely on this tool. It might be nicer if these tests relied on | 496 # Some tests rely on this tool. It might be nicer if these tests relied on |
496 # image diff rather than having content shell depend on it. | 497 # image diff rather than having content shell depend on it. |
497 datadeps = [ | 498 datadeps = [ |
498 "//tools/imagediff($host_toolchain)", | 499 "//tools/imagediff($host_toolchain)", |
499 ] | 500 ] |
500 } | 501 } |
501 } | 502 } |
502 | 503 |
503 } | 504 } |
OLD | NEW |