blob: 8118491dbcf717c7ca009513a70a878169628ffc [file] [log] [blame]
[email protected]6b9028ab2014-07-23 17:15:381# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/features.gni")
6import("//build/config/ui.gni")
[email protected]6b9028ab2014-07-23 17:15:387import("//tools/grit/repack.gni")
cjhopmancd7694af2014-09-08 00:00:048import("//tools/grit/grit_rule.gni")
[email protected]6b9028ab2014-07-23 17:15:389if (is_android) {
10 import("//build/config/android/config.gni")
11}
12
13declare_args() {
14 content_shell_product_name = "Content Shell"
15
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
18 # standard Chrome.
19 content_shell_version = "19.77.34.5"
20}
21
22static_library("content_shell_lib") {
Brett Wilson8f80ad0b2014-09-08 19:50:2423 testonly = true
[email protected]6b9028ab2014-07-23 17:15:3824 sources = [
25 "android/shell_jni_registrar.cc",
26 "android/shell_jni_registrar.h",
27 "android/shell_manager.cc",
28 "android/shell_manager.h",
29 "app/paths_mac.h",
30 "app/paths_mac.mm",
rseseka0a7a042014-09-18 23:59:2031 "app/shell_crash_reporter_client.cc",
32 "app/shell_crash_reporter_client.h",
[email protected]6b9028ab2014-07-23 17:15:3833 "app/shell_main_delegate.cc",
34 "app/shell_main_delegate.h",
35 "app/shell_main_delegate_mac.h",
36 "app/shell_main_delegate_mac.mm",
37 "app/webkit_test_platform_support_android.cc",
38 "app/webkit_test_platform_support.h",
39 "app/webkit_test_platform_support_linux.cc",
40 "app/webkit_test_platform_support_mac.mm",
41 "app/webkit_test_platform_support_win.cc",
[email protected]9cd36bfb2014-08-20 00:32:0042 "browser/ipc_echo_message_filter.cc",
43 "browser/ipc_echo_message_filter.h",
mkwst6efe7f2e62014-10-08 15:09:0144 "browser/layout_test/layout_test_javascript_dialog_manager.cc",
45 "browser/layout_test/layout_test_javascript_dialog_manager.h",
[email protected]6b9028ab2014-07-23 17:15:3846 "browser/notify_done_forwarder.cc",
47 "browser/notify_done_forwarder.h",
48 "browser/shell_android.cc",
49 "browser/shell_application_mac.h",
50 "browser/shell_application_mac.mm",
51 "browser/shell_browser_context.cc",
52 "browser/shell_browser_context.h",
53 "browser/shell_browser_main.cc",
54 "browser/shell_browser_main.h",
55 "browser/shell_browser_main_parts.cc",
56 "browser/shell_browser_main_parts.h",
57 "browser/shell_browser_main_parts_mac.mm",
58 "browser/shell.cc",
59 "browser/shell_content_browser_client.cc",
60 "browser/shell_content_browser_client.h",
61 "browser/shell_devtools_delegate.cc",
62 "browser/shell_devtools_delegate.h",
63 "browser/shell_devtools_frontend.cc",
64 "browser/shell_devtools_frontend.h",
65 "browser/shell_download_manager_delegate.cc",
66 "browser/shell_download_manager_delegate.h",
67 "browser/shell.h",
68 "browser/shell_javascript_dialog.h",
69 "browser/shell_javascript_dialog_mac.mm",
70 "browser/shell_javascript_dialog_manager.cc",
71 "browser/shell_javascript_dialog_manager.h",
72 "browser/shell_javascript_dialog_win.cc",
73 "browser/shell_layout_tests_android.cc",
74 "browser/shell_layout_tests_android.h",
75 "browser/shell_login_dialog.cc",
76 "browser/shell_login_dialog.h",
77 "browser/shell_login_dialog_mac.mm",
78 "browser/shell_mac.mm",
79 "browser/shell_message_filter.cc",
80 "browser/shell_message_filter.h",
81 "browser/shell_net_log.cc",
82 "browser/shell_net_log.h",
83 "browser/shell_network_delegate.cc",
84 "browser/shell_network_delegate.h",
[email protected]945babb2014-07-30 14:25:3285 "browser/shell_notification_manager.cc",
86 "browser/shell_notification_manager.h",
[email protected]6b9028ab2014-07-23 17:15:3887 "browser/shell_platform_data_aura.cc",
88 "browser/shell_platform_data_aura.h",
89 "browser/shell_plugin_service_filter.cc",
90 "browser/shell_plugin_service_filter.h",
91 "browser/shell_quota_permission_context.cc",
92 "browser/shell_quota_permission_context.h",
93 "browser/shell_resource_dispatcher_host_delegate.cc",
94 "browser/shell_resource_dispatcher_host_delegate.h",
95 "browser/shell_speech_recognition_manager_delegate.cc",
96 "browser/shell_speech_recognition_manager_delegate.h",
97 "browser/shell_url_request_context_getter.cc",
98 "browser/shell_url_request_context_getter.h",
99 "browser/shell_web_contents_view_delegate_android.cc",
100 "browser/shell_web_contents_view_delegate_creator.h",
101 "browser/shell_web_contents_view_delegate.h",
102 "browser/shell_web_contents_view_delegate_mac.mm",
103 "browser/shell_web_contents_view_delegate_win.cc",
104 "browser/webkit_test_controller.cc",
105 "browser/webkit_test_controller.h",
106 "common/leak_detection_result.h",
107 "common/shell_content_client.cc",
108 "common/shell_content_client.h",
109 "common/shell_messages.cc",
110 "common/shell_messages.h",
111 "common/shell_switches.cc",
112 "common/shell_switches.h",
113 "common/shell_test_configuration.cc",
114 "common/shell_test_configuration.h",
115 "common/test_runner/test_preferences.cc",
116 "common/test_runner/test_preferences.h",
117 "common/webkit_test_helpers.cc",
118 "common/webkit_test_helpers.h",
119 "geolocation/shell_access_token_store.cc",
120 "geolocation/shell_access_token_store.h",
121 "renderer/gc_controller.cc",
122 "renderer/gc_controller.h",
[email protected]9cd36bfb2014-08-20 00:32:00123 "renderer/ipc_echo.cc",
124 "renderer/ipc_echo.h",
mkwst02ec0d62014-10-07 22:07:29125 "renderer/layout_test/layout_test_content_renderer_client.cc",
126 "renderer/layout_test/layout_test_content_renderer_client.h",
mkwst3e72c1f2014-10-08 05:02:36127 "renderer/layout_test/layout_test_render_frame_observer.cc",
128 "renderer/layout_test/layout_test_render_frame_observer.h",
mkwst99069fc2014-10-08 06:13:28129 "renderer/layout_test/layout_test_render_process_observer.cc",
130 "renderer/layout_test/layout_test_render_process_observer.h",
[email protected]6b9028ab2014-07-23 17:15:38131 "renderer/leak_detector.cc",
132 "renderer/leak_detector.h",
133 "renderer/shell_content_renderer_client.cc",
134 "renderer/shell_content_renderer_client.h",
[email protected]6b9028ab2014-07-23 17:15:38135 "renderer/shell_render_view_observer.cc",
136 "renderer/shell_render_view_observer.h",
[email protected]6b9028ab2014-07-23 17:15:38137 "renderer/test_runner/accessibility_controller.cc",
138 "renderer/test_runner/accessibility_controller.h",
139 "renderer/test_runner/event_sender.cc",
140 "renderer/test_runner/event_sender.h",
141 "renderer/test_runner/gamepad_controller.cc",
142 "renderer/test_runner/gamepad_controller.h",
[email protected]0e043592014-07-28 19:47:04143 "renderer/test_runner/mock_color_chooser.cc",
144 "renderer/test_runner/mock_color_chooser.h",
[email protected]6b9028ab2014-07-23 17:15:38145 "renderer/test_runner/mock_constraints.cc",
146 "renderer/test_runner/mock_constraints.h",
mkwst41667ab2014-09-16 06:52:43147 "renderer/test_runner/mock_credential_manager_client.cc",
148 "renderer/test_runner/mock_credential_manager_client.h",
[email protected]6b9028ab2014-07-23 17:15:38149 "renderer/test_runner/mock_grammar_check.cc",
150 "renderer/test_runner/mock_grammar_check.h",
151 "renderer/test_runner/mock_screen_orientation_client.cc",
152 "renderer/test_runner/mock_screen_orientation_client.h",
[email protected]f656a652014-07-25 12:19:52153 "renderer/test_runner/mock_spell_check.cc",
154 "renderer/test_runner/mock_spell_check.h",
[email protected]6b9028ab2014-07-23 17:15:38155 "renderer/test_runner/mock_web_audio_device.cc",
156 "renderer/test_runner/mock_web_audio_device.h",
[email protected]85afb6c2014-07-29 02:43:36157 "renderer/test_runner/mock_web_media_stream_center.cc",
158 "renderer/test_runner/mock_web_media_stream_center.h",
[email protected]6b950c32014-07-28 14:35:43159 "renderer/test_runner/mock_web_midi_accessor.cc",
160 "renderer/test_runner/mock_web_midi_accessor.h",
[email protected]6b9028ab2014-07-23 17:15:38161 "renderer/test_runner/mock_web_push_client.cc",
162 "renderer/test_runner/mock_web_push_client.h",
[email protected]ca35ef02014-07-31 11:46:49163 "renderer/test_runner/mock_web_speech_recognizer.cc",
164 "renderer/test_runner/mock_web_speech_recognizer.h",
[email protected]6b9028ab2014-07-23 17:15:38165 "renderer/test_runner/mock_web_theme_engine.cc",
166 "renderer/test_runner/mock_web_theme_engine.h",
[email protected]c92e06462014-07-26 21:24:22167 "renderer/test_runner/mock_web_theme_engine_mac.h",
168 "renderer/test_runner/mock_web_theme_engine_mac.mm",
[email protected]6b9028ab2014-07-23 17:15:38169 "renderer/test_runner/mock_web_user_media_client.cc",
170 "renderer/test_runner/mock_web_user_media_client.h",
171 "renderer/test_runner/mock_webrtc_data_channel_handler.cc",
172 "renderer/test_runner/mock_webrtc_data_channel_handler.h",
173 "renderer/test_runner/mock_webrtc_dtmf_sender_handler.cc",
174 "renderer/test_runner/mock_webrtc_dtmf_sender_handler.h",
175 "renderer/test_runner/mock_webrtc_peer_connection_handler.cc",
176 "renderer/test_runner/mock_webrtc_peer_connection_handler.h",
177 "renderer/test_runner/notification_presenter.cc",
178 "renderer/test_runner/notification_presenter.h",
[email protected]b38c8f312014-08-01 23:21:37179 "renderer/test_runner/spell_check_client.cc",
180 "renderer/test_runner/spell_check_client.h",
[email protected]f5b1ad882014-08-05 16:30:41181 "renderer/test_runner/test_common.cc",
182 "renderer/test_runner/test_common.h",
[email protected]8ed8bf432014-08-11 19:47:55183 "renderer/test_runner/test_interfaces.cc",
184 "renderer/test_runner/test_interfaces.h",
abhishek.a21dd9554f2014-09-03 17:19:12185 "renderer/test_runner/test_plugin.cc",
186 "renderer/test_runner/test_plugin.h",
[email protected]6b9028ab2014-07-23 17:15:38187 "renderer/test_runner/test_runner.cc",
188 "renderer/test_runner/test_runner.h",
189 "renderer/test_runner/text_input_controller.cc",
190 "renderer/test_runner/text_input_controller.h",
191 "renderer/test_runner/web_ax_object_proxy.cc",
192 "renderer/test_runner/web_ax_object_proxy.h",
193 "renderer/test_runner/web_frame_test_proxy.h",
194 "renderer/test_runner/web_permissions.cc",
195 "renderer/test_runner/web_permissions.h",
abhishek.a21ab71acb2014-09-12 16:46:31196 "renderer/test_runner/web_task.cc",
197 "renderer/test_runner/web_task.h",
abhishek.a21ca9b5602014-09-19 07:33:33198 "renderer/test_runner/web_test_delegate.h",
abhishek.a21bdd07a82014-09-25 06:34:10199 "renderer/test_runner/web_test_interfaces.cc",
200 "renderer/test_runner/web_test_interfaces.h",
[email protected]6b9028ab2014-07-23 17:15:38201 "renderer/test_runner/web_test_proxy.cc",
202 "renderer/test_runner/web_test_proxy.h",
203 "renderer/test_runner/web_test_runner.h",
204 "renderer/webkit_test_runner.cc",
205 "renderer/webkit_test_runner.h",
206 ]
207
208 defines = [ "CONTENT_SHELL_VERSION=\"$content_shell_version\"" ]
209
Brett Wilson0380637c2014-09-19 21:24:40210 public_deps = [
211 # This exposes all public content APIs.
212 "//content/public/app:both",
213 "//content/public/browser",
214 "//content/public/common",
215 "//content/public/plugin",
216 "//content/public/renderer",
217 "//content/public/utility",
218 ]
[email protected]6b9028ab2014-07-23 17:15:38219 deps = [
220 ":resources",
221 "//base",
222 "//base:base_static",
223 "//base/allocator",
224 "//base/third_party/dynamic_annotations",
225 "//cc",
Robert Sesekabcd8102014-08-27 16:12:44226 "//components/crash/app",
hanxi149b92d2014-09-11 21:57:18227 "//components/web_cache/renderer",
[email protected]6b9028ab2014-07-23 17:15:38228 "//content:resources",
[email protected]a9ca8d52014-08-22 10:21:08229 "//content/app/resources",
[email protected]6586a2e32014-08-09 19:24:12230 "//content/app/strings",
[email protected]6b9028ab2014-07-23 17:15:38231 "//content/gpu",
[email protected]6b9028ab2014-07-23 17:15:38232 "//content/test:layouttest_support",
233 "//gin",
234 "//gpu",
235 "//ipc",
236 "//media",
237 "//net",
238 "//net:net_resources",
239 "//skia",
pilgrim4af8c212014-09-05 17:30:15240 "//storage/browser",
[email protected]6b9028ab2014-07-23 17:15:38241 "//third_party/WebKit/public:blink",
[email protected]4eebe74d2014-08-13 02:54:46242 "//third_party/WebKit/public:resources",
[email protected]0e043592014-07-28 19:47:04243 "//third_party/WebKit/public:test_support",
[email protected]4eebe74d2014-08-13 02:54:46244 "//third_party/icu",
[email protected]6b9028ab2014-07-23 17:15:38245 "//ui/base",
246 "//ui/events:events_base",
247 "//ui/gfx",
248 "//ui/gfx/geometry",
249 "//ui/gfx/ipc",
250 "//ui/gl",
251 "//url",
252 "//v8",
[email protected]6b9028ab2014-07-23 17:15:38253 #'copy_test_netscape_plugin', TODO(GYP)
[email protected]6b9028ab2014-07-23 17:15:38254 ]
jamesr50081742014-09-09 07:52:22255 if (enable_plugins) {
256 deps += [ "//content/ppapi_plugin" ]
257 }
[email protected]6b9028ab2014-07-23 17:15:38258
259 if (is_win) {
[email protected]6b9028ab2014-07-23 17:15:38260 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP)
261
262 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
263 cflags = [ "/wd4267" ]
264 }
265
266 if (is_linux) {
267 configs += [ "//build/config/linux:fontconfig" ]
268 }
269
270 if (use_x11) {
[email protected]c7990dbf2014-07-23 22:35:10271 # Some tests rely on this tool at runtime. Note: it might be better if
272 # the tests that needed it had this as a dep instead of adding it here.
273 datadeps = [ "//tools/xdisplaycheck" ]
[email protected]6b9028ab2014-07-23 17:15:38274 }
275
276 if (is_android) {
James Robinson060f2e32014-09-10 22:31:37277 deps += [ "//content/shell/android:content_shell_jni_headers" ]
cjhopmancd7694af2014-09-08 00:00:04278 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP)
[email protected]6b9028ab2014-07-23 17:15:38279 }
280
281 if (is_posix && !is_mac && (!is_android || !is_android_webview_build)) {
Robert Sesekabcd8102014-08-27 16:12:44282 deps += [ "//components/crash/browser" ]
[email protected]6b9028ab2014-07-23 17:15:38283 }
284
285 if (use_aura) {
286 deps += [
287 "//ui/aura",
288 "//ui/aura:test_support",
289 "//ui/events",
290 "//ui/strings",
291 "//ui/wm",
292 ]
293
294 if (toolkit_views) {
295 sources += [ "browser/shell_views.cc" ]
296 deps += [
297 "//ui/resources",
298 "//ui/views/controls/webview",
299 "//ui/views",
300 "//ui/views:test_support",
301 ]
302 } else {
303 sources += [ "browser/shell_aura.cc" ]
304 }
James Robinson060f2e32014-09-10 22:31:37305 } else {
306 sources -= [
307 "browser/shell_platform_data_aura.cc",
308 "browser/shell_platform_data_aura.h",
309 ]
[email protected]6b9028ab2014-07-23 17:15:38310 }
311
312 # The test plugin relies on X11.
313 if (is_linux && !use_x11) {
314 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP)
315 }
316
317 if (is_chromeos) {
318 deps += [
319 "//ui/wm:test_support",
320 #'../chromeos/chromeos.gyp:chromeos', TODO(GYP)
321 ]
322 }
323
324 if (is_linux) {
325 deps += [ "//third_party/freetype2" ]
326 }
327
328 if (!enable_plugins) {
329 sources -= [
330 "browser/shell_plugin_service_filter.cc",
331 "browser/shell_plugin_service_filter.h",
332 ]
333 }
334}
335
336grit("content_shell_resources_grit") {
brettw9af42622014-09-06 21:21:02337 visibility = [ ":*" ]
[email protected]6b9028ab2014-07-23 17:15:38338 source = "shell_resources.grd"
339 outputs = [
340 "grit/shell_resources.h",
341 "shell_resources.pak",
342 "shell_resources.rc",
343 ]
344}
345
346copy("copy_shell_resources") {
347 sources = [ "$target_gen_dir/shell_resources.pak" ]
348 outputs = [ "$root_out_dir/shell_resources.pak" ]
349
Brett Wilsone53895272014-09-23 23:41:46350 public_deps = [ ":content_shell_resources_grit" ]
[email protected]6b9028ab2014-07-23 17:15:38351}
352
353# Font copies.
354if (!is_mac) {
355 copy("copy_ahem") {
brettw9af42622014-09-06 21:21:02356 visibility = [ ":*" ]
[email protected]6b9028ab2014-07-23 17:15:38357 sources = [ "renderer/test_runner/resources/fonts/AHEM____.TTF" ]
358 outputs = [ "$root_out_dir/AHEM____.TTF" ]
359 }
360}
361if (use_x11) {
362 copy("copy_x11_fonts") {
brettw9af42622014-09-06 21:21:02363 visibility = [ ":*" ]
[email protected]6b9028ab2014-07-23 17:15:38364 sources = [
365 "renderer/test_runner/resources/fonts/fonts.conf",
366 "//third_party/gardiner_mod/GardinerModBug.ttf",
367 "//third_party/gardiner_mod/GardinerModCat.ttf",
368 ]
369 outputs = [ "$root_out_dir/{{source_file_part}}" ]
370 }
371}
372if (is_android) {
373 copy("copy_android_fonts") {
brettw9af42622014-09-06 21:21:02374 visibility = [ ":*" ]
[email protected]6b9028ab2014-07-23 17:15:38375 sources = [
376 "renderer/test_runner/resources/fonts/android_main_fonts.xml",
377 "renderer/test_runner/resources/fonts/android_fallback_fonts.xml",
378 ]
379 outputs = [ "$root_out_dir/{{source_file_part}}" ]
380 }
381}
382
383group("resources") {
Brett Wilsone53895272014-09-23 23:41:46384 public_deps = [
[email protected]6b9028ab2014-07-23 17:15:38385 ":copy_shell_resources",
386 ]
Brett Wilsone53895272014-09-23 23:41:46387 deps = []
[email protected]6b9028ab2014-07-23 17:15:38388
389 if (is_mac) {
390 # TODO(GYP) Mac bundle resources.
391 #'all_dependent_settings': {
392 # 'mac_bundle_resources': [
393 # 'shell/renderer/test_runner/resources/fonts/AHEM____.TTF',
394 # 'shell/renderer/test_runner/resources/fonts/ChromiumAATTest.ttf',
395 # '<(SHARED_INTERMEDIATE_DIR)/webkit/missingImage.png',
396 # '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png',
397 # ],
398 #},
399 } else {
400 deps += [ ":copy_ahem" ]
401 }
402
403 if (use_x11) {
404 deps += [ ":copy_x11_fonts" ]
405 }
406 if (is_android) {
407 deps += [ ":copy_android_fonts" ]
408 }
409}
410
411repack("pak") {
412 sources = [
[email protected]48885492014-08-13 11:22:41413 "$root_gen_dir/blink/public/resources/blink_resources.pak",
[email protected]a9ca8d52014-08-22 10:21:08414 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
[email protected]6586a2e32014-08-09 19:24:12415 "$root_gen_dir/content/app/strings/content_strings_en-US.pak",
[email protected]6b9028ab2014-07-23 17:15:38416 "$root_gen_dir/content/browser/tracing/tracing_resources.pak",
[email protected]6586a2e32014-08-09 19:24:12417 "$root_gen_dir/content/content_resources.pak",
[email protected]6b9028ab2014-07-23 17:15:38418 "$root_gen_dir/content/shell/shell_resources.pak",
419 "$root_gen_dir/net/net_resources.pak",
420 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
421 "$root_gen_dir/ui/resources/webui_resources.pak",
422 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
423 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
[email protected]6b9028ab2014-07-23 17:15:38424 ]
425
426 deps = [
427 ":resources",
428 "//content:resources",
[email protected]a9ca8d52014-08-22 10:21:08429 "//content/app/resources",
[email protected]6586a2e32014-08-09 19:24:12430 "//content/app/strings",
[email protected]6b9028ab2014-07-23 17:15:38431 "//content/browser/tracing:resources",
432 "//net:net_resources",
[email protected]4eebe74d2014-08-13 02:54:46433 "//third_party/WebKit/public:resources",
[email protected]6b9028ab2014-07-23 17:15:38434 "//ui/resources",
435 "//ui/strings",
[email protected]6b9028ab2014-07-23 17:15:38436 ]
437
cjhopman2fd48fd2014-09-24 00:52:56438 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ]
439 deps += [ "//content/browser/devtools:resources" ]
440 output = "$root_out_dir/content_shell.pak"
[email protected]6b9028ab2014-07-23 17:15:38441}
442
James Robinson060f2e32014-09-10 22:31:37443# TODO(GYP): Figure out what this should be on android
444if (!is_android) {
445
[email protected]6b9028ab2014-07-23 17:15:38446executable("content_shell") {
Brett Wilson8f80ad0b2014-09-08 19:50:24447 testonly = true
[email protected]6b9028ab2014-07-23 17:15:38448 # TODO(GYP) mac resource bundle stuff for this target.
449 # TODO(GYP) Windows content shell settings:
450 # - Manifest.
451 # - RC file.
452 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
453 sources = [
454 "../app/startup_helper_win.cc",
455 "app/shell_main.cc",
456 ]
457
458 deps = [
459 ":content_shell_lib",
460 ":pak",
461 "//base/allocator",
[email protected]6b9028ab2014-07-23 17:15:38462 ]
463
464 if (is_win) {
[email protected]086370372014-07-29 21:23:58465 deps += [ "//sandbox" ]
[email protected]6b9028ab2014-07-23 17:15:38466 if (!is_asan) {
467 configs -= [ "//build/config/win:console" ]
468 configs += [ "//build/config/win:windowed" ]
469 }
470 }
471
472 if (is_mac) {
473 # TODO(GYP) lots of stuff from GYP file here.
474 }
475
James Robinson060f2e32014-09-10 22:31:37476 if (is_android && !is_android_webview_build) {
[email protected]938c54d2014-07-23 21:15:14477 # Some tests rely on this tool. It might be nicer if these tests relied on
478 # image diff rather than having content shell depend on it.
479 datadeps = [
480 "//tools/imagediff($host_toolchain)",
[email protected]6b9028ab2014-07-23 17:15:38481 ]
482 }
483}
James Robinson060f2e32014-09-10 22:31:37484
485}