| 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/grit_rule.gni") | 8 import("//tools/grit/grit_rule.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") | 
| 11 } | 11 } | 
| 12 | 12 | 
| 13 declare_args() { | 13 declare_args() { | 
| 14   content_shell_product_name = "Content Shell" | 14   content_shell_product_name = "Content Shell" | 
| 15 | 15 | 
| 16   # The "19" is so that sites that sniff for version think that this is | 16   # The "19" is so that sites that sniff for version think that this is | 
| 17   # something reasonably current; the "77.34.5" is a hint that this isn't a | 17   # something reasonably current; the "77.34.5" is a hint that this isn't a | 
| 18   # standard Chrome. | 18   # standard Chrome. | 
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 254     configs += [ "//build/config/linux:fontconfig" ] | 254     configs += [ "//build/config/linux:fontconfig" ] | 
| 255   } | 255   } | 
| 256 | 256 | 
| 257   if (use_x11) { | 257   if (use_x11) { | 
| 258     # Some tests rely on this tool at runtime. Note: it might be better if | 258     # Some tests rely on this tool at runtime. Note: it might be better if | 
| 259     # the tests that needed it had this as a dep instead of adding it here. | 259     # the tests that needed it had this as a dep instead of adding it here. | 
| 260     datadeps = [ "//tools/xdisplaycheck" ] | 260     datadeps = [ "//tools/xdisplaycheck" ] | 
| 261   } | 261   } | 
| 262 | 262 | 
| 263   if (is_android) { | 263   if (is_android) { | 
| 264     #deps += [ 'content_shell_jni_headers' ]  TODO(GYP) | 264     deps += [ ":content_shell_jni_headers" ] | 
| 265     #deps -= [ 'copy_test_netscape_plugin' ]  TODO(GYP) | 265     #deps -= [ "copy_test_netscape_plugin" ]  TODO(GYP) | 
| 266   } | 266   } | 
| 267 | 267 | 
| 268   if (is_posix && !is_mac && (!is_android || !is_android_webview_build)) { | 268   if (is_posix && !is_mac && (!is_android || !is_android_webview_build)) { | 
| 269     deps += [ "//components/crash/browser" ] | 269     deps += [ "//components/crash/browser" ] | 
| 270   } | 270   } | 
| 271 | 271 | 
| 272   if (use_aura) { | 272   if (use_aura) { | 
| 273     deps += [ | 273     deps += [ | 
| 274       "//ui/aura", | 274       "//ui/aura", | 
| 275       "//ui/aura:test_support", | 275       "//ui/aura:test_support", | 
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 458   } | 458   } | 
| 459 | 459 | 
| 460   if (!is_android || !is_android_webview_build) { | 460   if (!is_android || !is_android_webview_build) { | 
| 461     # Some tests rely on this tool. It might be nicer if these tests relied on | 461     # Some tests rely on this tool. It might be nicer if these tests relied on | 
| 462     # image diff rather than having content shell depend on it. | 462     # image diff rather than having content shell depend on it. | 
| 463     datadeps = [ | 463     datadeps = [ | 
| 464       "//tools/imagediff($host_toolchain)", | 464       "//tools/imagediff($host_toolchain)", | 
| 465     ] | 465     ] | 
| 466   } | 466   } | 
| 467 } | 467 } | 
| OLD | NEW | 
|---|