blob: 90ad66ba0a4a16ba93277c3fc0c019702159b2fc [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",
mkwst002d02902014-10-09 10:17:0046 "browser/layout_test/layout_test_resource_dispatcher_host_delegate.cc",
47 "browser/layout_test/layout_test_resource_dispatcher_host_delegate.h",
[email protected]6b9028ab2014-07-23 17:15:3848 "browser/notify_done_forwarder.cc",
49 "browser/notify_done_forwarder.h",
50 "browser/shell_android.cc",
51 "browser/shell_application_mac.h",
52 "browser/shell_application_mac.mm",
53 "browser/shell_browser_context.cc",
54 "browser/shell_browser_context.h",
55 "browser/shell_browser_main.cc",
56 "browser/shell_browser_main.h",
57 "browser/shell_browser_main_parts.cc",
58 "browser/shell_browser_main_parts.h",
59 "browser/shell_browser_main_parts_mac.mm",
60 "browser/shell.cc",
61 "browser/shell_content_browser_client.cc",
62 "browser/shell_content_browser_client.h",
63 "browser/shell_devtools_delegate.cc",
64 "browser/shell_devtools_delegate.h",
65 "browser/shell_devtools_frontend.cc",
66 "browser/shell_devtools_frontend.h",
67 "browser/shell_download_manager_delegate.cc",
68 "browser/shell_download_manager_delegate.h",
69 "browser/shell.h",
70 "browser/shell_javascript_dialog.h",
71 "browser/shell_javascript_dialog_mac.mm",
72 "browser/shell_javascript_dialog_manager.cc",
73 "browser/shell_javascript_dialog_manager.h",
74 "browser/shell_javascript_dialog_win.cc",
75 "browser/shell_layout_tests_android.cc",
76 "browser/shell_layout_tests_android.h",
ppif581fe92014-10-08 18:52:1977 "browser/shell_mojo_test_utils_android.cc",
78 "browser/shell_mojo_test_utils_android.h",
[email protected]6b9028ab2014-07-23 17:15:3879 "browser/shell_login_dialog.cc",
80 "browser/shell_login_dialog.h",
81 "browser/shell_login_dialog_mac.mm",
82 "browser/shell_mac.mm",
83 "browser/shell_message_filter.cc",
84 "browser/shell_message_filter.h",
85 "browser/shell_net_log.cc",
86 "browser/shell_net_log.h",
87 "browser/shell_network_delegate.cc",
88 "browser/shell_network_delegate.h",
[email protected]945babb2014-07-30 14:25:3289 "browser/shell_notification_manager.cc",
90 "browser/shell_notification_manager.h",
[email protected]6b9028ab2014-07-23 17:15:3891 "browser/shell_platform_data_aura.cc",
92 "browser/shell_platform_data_aura.h",
93 "browser/shell_plugin_service_filter.cc",
94 "browser/shell_plugin_service_filter.h",
95 "browser/shell_quota_permission_context.cc",
96 "browser/shell_quota_permission_context.h",
97 "browser/shell_resource_dispatcher_host_delegate.cc",
98 "browser/shell_resource_dispatcher_host_delegate.h",
99 "browser/shell_speech_recognition_manager_delegate.cc",
100 "browser/shell_speech_recognition_manager_delegate.h",
101 "browser/shell_url_request_context_getter.cc",
102 "browser/shell_url_request_context_getter.h",
103 "browser/shell_web_contents_view_delegate_android.cc",
104 "browser/shell_web_contents_view_delegate_creator.h",
105 "browser/shell_web_contents_view_delegate.h",
106 "browser/shell_web_contents_view_delegate_mac.mm",
107 "browser/shell_web_contents_view_delegate_win.cc",
108 "browser/webkit_test_controller.cc",
109 "browser/webkit_test_controller.h",
110 "common/leak_detection_result.h",
111 "common/shell_content_client.cc",
112 "common/shell_content_client.h",
113 "common/shell_messages.cc",
114 "common/shell_messages.h",
115 "common/shell_switches.cc",
116 "common/shell_switches.h",
117 "common/shell_test_configuration.cc",
118 "common/shell_test_configuration.h",
119 "common/test_runner/test_preferences.cc",
120 "common/test_runner/test_preferences.h",
121 "common/webkit_test_helpers.cc",
122 "common/webkit_test_helpers.h",
123 "geolocation/shell_access_token_store.cc",
124 "geolocation/shell_access_token_store.h",
[email protected]9cd36bfb2014-08-20 00:32:00125 "renderer/ipc_echo.cc",
126 "renderer/ipc_echo.h",
mkwst04b72d12014-10-08 15:52:55127 "renderer/layout_test/gc_controller.cc",
128 "renderer/layout_test/gc_controller.h",
mkwst02ec0d62014-10-07 22:07:29129 "renderer/layout_test/layout_test_content_renderer_client.cc",
130 "renderer/layout_test/layout_test_content_renderer_client.h",
mkwst3e72c1f2014-10-08 05:02:36131 "renderer/layout_test/layout_test_render_frame_observer.cc",
132 "renderer/layout_test/layout_test_render_frame_observer.h",
mkwst99069fc2014-10-08 06:13:28133 "renderer/layout_test/layout_test_render_process_observer.cc",
134 "renderer/layout_test/layout_test_render_process_observer.h",
mkwst04b72d12014-10-08 15:52:55135 "renderer/layout_test/leak_detector.cc",
136 "renderer/layout_test/leak_detector.h",
137 "renderer/layout_test/webkit_test_runner.cc",
138 "renderer/layout_test/webkit_test_runner.h",
[email protected]6b9028ab2014-07-23 17:15:38139 "renderer/shell_content_renderer_client.cc",
140 "renderer/shell_content_renderer_client.h",
[email protected]6b9028ab2014-07-23 17:15:38141 "renderer/shell_render_view_observer.cc",
142 "renderer/shell_render_view_observer.h",
[email protected]6b9028ab2014-07-23 17:15:38143 "renderer/test_runner/accessibility_controller.cc",
144 "renderer/test_runner/accessibility_controller.h",
145 "renderer/test_runner/event_sender.cc",
146 "renderer/test_runner/event_sender.h",
147 "renderer/test_runner/gamepad_controller.cc",
148 "renderer/test_runner/gamepad_controller.h",
[email protected]0e043592014-07-28 19:47:04149 "renderer/test_runner/mock_color_chooser.cc",
150 "renderer/test_runner/mock_color_chooser.h",
[email protected]6b9028ab2014-07-23 17:15:38151 "renderer/test_runner/mock_constraints.cc",
152 "renderer/test_runner/mock_constraints.h",
mkwst41667ab2014-09-16 06:52:43153 "renderer/test_runner/mock_credential_manager_client.cc",
154 "renderer/test_runner/mock_credential_manager_client.h",
[email protected]6b9028ab2014-07-23 17:15:38155 "renderer/test_runner/mock_grammar_check.cc",
156 "renderer/test_runner/mock_grammar_check.h",
157 "renderer/test_runner/mock_screen_orientation_client.cc",
158 "renderer/test_runner/mock_screen_orientation_client.h",
[email protected]f656a652014-07-25 12:19:52159 "renderer/test_runner/mock_spell_check.cc",
160 "renderer/test_runner/mock_spell_check.h",
[email protected]6b9028ab2014-07-23 17:15:38161 "renderer/test_runner/mock_web_audio_device.cc",
162 "renderer/test_runner/mock_web_audio_device.h",
[email protected]85afb6c2014-07-29 02:43:36163 "renderer/test_runner/mock_web_media_stream_center.cc",
164 "renderer/test_runner/mock_web_media_stream_center.h",
[email protected]6b950c32014-07-28 14:35:43165 "renderer/test_runner/mock_web_midi_accessor.cc",
166 "renderer/test_runner/mock_web_midi_accessor.h",
[email protected]6b9028ab2014-07-23 17:15:38167 "renderer/test_runner/mock_web_push_client.cc",
168 "renderer/test_runner/mock_web_push_client.h",
[email protected]ca35ef02014-07-31 11:46:49169 "renderer/test_runner/mock_web_speech_recognizer.cc",
170 "renderer/test_runner/mock_web_speech_recognizer.h",
[email protected]6b9028ab2014-07-23 17:15:38171 "renderer/test_runner/mock_web_theme_engine.cc",
172 "renderer/test_runner/mock_web_theme_engine.h",
[email protected]c92e06462014-07-26 21:24:22173 "renderer/test_runner/mock_web_theme_engine_mac.h",
174 "renderer/test_runner/mock_web_theme_engine_mac.mm",
[email protected]6b9028ab2014-07-23 17:15:38175 "renderer/test_runner/mock_web_user_media_client.cc",
176 "renderer/test_runner/mock_web_user_media_client.h",
177 "renderer/test_runner/mock_webrtc_data_channel_handler.cc",
178 "renderer/test_runner/mock_webrtc_data_channel_handler.h",
179 "renderer/test_runner/mock_webrtc_dtmf_sender_handler.cc",
180 "renderer/test_runner/mock_webrtc_dtmf_sender_handler.h",
181 "renderer/test_runner/mock_webrtc_peer_connection_handler.cc",
182 "renderer/test_runner/mock_webrtc_peer_connection_handler.h",
183 "renderer/test_runner/notification_presenter.cc",
184 "renderer/test_runner/notification_presenter.h",
[email protected]b38c8f312014-08-01 23:21:37185 "renderer/test_runner/spell_check_client.cc",
186 "renderer/test_runner/spell_check_client.h",
[email protected]f5b1ad882014-08-05 16:30:41187 "renderer/test_runner/test_common.cc",
188 "renderer/test_runner/test_common.h",
[email protected]8ed8bf432014-08-11 19:47:55189 "renderer/test_runner/test_interfaces.cc",
190 "renderer/test_runner/test_interfaces.h",
abhishek.a21dd9554f2014-09-03 17:19:12191 "renderer/test_runner/test_plugin.cc",
192 "renderer/test_runner/test_plugin.h",
[email protected]6b9028ab2014-07-23 17:15:38193 "renderer/test_runner/test_runner.cc",
194 "renderer/test_runner/test_runner.h",
195 "renderer/test_runner/text_input_controller.cc",
196 "renderer/test_runner/text_input_controller.h",
197 "renderer/test_runner/web_ax_object_proxy.cc",
198 "renderer/test_runner/web_ax_object_proxy.h",
199 "renderer/test_runner/web_frame_test_proxy.h",
200 "renderer/test_runner/web_permissions.cc",
201 "renderer/test_runner/web_permissions.h",
abhishek.a21ab71acb2014-09-12 16:46:31202 "renderer/test_runner/web_task.cc",
203 "renderer/test_runner/web_task.h",
abhishek.a21ca9b5602014-09-19 07:33:33204 "renderer/test_runner/web_test_delegate.h",
abhishek.a21bdd07a82014-09-25 06:34:10205 "renderer/test_runner/web_test_interfaces.cc",
206 "renderer/test_runner/web_test_interfaces.h",
[email protected]6b9028ab2014-07-23 17:15:38207 "renderer/test_runner/web_test_proxy.cc",
208 "renderer/test_runner/web_test_proxy.h",
209 "renderer/test_runner/web_test_runner.h",
[email protected]6b9028ab2014-07-23 17:15:38210 ]
211
212 defines = [ "CONTENT_SHELL_VERSION=\"$content_shell_version\"" ]
213
Brett Wilson0380637c2014-09-19 21:24:40214 public_deps = [
215 # This exposes all public content APIs.
216 "//content/public/app:both",
217 "//content/public/browser",
218 "//content/public/common",
219 "//content/public/plugin",
220 "//content/public/renderer",
221 "//content/public/utility",
222 ]
[email protected]6b9028ab2014-07-23 17:15:38223 deps = [
224 ":resources",
225 "//base",
226 "//base:base_static",
227 "//base/allocator",
228 "//base/third_party/dynamic_annotations",
229 "//cc",
Robert Sesekabcd8102014-08-27 16:12:44230 "//components/crash/app",
hanxi149b92d2014-09-11 21:57:18231 "//components/web_cache/renderer",
[email protected]6b9028ab2014-07-23 17:15:38232 "//content:resources",
[email protected]a9ca8d52014-08-22 10:21:08233 "//content/app/resources",
[email protected]6586a2e32014-08-09 19:24:12234 "//content/app/strings",
[email protected]6b9028ab2014-07-23 17:15:38235 "//content/gpu",
[email protected]6b9028ab2014-07-23 17:15:38236 "//content/test:layouttest_support",
237 "//gin",
238 "//gpu",
239 "//ipc",
240 "//media",
241 "//net",
242 "//net:net_resources",
243 "//skia",
pilgrim4af8c212014-09-05 17:30:15244 "//storage/browser",
[email protected]6b9028ab2014-07-23 17:15:38245 "//third_party/WebKit/public:blink",
[email protected]4eebe74d2014-08-13 02:54:46246 "//third_party/WebKit/public:resources",
[email protected]0e043592014-07-28 19:47:04247 "//third_party/WebKit/public:test_support",
[email protected]4eebe74d2014-08-13 02:54:46248 "//third_party/icu",
[email protected]6b9028ab2014-07-23 17:15:38249 "//ui/base",
250 "//ui/events:events_base",
251 "//ui/gfx",
252 "//ui/gfx/geometry",
253 "//ui/gfx/ipc",
254 "//ui/gl",
255 "//url",
256 "//v8",
[email protected]6b9028ab2014-07-23 17:15:38257 #'copy_test_netscape_plugin', TODO(GYP)
[email protected]6b9028ab2014-07-23 17:15:38258 ]
jamesr50081742014-09-09 07:52:22259 if (enable_plugins) {
260 deps += [ "//content/ppapi_plugin" ]
261 }
[email protected]6b9028ab2014-07-23 17:15:38262
263 if (is_win) {
[email protected]6b9028ab2014-07-23 17:15:38264 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP)
265
266 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
267 cflags = [ "/wd4267" ]
268 }
269
270 if (is_linux) {
271 configs += [ "//build/config/linux:fontconfig" ]
272 }
273
274 if (use_x11) {
[email protected]c7990dbf2014-07-23 22:35:10275 # Some tests rely on this tool at runtime. Note: it might be better if
276 # the tests that needed it had this as a dep instead of adding it here.
277 datadeps = [ "//tools/xdisplaycheck" ]
[email protected]6b9028ab2014-07-23 17:15:38278 }
279
280 if (is_android) {
James Robinson060f2e32014-09-10 22:31:37281 deps += [ "//content/shell/android:content_shell_jni_headers" ]
cjhopmancd7694af2014-09-08 00:00:04282 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP)
[email protected]6b9028ab2014-07-23 17:15:38283 }
284
285 if (is_posix && !is_mac && (!is_android || !is_android_webview_build)) {
Robert Sesekabcd8102014-08-27 16:12:44286 deps += [ "//components/crash/browser" ]
[email protected]6b9028ab2014-07-23 17:15:38287 }
288
289 if (use_aura) {
290 deps += [
291 "//ui/aura",
292 "//ui/aura:test_support",
293 "//ui/events",
294 "//ui/strings",
295 "//ui/wm",
296 ]
297
298 if (toolkit_views) {
299 sources += [ "browser/shell_views.cc" ]
300 deps += [
301 "//ui/resources",
302 "//ui/views/controls/webview",
303 "//ui/views",
304 "//ui/views:test_support",
305 ]
306 } else {
307 sources += [ "browser/shell_aura.cc" ]
308 }
James Robinson060f2e32014-09-10 22:31:37309 } else {
310 sources -= [
311 "browser/shell_platform_data_aura.cc",
312 "browser/shell_platform_data_aura.h",
313 ]
[email protected]6b9028ab2014-07-23 17:15:38314 }
315
316 # The test plugin relies on X11.
317 if (is_linux && !use_x11) {
318 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP)
319 }
320
321 if (is_chromeos) {
322 deps += [
323 "//ui/wm:test_support",
324 #'../chromeos/chromeos.gyp:chromeos', TODO(GYP)
325 ]
326 }
327
328 if (is_linux) {
329 deps += [ "//third_party/freetype2" ]
330 }
331
332 if (!enable_plugins) {
333 sources -= [
334 "browser/shell_plugin_service_filter.cc",
335 "browser/shell_plugin_service_filter.h",
336 ]
337 }
338}
339
340grit("content_shell_resources_grit") {
brettw9af42622014-09-06 21:21:02341 visibility = [ ":*" ]
[email protected]6b9028ab2014-07-23 17:15:38342 source = "shell_resources.grd"
343 outputs = [
344 "grit/shell_resources.h",
345 "shell_resources.pak",
346 "shell_resources.rc",
347 ]
348}
349
350copy("copy_shell_resources") {
351 sources = [ "$target_gen_dir/shell_resources.pak" ]
352 outputs = [ "$root_out_dir/shell_resources.pak" ]
353
Brett Wilsone53895272014-09-23 23:41:46354 public_deps = [ ":content_shell_resources_grit" ]
[email protected]6b9028ab2014-07-23 17:15:38355}
356
357# Font copies.
358if (!is_mac) {
359 copy("copy_ahem") {
brettw9af42622014-09-06 21:21:02360 visibility = [ ":*" ]
[email protected]6b9028ab2014-07-23 17:15:38361 sources = [ "renderer/test_runner/resources/fonts/AHEM____.TTF" ]
362 outputs = [ "$root_out_dir/AHEM____.TTF" ]
363 }
364}
365if (use_x11) {
366 copy("copy_x11_fonts") {
brettw9af42622014-09-06 21:21:02367 visibility = [ ":*" ]
[email protected]6b9028ab2014-07-23 17:15:38368 sources = [
369 "renderer/test_runner/resources/fonts/fonts.conf",
370 "//third_party/gardiner_mod/GardinerModBug.ttf",
371 "//third_party/gardiner_mod/GardinerModCat.ttf",
372 ]
373 outputs = [ "$root_out_dir/{{source_file_part}}" ]
374 }
375}
376if (is_android) {
377 copy("copy_android_fonts") {
brettw9af42622014-09-06 21:21:02378 visibility = [ ":*" ]
[email protected]6b9028ab2014-07-23 17:15:38379 sources = [
380 "renderer/test_runner/resources/fonts/android_main_fonts.xml",
381 "renderer/test_runner/resources/fonts/android_fallback_fonts.xml",
382 ]
383 outputs = [ "$root_out_dir/{{source_file_part}}" ]
384 }
385}
386
387group("resources") {
Brett Wilsone53895272014-09-23 23:41:46388 public_deps = [
[email protected]6b9028ab2014-07-23 17:15:38389 ":copy_shell_resources",
390 ]
Brett Wilsone53895272014-09-23 23:41:46391 deps = []
[email protected]6b9028ab2014-07-23 17:15:38392
393 if (is_mac) {
394 # TODO(GYP) Mac bundle resources.
395 #'all_dependent_settings': {
396 # 'mac_bundle_resources': [
397 # 'shell/renderer/test_runner/resources/fonts/AHEM____.TTF',
398 # 'shell/renderer/test_runner/resources/fonts/ChromiumAATTest.ttf',
399 # '<(SHARED_INTERMEDIATE_DIR)/webkit/missingImage.png',
400 # '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png',
401 # ],
402 #},
403 } else {
404 deps += [ ":copy_ahem" ]
405 }
406
407 if (use_x11) {
408 deps += [ ":copy_x11_fonts" ]
409 }
410 if (is_android) {
411 deps += [ ":copy_android_fonts" ]
412 }
413}
414
415repack("pak") {
416 sources = [
[email protected]48885492014-08-13 11:22:41417 "$root_gen_dir/blink/public/resources/blink_resources.pak",
[email protected]a9ca8d52014-08-22 10:21:08418 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
[email protected]6586a2e32014-08-09 19:24:12419 "$root_gen_dir/content/app/strings/content_strings_en-US.pak",
[email protected]6b9028ab2014-07-23 17:15:38420 "$root_gen_dir/content/browser/tracing/tracing_resources.pak",
[email protected]6586a2e32014-08-09 19:24:12421 "$root_gen_dir/content/content_resources.pak",
[email protected]6b9028ab2014-07-23 17:15:38422 "$root_gen_dir/content/shell/shell_resources.pak",
423 "$root_gen_dir/net/net_resources.pak",
424 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
425 "$root_gen_dir/ui/resources/webui_resources.pak",
426 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
427 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
[email protected]6b9028ab2014-07-23 17:15:38428 ]
429
430 deps = [
431 ":resources",
432 "//content:resources",
[email protected]a9ca8d52014-08-22 10:21:08433 "//content/app/resources",
[email protected]6586a2e32014-08-09 19:24:12434 "//content/app/strings",
[email protected]6b9028ab2014-07-23 17:15:38435 "//content/browser/tracing:resources",
436 "//net:net_resources",
[email protected]4eebe74d2014-08-13 02:54:46437 "//third_party/WebKit/public:resources",
[email protected]6b9028ab2014-07-23 17:15:38438 "//ui/resources",
439 "//ui/strings",
[email protected]6b9028ab2014-07-23 17:15:38440 ]
441
cjhopman2fd48fd2014-09-24 00:52:56442 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ]
443 deps += [ "//content/browser/devtools:resources" ]
444 output = "$root_out_dir/content_shell.pak"
[email protected]6b9028ab2014-07-23 17:15:38445}
446
James Robinson060f2e32014-09-10 22:31:37447# TODO(GYP): Figure out what this should be on android
448if (!is_android) {
449
[email protected]6b9028ab2014-07-23 17:15:38450executable("content_shell") {
Brett Wilson8f80ad0b2014-09-08 19:50:24451 testonly = true
[email protected]6b9028ab2014-07-23 17:15:38452 # TODO(GYP) mac resource bundle stuff for this target.
453 # TODO(GYP) Windows content shell settings:
454 # - Manifest.
455 # - RC file.
456 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
457 sources = [
458 "../app/startup_helper_win.cc",
459 "app/shell_main.cc",
460 ]
461
462 deps = [
463 ":content_shell_lib",
464 ":pak",
465 "//base/allocator",
[email protected]6b9028ab2014-07-23 17:15:38466 ]
467
468 if (is_win) {
[email protected]086370372014-07-29 21:23:58469 deps += [ "//sandbox" ]
[email protected]6b9028ab2014-07-23 17:15:38470 if (!is_asan) {
471 configs -= [ "//build/config/win:console" ]
472 configs += [ "//build/config/win:windowed" ]
473 }
474 }
475
476 if (is_mac) {
477 # TODO(GYP) lots of stuff from GYP file here.
478 }
479
James Robinson060f2e32014-09-10 22:31:37480 if (is_android && !is_android_webview_build) {
[email protected]938c54d2014-07-23 21:15:14481 # Some tests rely on this tool. It might be nicer if these tests relied on
482 # image diff rather than having content shell depend on it.
483 datadeps = [
484 "//tools/imagediff($host_toolchain)",
[email protected]6b9028ab2014-07-23 17:15:38485 ]
486 }
487}
James Robinson060f2e32014-09-10 22:31:37488
489}