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/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 configs -= [ "//build/config/win:console" ] | 446 configs -= [ "//build/config/win:console" ] |
447 configs += [ "//build/config/win:windowed" ] | 447 configs += [ "//build/config/win:windowed" ] |
448 } | 448 } |
449 } | 449 } |
450 | 450 |
451 if (is_mac) { | 451 if (is_mac) { |
452 # TODO(GYP) lots of stuff from GYP file here. | 452 # TODO(GYP) lots of stuff from GYP file here. |
453 } | 453 } |
454 | 454 |
455 if (!is_android || !is_android_webview_build) { | 455 if (!is_android || !is_android_webview_build) { |
456 deps += [ | 456 # Some tests rely on this tool. It might be nicer if these tests relied on |
457 # NOTE: rely on host build of this target. | 457 # image diff rather than having content shell depend on it. |
458 #'../tools/imagediff/image_diff.gyp:image_diff', TODO(GYP) | 458 datadeps = [ |
| 459 "//tools/imagediff($host_toolchain)", |
459 ] | 460 ] |
460 } | 461 } |
461 } | 462 } |
462 | 463 |
463 } else { | 464 } else { |
464 # Content shell not ready, make a dummpy to make dependency management easier. | 465 # Content shell not ready, make a dummpy to make dependency management easier. |
465 group("content_shell") { | 466 group("content_shell") { |
466 } | 467 } |
467 } | 468 } |
OLD | NEW |