Use offsetX and offsetY to position the fake mouse cursor.
[chromium-blink-merge.git] / content / content_shell.gypi
blob7b46b9c2f9f8e62c671bdd8690941abdbcd74d71
1 # Copyright (c) 2012 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.
6   'variables': {
7     'content_shell_product_name': 'Content Shell',
8     # The "19" is so that sites that sniff for version think that this is
9     # something reasonably current; the "77.34.5" is a hint that this isn't a
10     # standard Chrome.
11     'content_shell_version': '19.77.34.5',
12     'conditions': [
13       ['OS=="linux"', {
14        'use_custom_freetype%': 1,
15       }, {
16        'use_custom_freetype%': 0,
17       }],
18     ],
19   },
20   'targets': [
21     {
22       # GN version: //content/shell:content_shell_lib
23       'target_name': 'content_shell_lib',
24       'type': 'static_library',
25       'defines': ['CONTENT_SHELL_VERSION="<(content_shell_version)"'],
26       'variables': {
27         'chromium_code': 1,
28       },
29       'dependencies': [
30         'app/resources/content_resources.gyp:content_resources',
31         'app/strings/content_strings.gyp:content_strings',
32         'content.gyp:content_app_both',
33         'content.gyp:content_browser',
34         'content.gyp:content_common',
35         'content.gyp:content_gpu',
36         'content.gyp:content_plugin',
37         'content.gyp:content_ppapi_plugin',
38         'content.gyp:content_renderer',
39         'content.gyp:content_resources',
40         'content.gyp:content_utility',
41         'content_shell_resources',
42         'copy_test_netscape_plugin',
43         'layouttest_support_content',
44         '../base/base.gyp:base',
45         '../base/base.gyp:base_static',
46         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
47         '../cc/blink/cc_blink.gyp:cc_blink',
48         '../cc/cc.gyp:cc',
49         '../components/components.gyp:crash_component',
50         '../components/components.gyp:web_cache_renderer',
51         '../device/bluetooth/bluetooth.gyp:device_bluetooth',
52         '../gin/gin.gyp:gin',
53         '../gpu/gpu.gyp:gpu',
54         '../ipc/ipc.gyp:ipc',
55         '../media/blink/media_blink.gyp:media_blink',
56         '../media/media.gyp:media',
57         '../net/net.gyp:net',
58         '../net/net.gyp:net_resources',
59         '../skia/skia.gyp:skia',
60         '../storage/storage_browser.gyp:storage',
61         '../third_party/WebKit/public/blink.gyp:blink',
62         '../third_party/WebKit/public/blink.gyp:blink_test_support',
63         '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
64         '../ui/base/ui_base.gyp:ui_base',
65         '../ui/events/events.gyp:events_base',
66         '../ui/gfx/gfx.gyp:gfx',
67         '../ui/gfx/gfx.gyp:gfx_geometry',
68         '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
69         '../ui/gl/gl.gyp:gl',
70         '../url/url.gyp:url_lib',
71         '../v8/tools/gyp/v8.gyp:v8',
72       ],
73       'include_dirs': [
74         '..',
75       ],
76       'sources': [
77         # Note: sources list duplicated in GN build.
78         'shell/android/shell_jni_registrar.cc',
79         'shell/android/shell_jni_registrar.h',
80         'shell/android/shell_manager.cc',
81         'shell/android/shell_manager.h',
82         'shell/app/blink_test_platform_support.h',
83         'shell/app/blink_test_platform_support_android.cc',
84         'shell/app/blink_test_platform_support_linux.cc',
85         'shell/app/blink_test_platform_support_mac.mm',
86         'shell/app/blink_test_platform_support_win.cc',
87         'shell/app/paths_mac.h',
88         'shell/app/paths_mac.mm',
89         'shell/app/shell_crash_reporter_client.cc',
90         'shell/app/shell_crash_reporter_client.h',
91         'shell/app/shell_main_delegate.cc',
92         'shell/app/shell_main_delegate.h',
93         'shell/app/shell_main_delegate_mac.h',
94         'shell/app/shell_main_delegate_mac.mm',
95         'shell/browser/ipc_echo_message_filter.cc',
96         'shell/browser/ipc_echo_message_filter.h',
97         'shell/browser/layout_test/layout_test_android.cc',
98         'shell/browser/layout_test/layout_test_android.h',
99         'shell/browser/layout_test/layout_test_browser_context.cc',
100         'shell/browser/layout_test/layout_test_browser_context.h',
101         'shell/browser/layout_test/layout_test_browser_main.cc',
102         'shell/browser/layout_test/layout_test_browser_main.h',
103         'shell/browser/layout_test/layout_test_browser_main_parts.cc',
104         'shell/browser/layout_test/layout_test_browser_main_parts.h',
105         'shell/browser/layout_test/layout_test_content_browser_client.cc',
106         'shell/browser/layout_test/layout_test_content_browser_client.h',
107         'shell/browser/layout_test/layout_test_devtools_frontend.cc',
108         'shell/browser/layout_test/layout_test_devtools_frontend.h',
109         'shell/browser/layout_test/layout_test_download_manager_delegate.cc',
110         'shell/browser/layout_test/layout_test_download_manager_delegate.h',
111         'shell/browser/layout_test/layout_test_javascript_dialog_manager.cc',
112         'shell/browser/layout_test/layout_test_javascript_dialog_manager.h',
113         'shell/browser/layout_test/layout_test_message_filter.cc',
114         'shell/browser/layout_test/layout_test_message_filter.h',
115         'shell/browser/layout_test/layout_test_notification_manager.cc',
116         'shell/browser/layout_test/layout_test_notification_manager.h',
117         'shell/browser/layout_test/layout_test_push_messaging_service.cc',
118         'shell/browser/layout_test/layout_test_push_messaging_service.h',
119         'shell/browser/layout_test/layout_test_resource_dispatcher_host_delegate.cc',
120         'shell/browser/layout_test/layout_test_resource_dispatcher_host_delegate.h',
121         'shell/browser/layout_test/layout_test_url_request_context_getter.cc',
122         'shell/browser/layout_test/layout_test_url_request_context_getter.h',
123         'shell/browser/notify_done_forwarder.cc',
124         'shell/browser/notify_done_forwarder.h',
125         'shell/browser/shell.cc',
126         'shell/browser/shell.h',
127         'shell/browser/shell_access_token_store.cc',
128         'shell/browser/shell_access_token_store.h',
129         'shell/browser/shell_android.cc',
130         'shell/browser/shell_application_mac.h',
131         'shell/browser/shell_application_mac.mm',
132         'shell/browser/shell_aura.cc',
133         'shell/browser/shell_browser_context.cc',
134         'shell/browser/shell_browser_context.h',
135         'shell/browser/shell_browser_main.cc',
136         'shell/browser/shell_browser_main.h',
137         'shell/browser/shell_browser_main_parts.cc',
138         'shell/browser/shell_browser_main_parts.h',
139         'shell/browser/shell_browser_main_parts_mac.mm',
140         'shell/browser/shell_content_browser_client.cc',
141         'shell/browser/shell_content_browser_client.h',
142         'shell/browser/shell_devtools_frontend.cc',
143         'shell/browser/shell_devtools_frontend.h',
144         'shell/browser/shell_devtools_manager_delegate.cc',
145         'shell/browser/shell_devtools_manager_delegate.h',
146         'shell/browser/shell_download_manager_delegate.cc',
147         'shell/browser/shell_download_manager_delegate.h',
148         'shell/browser/shell_javascript_dialog.h',
149         'shell/browser/shell_javascript_dialog_mac.mm',
150         'shell/browser/shell_javascript_dialog_manager.cc',
151         'shell/browser/shell_javascript_dialog_manager.h',
152         'shell/browser/shell_javascript_dialog_win.cc',
153         'shell/browser/shell_login_dialog.cc',
154         'shell/browser/shell_login_dialog.h',
155         'shell/browser/shell_login_dialog_mac.mm',
156         'shell/browser/shell_mac.mm',
157         'shell/browser/shell_mojo_test_utils_android.cc',
158         'shell/browser/shell_mojo_test_utils_android.h',
159         'shell/browser/shell_net_log.cc',
160         'shell/browser/shell_net_log.h',
161         'shell/browser/shell_network_delegate.cc',
162         'shell/browser/shell_network_delegate.h',
163         'shell/browser/shell_platform_data_aura.cc',
164         'shell/browser/shell_platform_data_aura.h',
165         'shell/browser/shell_plugin_service_filter.cc',
166         'shell/browser/shell_plugin_service_filter.h',
167         'shell/browser/shell_quota_permission_context.cc',
168         'shell/browser/shell_quota_permission_context.h',
169         'shell/browser/shell_resource_dispatcher_host_delegate.cc',
170         'shell/browser/shell_resource_dispatcher_host_delegate.h',
171         'shell/browser/shell_speech_recognition_manager_delegate.cc',
172         'shell/browser/shell_speech_recognition_manager_delegate.h',
173         'shell/browser/shell_url_request_context_getter.cc',
174         'shell/browser/shell_url_request_context_getter.h',
175         'shell/browser/shell_views.cc',
176         'shell/browser/shell_web_contents_view_delegate.h',
177         'shell/browser/shell_web_contents_view_delegate_android.cc',
178         'shell/browser/shell_web_contents_view_delegate_creator.h',
179         'shell/browser/shell_web_contents_view_delegate_mac.mm',
180         'shell/browser/shell_web_contents_view_delegate_win.cc',
181         'shell/browser/webkit_test_controller.cc',
182         'shell/browser/webkit_test_controller.h',
183         'shell/common/layout_test/layout_test_messages.cc',
184         'shell/common/layout_test/layout_test_messages.h',
185         'shell/common/leak_detection_result.h',
186         'shell/common/shell_content_client.cc',
187         'shell/common/shell_content_client.h',
188         'shell/common/shell_messages.cc',
189         'shell/common/shell_messages.h',
190         'shell/common/shell_switches.cc',
191         'shell/common/shell_switches.h',
192         'shell/common/shell_test_configuration.cc',
193         'shell/common/shell_test_configuration.h',
194         'shell/common/test_runner/test_preferences.cc',
195         'shell/common/test_runner/test_preferences.h',
196         'shell/common/v8_breakpad_support_win.cc',
197         'shell/common/v8_breakpad_support_win.h',
198         'shell/common/webkit_test_helpers.cc',
199         'shell/common/webkit_test_helpers.h',
200         'shell/renderer/ipc_echo.cc',
201         'shell/renderer/ipc_echo.h',
202         'shell/renderer/layout_test/gc_controller.cc',
203         'shell/renderer/layout_test/gc_controller.h',
204         'shell/renderer/layout_test/layout_test_content_renderer_client.cc',
205         'shell/renderer/layout_test/layout_test_content_renderer_client.h',
206         'shell/renderer/layout_test/layout_test_render_frame_observer.cc',
207         'shell/renderer/layout_test/layout_test_render_frame_observer.h',
208         'shell/renderer/layout_test/layout_test_render_process_observer.cc',
209         'shell/renderer/layout_test/layout_test_render_process_observer.h',
210         'shell/renderer/layout_test/leak_detector.cc',
211         'shell/renderer/layout_test/leak_detector.h',
212         'shell/renderer/layout_test/webkit_test_runner.cc',
213         'shell/renderer/layout_test/webkit_test_runner.h',
214         'shell/renderer/shell_content_renderer_client.cc',
215         'shell/renderer/shell_content_renderer_client.h',
216         'shell/renderer/shell_render_view_observer.cc',
217         'shell/renderer/shell_render_view_observer.h',
218         'shell/renderer/test_runner/accessibility_controller.cc',
219         'shell/renderer/test_runner/accessibility_controller.h',
220         'shell/renderer/test_runner/event_sender.cc',
221         'shell/renderer/test_runner/event_sender.h',
222         'shell/renderer/test_runner/gamepad_controller.cc',
223         'shell/renderer/test_runner/gamepad_controller.h',
224         'shell/renderer/test_runner/mock_color_chooser.cc',
225         'shell/renderer/test_runner/mock_color_chooser.h',
226         'shell/renderer/test_runner/mock_constraints.cc',
227         'shell/renderer/test_runner/mock_constraints.h',
228         'shell/renderer/test_runner/mock_credential_manager_client.cc',
229         'shell/renderer/test_runner/mock_credential_manager_client.h',
230         'shell/renderer/test_runner/mock_grammar_check.cc',
231         'shell/renderer/test_runner/mock_grammar_check.h',
232         'shell/renderer/test_runner/mock_presentation_client.cc',
233         'shell/renderer/test_runner/mock_presentation_client.h',
234         'shell/renderer/test_runner/mock_presentation_service.cc',
235         'shell/renderer/test_runner/mock_presentation_service.h',
236         'shell/renderer/test_runner/mock_screen_orientation_client.cc',
237         'shell/renderer/test_runner/mock_screen_orientation_client.h',
238         'shell/renderer/test_runner/mock_spell_check.cc',
239         'shell/renderer/test_runner/mock_spell_check.h',
240         'shell/renderer/test_runner/mock_web_audio_device.cc',
241         'shell/renderer/test_runner/mock_web_audio_device.h',
242         'shell/renderer/test_runner/mock_web_media_stream_center.cc',
243         'shell/renderer/test_runner/mock_web_media_stream_center.h',
244         'shell/renderer/test_runner/mock_web_midi_accessor.cc',
245         'shell/renderer/test_runner/mock_web_midi_accessor.h',
246         'shell/renderer/test_runner/mock_web_speech_recognizer.cc',
247         'shell/renderer/test_runner/mock_web_speech_recognizer.h',
248         'shell/renderer/test_runner/mock_web_theme_engine.cc',
249         'shell/renderer/test_runner/mock_web_theme_engine.h',
250         'shell/renderer/test_runner/mock_web_user_media_client.cc',
251         'shell/renderer/test_runner/mock_web_user_media_client.h',
252         'shell/renderer/test_runner/mock_webrtc_data_channel_handler.cc',
253         'shell/renderer/test_runner/mock_webrtc_data_channel_handler.h',
254         'shell/renderer/test_runner/mock_webrtc_dtmf_sender_handler.cc',
255         'shell/renderer/test_runner/mock_webrtc_dtmf_sender_handler.h',
256         'shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc',
257         'shell/renderer/test_runner/mock_webrtc_peer_connection_handler.h',
258         'shell/renderer/test_runner/spell_check_client.cc',
259         'shell/renderer/test_runner/spell_check_client.h',
260         'shell/renderer/test_runner/test_common.cc',
261         'shell/renderer/test_runner/test_common.h',
262         'shell/renderer/test_runner/test_interfaces.cc',
263         'shell/renderer/test_runner/test_interfaces.h',
264         'shell/renderer/test_runner/test_plugin.cc',
265         'shell/renderer/test_runner/test_plugin.h',
266         'shell/renderer/test_runner/test_runner.cc',
267         'shell/renderer/test_runner/test_runner.h',
268         'shell/renderer/test_runner/text_input_controller.cc',
269         'shell/renderer/test_runner/text_input_controller.h',
270         'shell/renderer/test_runner/web_ax_object_proxy.cc',
271         'shell/renderer/test_runner/web_ax_object_proxy.h',
272         'shell/renderer/test_runner/web_frame_test_proxy.h',
273         'shell/renderer/test_runner/web_permissions.cc',
274         'shell/renderer/test_runner/web_permissions.h',
275         'shell/renderer/test_runner/web_task.cc',
276         'shell/renderer/test_runner/web_task.h',
277         'shell/renderer/test_runner/web_test_delegate.h',
278         'shell/renderer/test_runner/web_test_interfaces.cc',
279         'shell/renderer/test_runner/web_test_interfaces.h',
280         'shell/renderer/test_runner/web_test_proxy.cc',
281         'shell/renderer/test_runner/web_test_proxy.h',
282         'shell/renderer/test_runner/web_test_runner.h',
283       ],
284       'msvs_settings': {
285         'VCLinkerTool': {
286           'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
287         },
288       },
289       'conditions': [
290         ['OS=="win" and win_use_allocator_shim==1', {
291           'dependencies': [
292             '../base/allocator/allocator.gyp:allocator',
293           ],
294         }],
295         ['OS=="win"', {
296           'resource_include_dirs': [
297             '<(SHARED_INTERMEDIATE_DIR)/content/app/strings',
298           ],
299           'dependencies': [
300             '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
301           ],
302           'configurations': {
303             'Debug_Base': {
304               'msvs_settings': {
305                 'VCLinkerTool': {
306                   'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
307                 },
308               },
309             },
310           },
311           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
312           'msvs_disabled_warnings': [ 4267, ],
313         }],  # OS=="win"
314         ['OS=="linux"', {
315           'dependencies': [
316             '../build/linux/system.gyp:fontconfig',
317           ],
318         }],
319         ['use_x11 == 1', {
320           'dependencies': [
321             '../ui/events/devices/events_devices.gyp:events_devices',
322             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
323           ],
324         }],
325         ['OS=="android"', {
326           'dependencies': [
327             '../mojo/mojo_base.gyp:libmojo_system_java',
328             'content_shell_jni_headers',
329           ],
330           'dependencies!': [
331             'copy_test_netscape_plugin',
332           ],
333         }],  # OS=="android"
334         ['os_posix == 1 and OS != "mac" and android_webview_build != 1', {
335           'dependencies': [
336             '../components/components.gyp:breakpad_host',
337           ],
338         }],
339         ['(OS=="linux" or OS=="android") and use_allocator!="none"', {
340           'dependencies': [
341             # This is needed by content/app/content_main_runner.cc
342             '../base/allocator/allocator.gyp:allocator',
343           ],
344         }],
345         ['use_aura==1', {
346           'dependencies': [
347             '../ui/aura/aura.gyp:aura',
348             '../ui/aura/aura.gyp:aura_test_support',
349             '../ui/events/events.gyp:events',
350             '../ui/strings/ui_strings.gyp:ui_strings',
351             '../ui/wm/wm.gyp:wm',
352           ],
353           'conditions': [
354             ['toolkit_views==1', {
355               'dependencies': [
356                 '../ui/resources/ui_resources.gyp:ui_resources',
357                 '../ui/views/controls/webview/webview.gyp:webview',
358                 '../ui/views/views.gyp:views',
359                 '../ui/views/views.gyp:views_test_support',
360               ],
361               'sources/': [
362                 ['exclude', 'shell/browser/shell_aura.cc'],
363               ],
364             }, {
365               'sources/': [
366                 ['exclude', 'shell/browser/shell_views.cc'],
367               ],
368             }],
369           ],
370         }, {
371           'sources/': [
372             ['exclude', 'shell/browser/shell_aura.cc'],
373             ['exclude', 'shell/browser/shell_views.cc'],
374           ],
375         }],  # use_aura==1
376         # The test plugin relies on X11.
377         ['OS=="linux" and use_x11==0', {
378           'dependencies!': [
379             'copy_test_netscape_plugin',
380           ],
381         }],
382         ['chromeos==1', {
383           'dependencies': [
384             '../chromeos/chromeos.gyp:chromeos',
385             '../ui/wm/wm.gyp:wm_test_support',
386            ],
387         }], # chromeos==1
388         ['use_custom_freetype==1', {
389           'dependencies': [
390              '../third_party/freetype2/freetype2.gyp:freetype2',
391           ],
392         }],
393         ['enable_plugins==0', {
394           'sources!': [
395             'shell/browser/shell_plugin_service_filter.cc',
396             'shell/browser/shell_plugin_service_filter.h',
397           ],
398         }]
399       ],
400     },
401     {
402       # GN version: //content/shell:resources
403       'target_name': 'content_shell_resources',
404       'type': 'none',
405       'variables': {
406         'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content',
407       },
408       'actions': [
409         {
410           'action_name': 'generate_content_shell_resources',
411           'variables': {
412             'grit_grd_file': 'shell/shell_resources.grd',
413           },
414           'includes': [ '../build/grit_action.gypi' ],
415         },
416       ],
417       'includes': [ '../build/grit_target.gypi' ],
418       'copies': [
419         {
420           'destination': '<(PRODUCT_DIR)',
421           'files': [
422             '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak'
423           ],
424         },
425       ],
426       'conditions': [
427         ['OS=="win"', {
428           'copies': [{
429             'destination': '<(PRODUCT_DIR)',
430             'files': ['shell/renderer/test_runner/resources/fonts/AHEM____.TTF'],
431           }],
432         }],
433         ['OS=="mac"', {
434           'all_dependent_settings': {
435             'mac_bundle_resources': [
436               'shell/renderer/test_runner/resources/fonts/AHEM____.TTF',
437               'shell/renderer/test_runner/resources/fonts/ChromiumAATTest.ttf',
438               '<(SHARED_INTERMEDIATE_DIR)/webkit/missingImage.png',
439               '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png',
440             ],
441           },
442         }],
443         ['use_x11 == 1', {
444           'copies': [{
445             'destination': '<(PRODUCT_DIR)',
446             'files': [
447               'shell/renderer/test_runner/resources/fonts/AHEM____.TTF',
448               'shell/renderer/test_runner/resources/fonts/fonts.conf',
449               '../third_party/gardiner_mod/GardinerModBug.ttf',
450               '../third_party/gardiner_mod/GardinerModCat.ttf',
451             ]
452           }],
453         }],
454         ['OS=="android"', {
455           'copies': [{
456             'destination': '<(PRODUCT_DIR)',
457             'files': [
458               'shell/renderer/test_runner/resources/fonts/AHEM____.TTF',
459               'shell/renderer/test_runner/resources/fonts/android_main_fonts.xml',
460               'shell/renderer/test_runner/resources/fonts/android_fallback_fonts.xml',
461             ]
462           }],
463         }],
464       ],
465     },
466     {
467       # We build a minimal set of resources so WebKit in content_shell has
468       # access to necessary resources.
469       # GN version: //content/shell:pak
470       'target_name': 'content_shell_pak',
471       'type': 'none',
472       'dependencies': [
473         'app/resources/content_resources.gyp:content_resources',
474         'app/strings/content_strings.gyp:content_strings',
475         'browser/tracing/tracing_resources.gyp:tracing_resources',
476         'content.gyp:content_resources',
477         'content_shell_resources',
478         '<(DEPTH)/net/net.gyp:net_resources',
479         '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
480         '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
481         '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings',
482       ],
483       'conditions': [
484         ['OS!="android"', {
485           'dependencies': [
486             'browser/devtools/devtools_resources.gyp:devtools_resources',
487           ],
488         }],
489         ['OS=="android"', {
490           'copies': [
491             {
492               'destination': '<(PRODUCT_DIR)',
493               'files': [
494                 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'
495               ],
496             },
497           ],
498         }],
499       ],
500       'actions': [
501         {
502           'action_name': 'repack_content_shell_pack',
503           'variables': {
504             'pak_inputs': [
505               '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
506               '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
507               '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak',
508               '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.pak',
509               '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
510               '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
511               '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
512               '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
513               '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
514               '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak',
515               '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
516             ],
517             'conditions': [
518               ['OS!="android"', {
519                 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak',],
520                 'pak_output': '<(PRODUCT_DIR)/content_shell.pak',
521               }, {
522                 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak',
523               }],
524             ],
525           },
526           'includes': [ '../build/repack_action.gypi' ],
527         },
528       ],
529     },
530     {
531       # GN version: //content/shell:content_shell
532       'target_name': 'content_shell',
533       'type': 'executable',
534       'mac_bundle': 1,
535       'variables': {
536         'chromium_code': 1,
537       },
538       'dependencies': [
539         'content_shell_lib',
540         'content_shell_pak',
541         '../third_party/mesa/mesa.gyp:osmesa',
542         '../tools/imagediff/image_diff.gyp:image_diff',
543       ],
544       'include_dirs': [
545         '..',
546       ],
547       'sources': [
548         'shell/app/shell_main.cc',
549       ],
550       'mac_bundle_resources': [
551         'shell/app/app.icns',
552         'shell/app/app-Info.plist',
553       ],
554       # TODO(mark): Come up with a fancier way to do this.  It should only
555       # be necessary to list app-Info.plist once, not the three times it is
556       # listed here.
557       'mac_bundle_resources!': [
558         'shell/app/app-Info.plist',
559       ],
560       'xcode_settings': {
561         'INFOPLIST_FILE': 'shell/app/app-Info.plist',
562       },
563       'msvs_settings': {
564         'VCManifestTool': {
565           'AdditionalManifestFiles': [
566             'shell/app/shell.exe.manifest',
567           ],
568         },
569       },
570       'conditions': [
571         ['OS=="win" and win_use_allocator_shim==1', {
572           'dependencies': [
573             '../base/allocator/allocator.gyp:allocator',
574           ],
575         }],
576         ['OS=="win"', {
577           'sources': [
578             'shell/app/shell.rc',
579           ],
580           'configurations': {
581             'Debug_Base': {
582               'msvs_settings': {
583                 'VCLinkerTool': {
584                   'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
585                 },
586               },
587             },
588           },
589         }],  # OS=="win"
590         ['OS == "win"', {
591           'dependencies': [
592             '../sandbox/sandbox.gyp:sandbox',
593           ],
594         }],  # OS=="win"
595         ['OS=="win" and asan==0', {
596           'msvs_settings': {
597             'VCLinkerTool': {
598               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
599             },
600           },
601         }],  # OS=="win" and asan==0
602         ['OS=="mac"', {
603           'product_name': '<(content_shell_product_name)',
604           'dependencies!': [
605             'content_shell_lib',
606           ],
607           'dependencies': [
608             'content_shell_framework',
609             'content_shell_helper_app',
610           ],
611           'copies': [
612             {
613               'destination': '<(PRODUCT_DIR)/<(content_shell_product_name).app/Contents/Frameworks',
614               'files': [
615                 '<(PRODUCT_DIR)/<(content_shell_product_name) Helper.app',
616               ],
617             },
618           ],
619           'postbuilds': [
620             {
621               'postbuild_name': 'Copy <(content_shell_product_name) Framework.framework',
622               'action': [
623                 '../build/mac/copy_framework_unversioned.sh',
624                 '${BUILT_PRODUCTS_DIR}/<(content_shell_product_name) Framework.framework',
625                 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks',
626               ],
627             },
628             {
629               # Modify the Info.plist as needed.
630               'postbuild_name': 'Tweak Info.plist',
631               'action': ['../build/mac/tweak_info_plist.py',
632                          '--scm=1',
633                          '--version=<(content_shell_version)'],
634             },
635             {
636               # This postbuid step is responsible for creating the following
637               # helpers:
638               #
639               # Content Shell Helper EH.app and Content Shell Helper NP.app are
640               # created from Content Shell Helper.app.
641               #
642               # The EH helper is marked for an executable heap. The NP helper
643               # is marked for no PIE (ASLR).
644               'postbuild_name': 'Make More Helpers',
645               'action': [
646                 '../build/mac/make_more_helpers.sh',
647                 'Frameworks',
648                 '<(content_shell_product_name)',
649               ],
650             },
651             {
652               # Make sure there isn't any Objective-C in the shell's
653               # executable.
654               'postbuild_name': 'Verify No Objective-C',
655               'action': [
656                 '../build/mac/verify_no_objc.sh',
657               ],
658             },
659           ],
660         }],  # OS=="mac"
661         ['OS=="android"', {
662           'dependencies!': [
663             '../tools/imagediff/image_diff.gyp:image_diff',
664           ],
665         }],  # OS=="android"
666         ['OS=="android" and android_webview_build==0', {
667           'dependencies': [
668             '../tools/imagediff/image_diff.gyp:image_diff#host',
669           ],
670         }],  # OS=="android" and android_webview_build==0
671       ],
672     },
673     {
674       'target_name': 'content_shell_builder',
675       'type': 'none',
676       'dependencies': [
677         'content_shell',
678       ],
679     },
681     {
682       'target_name': 'test_netscape_plugin',
683       'type': 'loadable_module',
684       'sources': [
685         'shell/tools/plugin/PluginObject.cpp',
686         'shell/tools/plugin/PluginObject.h',
687         'shell/tools/plugin/PluginObjectMac.mm',
688         'shell/tools/plugin/PluginTest.cpp',
689         'shell/tools/plugin/PluginTest.h',
690         'shell/tools/plugin/TestObject.cpp',
691         'shell/tools/plugin/Tests/DocumentOpenInDestroyStream.cpp',
692         'shell/tools/plugin/Tests/EvaluateJSAfterRemovingPluginElement.cpp',
693         'shell/tools/plugin/Tests/FormValue.cpp',
694         'shell/tools/plugin/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp',
695         'shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp',
696         'shell/tools/plugin/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp',
697         'shell/tools/plugin/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp',
698         'shell/tools/plugin/Tests/LeakWindowScriptableObject.cpp',
699         'shell/tools/plugin/Tests/LogNPPSetWindow.cpp',
700         'shell/tools/plugin/Tests/NPDeallocateCalledBeforeNPShutdown.cpp',
701         'shell/tools/plugin/Tests/NPPNewFails.cpp',
702         'shell/tools/plugin/Tests/NPRuntimeCallsWithNullNPP.cpp',
703         'shell/tools/plugin/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp',
704         'shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp',
705         'shell/tools/plugin/Tests/NullNPPGetValuePointer.cpp',
706         'shell/tools/plugin/Tests/PassDifferentNPPStruct.cpp',
707         'shell/tools/plugin/Tests/PluginScriptableNPObjectInvokeDefault.cpp',
708         'shell/tools/plugin/Tests/PluginScriptableObjectOverridesAllProperties.cpp',
709         'shell/tools/plugin/main.cpp',
710         'shell/tools/plugin/test_object.h',
711       ],
712       'include_dirs': [
713         '<(DEPTH)',
714         '<(DEPTH)/content/shell/tools/plugin/',
715       ],
716       'dependencies': [
717         '../base/base.gyp:base',
718         '../third_party/npapi/npapi.gyp:npapi',
719       ],
720       'conditions': [
721         ['OS=="mac"', {
722           'mac_bundle': 1,
723           'product_extension': 'plugin',
724           'link_settings': {
725             'libraries': [
726               '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
727               '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
728               '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
729             ]
730           },
731           'xcode_settings': {
732             'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
733             'INFOPLIST_FILE': 'shell/tools/plugin/mac/Info.plist',
734           },
735         }],
736         ['os_posix == 1 and OS != "mac"', {
737           'cflags': [
738             '-fvisibility=default',
739           ],
740         }],
741         ['use_x11 == 1', {
742           'dependencies': [ '../build/linux/system.gyp:x11' ],
743         }],
744         ['OS=="win"', {
745           'defines': [
746             # This seems like a hack, but this is what Safari Win does.
747             'snprintf=_snprintf',
748           ],
749           'sources': [
750             'shell/tools/plugin/win/TestNetscapePlugin.def',
751             'shell/tools/plugin/win/TestNetscapePlugin.rc',
752           ],
753           # The .rc file requires that the name of the dll is np_test_netscape_plugin.dll.
754           'product_name': 'np_test_netscape_plugin',
755           # Disable c4267 warnings until we fix size_t to int truncations.
756           'msvs_disabled_warnings': [ 4267, ],
757         }],
758       ],
759     },
760     {
761       'target_name': 'copy_test_netscape_plugin',
762       'type': 'none',
763       'dependencies': [
764         'test_netscape_plugin',
765       ],
766       'conditions': [
767         ['OS=="win"', {
768           'copies': [{
769             'destination': '<(PRODUCT_DIR)/plugins',
770             'files': ['<(PRODUCT_DIR)/np_test_netscape_plugin.dll'],
771           }],
772         }],
773         ['OS=="mac"', {
774           'copies': [{
775             'destination': '<(PRODUCT_DIR)/plugins/',
776             'files': ['<(PRODUCT_DIR)/test_netscape_plugin.plugin/'],
777           }],
778         }],
779         ['os_posix == 1 and OS != "mac"', {
780           'copies': [{
781             'destination': '<(PRODUCT_DIR)/plugins',
782             'files': ['<(PRODUCT_DIR)/libtest_netscape_plugin.so'],
783           }],
784         }],
785       ],
786     }
787   ],
788   'conditions': [
789     ['OS=="mac" or OS=="win"', {
790       'targets': [
791         {
792           'target_name': 'layout_test_helper',
793           'type': 'executable',
794           'sources': [
795             'shell/renderer/test_runner/helper/layout_test_helper_mac.mm',
796             'shell/renderer/test_runner/helper/layout_test_helper_win.cc',
797           ],
798           'conditions': [
799             ['OS=="mac"', {
800               'link_settings': {
801                 'libraries': [
802                   '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
803                 ],
804               },
805             }],
806           ],
807         },
808       ],
809     }],  # OS=="mac" or OS=="win"
810     ['OS=="mac"', {
811       'targets': [
812         {
813           'target_name': 'content_shell_framework',
814           'type': 'shared_library',
815           'product_name': '<(content_shell_product_name) Framework',
816           'mac_bundle': 1,
817           'mac_bundle_resources': [
818             'shell/app/English.lproj/HttpAuth.xib',
819             'shell/app/English.lproj/MainMenu.xib',
820             '<(PRODUCT_DIR)/content_shell.pak',
821             'shell/app/framework-Info.plist',
822           ],
823           'mac_bundle_resources!': [
824             'shell/app/framework-Info.plist',
825           ],
826           'xcode_settings': {
827             # The framework is placed within the .app's Framework
828             # directory.  DYLIB_INSTALL_NAME_BASE and
829             # LD_DYLIB_INSTALL_NAME affect -install_name.
830             'DYLIB_INSTALL_NAME_BASE':
831                 '@executable_path/../Frameworks',
832             # See /build/mac/copy_framework_unversioned.sh for
833             # information on LD_DYLIB_INSTALL_NAME.
834             'LD_DYLIB_INSTALL_NAME':
835                 '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/$(PRODUCT_NAME)',
837             'INFOPLIST_FILE': 'shell/app/framework-Info.plist',
838           },
839           'dependencies': [
840             'content_shell_lib',
841           ],
842           'include_dirs': [
843             '..',
844           ],
845           'sources': [
846             'shell/app/shell_content_main.cc',
847             'shell/app/shell_content_main.h',
848           ],
849           'postbuilds': [
850             {
851               # Modify the Info.plist as needed.  The script explains why
852               # this is needed.  This is also done in the chrome target.
853               # The framework needs the Breakpad keys if this feature is
854               # enabled.  It does not need the Keystone keys; these always
855               # come from the outer application bundle.  The framework
856               # doesn't currently use the SCM keys for anything,
857               # but this seems like a really good place to store them.
858               'postbuild_name': 'Tweak Info.plist',
859               'action': ['../build/mac/tweak_info_plist.py',
860                          '--breakpad=1',
861                          '--keystone=0',
862                          '--scm=1',
863                          '--version=<(content_shell_version)',
864                          '--branding=<(content_shell_product_name)'],
865             },
866           ],
867           'copies': [
868             {
869               # Copy FFmpeg binaries for audio/video support.
870               'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries',
871               'files': [
872                 '<(PRODUCT_DIR)/ffmpegsumo.so',
873               ],
874             },
875             {
876               'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources',
877               'files': [
878                 '<(PRODUCT_DIR)/crash_inspector',
879                 '<(PRODUCT_DIR)/crash_report_sender.app'
880               ],
881             },
882           ],
883           'conditions': [
884             ['enable_webrtc==1', {
885               'variables': {
886                 'libpeer_target_type%': 'static_library',
887               },
888               'conditions': [
889                 ['libpeer_target_type!="static_library"', {
890                   'copies': [{
891                    'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries',
892                    'files': [
893                       '<(PRODUCT_DIR)/libpeerconnection.so',
894                     ],
895                   }],
896                 }],
897               ],
898             }],
899             ['icu_use_data_file_flag==1', {
900               'mac_bundle_resources': [
901                 '<(PRODUCT_DIR)/icudtl.dat',
902               ],
903             }],
904             ['v8_use_external_startup_data==1', {
905               'mac_bundle_resources': [
906                 '<(PRODUCT_DIR)/natives_blob.bin',
907                 '<(PRODUCT_DIR)/snapshot_blob.bin',
908               ],
909             }],
910           ],
911         },  # target content_shell_framework
912         {
913           'target_name': 'content_shell_helper_app',
914           'type': 'executable',
915           'variables': { 'enable_wexit_time_destructors': 1, },
916           'product_name': '<(content_shell_product_name) Helper',
917           'mac_bundle': 1,
918           'dependencies': [
919             'content_shell_framework',
920           ],
921           'sources': [
922             'shell/app/shell_main.cc',
923             'shell/app/helper-Info.plist',
924           ],
925           # TODO(mark): Come up with a fancier way to do this.  It should only
926           # be necessary to list helper-Info.plist once, not the three times it
927           # is listed here.
928           'mac_bundle_resources!': [
929             'shell/app/helper-Info.plist',
930           ],
931           # TODO(mark): For now, don't put any resources into this app.  Its
932           # resources directory will be a symbolic link to the browser app's
933           # resources directory.
934           'mac_bundle_resources/': [
935             ['exclude', '.*'],
936           ],
937           'xcode_settings': {
938             'INFOPLIST_FILE': 'shell/app/helper-Info.plist',
939           },
940           'postbuilds': [
941             {
942               # The framework defines its load-time path
943               # (DYLIB_INSTALL_NAME_BASE) relative to the main executable
944               # (chrome).  A different relative path needs to be used in
945               # content_shell_helper_app.
946               'postbuild_name': 'Fix Framework Link',
947               'action': [
948                 'install_name_tool',
949                 '-change',
950                 '@executable_path/../Frameworks/<(content_shell_product_name) Framework.framework/<(content_shell_product_name) Framework',
951                 '@executable_path/../../../<(content_shell_product_name) Framework.framework/<(content_shell_product_name) Framework',
952                 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
953               ],
954             },
955             {
956               # Modify the Info.plist as needed.  The script explains why this
957               # is needed.  This is also done in the chrome and chrome_dll
958               # targets.  In this case, --breakpad=0, --keystone=0, and --scm=0
959               # are used because Breakpad, Keystone, and SCM keys are
960               # never placed into the helper.
961               'postbuild_name': 'Tweak Info.plist',
962               'action': ['../build/mac/tweak_info_plist.py',
963                          '--breakpad=0',
964                          '--keystone=0',
965                          '--scm=0',
966                          '--version=<(content_shell_version)'],
967             },
968             {
969               # Make sure there isn't any Objective-C in the helper app's
970               # executable.
971               'postbuild_name': 'Verify No Objective-C',
972               'action': [
973                 '../build/mac/verify_no_objc.sh',
974               ],
975             },
976           ],
977           'conditions': [
978             ['component=="shared_library"', {
979               'xcode_settings': {
980                 'LD_RUNPATH_SEARCH_PATHS': [
981                   # Get back from Content Shell.app/Contents/Frameworks/
982                   #                                 Helper.app/Contents/MacOS
983                   '@loader_path/../../../../../..',
984                 ],
985               },
986             }],
987           ],
988         },  # target content_shell_helper_app
989       ],
990     }],  # OS=="mac"
991     ['OS=="android"', {
992       'targets': [
993         {
994           # TODO(jrg): Update this action and other jni generators to only
995           # require specifying the java directory and generate the rest.
996           'target_name': 'content_shell_jni_headers',
997           'type': 'none',
998           'sources': [
999             'shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java',
1000             'shell/android/java/src/org/chromium/content_shell/ShellLayoutTestUtils.java',
1001             'shell/android/java/src/org/chromium/content_shell/ShellMojoTestUtils.java',
1002             'shell/android/java/src/org/chromium/content_shell/ShellManager.java',
1003             'shell/android/java/src/org/chromium/content_shell/Shell.java',
1004           ],
1005           'variables': {
1006             'jni_gen_package': 'content/shell',
1007           },
1008           'includes': [ '../build/jni_generator.gypi' ],
1009         },
1010         {
1011           'target_name': 'libcontent_shell_content_view',
1012           'type': 'shared_library',
1013           'dependencies': [
1014             'content_shell_jni_headers',
1015             'content_shell_lib',
1016             'content_shell_pak',
1017             # Skia is necessary to ensure the dependencies needed by
1018             # WebContents are included.
1019             '../skia/skia.gyp:skia',
1020             '<(DEPTH)/media/media.gyp:player_android',
1021           ],
1022           'sources': [
1023             'shell/android/shell_library_loader.cc',
1024           ],
1025           'conditions': [
1026             ['android_webview_build==1', {
1027               'ldflags': [
1028                 '-lgabi++',  # For rtti
1029               ],
1030             }],
1031           ],
1032         },
1033         {
1034           'target_name': 'content_shell_java',
1035           'type': 'none',
1036           'dependencies': [
1037             'content.gyp:content_java',
1038           ],
1039           'variables': {
1040             'java_in_dir': '../content/shell/android/java',
1041             'has_java_resources': 1,
1042             'R_package': 'org.chromium.content_shell',
1043             'R_package_relpath': 'org/chromium/content_shell',
1044           },
1045           'includes': [ '../build/java.gypi' ],
1046         },
1047         {
1048           # content_shell_apk creates a .jar as a side effect. Any java targets
1049           # that need that .jar in their classpath should depend on this target,
1050           # content_shell_apk_java. Dependents of content_shell_apk receive its
1051           # jar path in the variable 'apk_output_jar_path'. This target should
1052           # only be used by targets which instrument content_shell_apk.
1053           'target_name': 'content_shell_apk_java',
1054           'type': 'none',
1055           'dependencies': [
1056             'content_shell_apk',
1057           ],
1058           'includes': [ '../build/apk_fake_jar.gypi' ],
1059         },
1060         {
1061           # GN version: //content/shell/android:content_shell_manifest
1062           'target_name': 'content_shell_manifest',
1063           'type': 'none',
1064           'variables': {
1065             'jinja_inputs': ['shell/android/shell_apk/AndroidManifest.xml.jinja2'],
1066             'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/content_shell_manifest/AndroidManifest.xml',
1067           },
1068           'includes': [ '../build/android/jinja_template.gypi' ],
1069         },
1070         {
1071           # GN version: //content/shell/android:content_shell_apk
1072           'target_name': 'content_shell_apk',
1073           'type': 'none',
1074           'dependencies': [
1075             'content.gyp:content_icudata',
1076             'content.gyp:content_java',
1077             'content.gyp:content_v8_external_data',
1078             'content_java_test_support',
1079             'content_shell_java',
1080             'libcontent_shell_content_view',
1081             '../base/base.gyp:base_java',
1082             '../media/media.gyp:media_java',
1083             '../net/net.gyp:net_java',
1084             '../third_party/mesa/mesa.gyp:osmesa_in_lib_dir',
1085             '../tools/android/forwarder/forwarder.gyp:forwarder',
1086             '../ui/android/ui_android.gyp:ui_java',
1087           ],
1088           'variables': {
1089             'apk_name': 'ContentShell',
1090             'manifest_package_name': 'org.chromium.content_shell_apk',
1091             'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/content_shell_manifest/AndroidManifest.xml',
1092             'java_in_dir': 'shell/android/shell_apk',
1093             'resource_dir': 'shell/android/shell_apk/res',
1094             'native_lib_target': 'libcontent_shell_content_view',
1095             'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
1096             'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
1097             'extra_native_libs': ['<(SHARED_LIB_DIR)/libosmesa.so'],
1098             'conditions': [
1099               ['icu_use_data_file_flag==1', {
1100                 'additional_input_paths': [
1101                   '<(PRODUCT_DIR)/icudtl.dat',
1102                 ],
1103               }],
1104               ['v8_use_external_startup_data==1', {
1105                 'additional_input_paths': [
1106                   '<(PRODUCT_DIR)/natives_blob.bin',
1107                   '<(PRODUCT_DIR)/snapshot_blob.bin',
1108                 ],
1109               }],
1110             ],
1111           },
1112           'conditions': [
1113             ['android_webview_build==0', {
1114               'dependencies': [
1115                 '../tools/imagediff/image_diff.gyp:image_diff#host',
1116               ],
1117             }],
1118           ],
1119           'includes': [ '../build/java_apk.gypi' ],
1120         },
1121       ],
1122     }],  # OS=="android"
1123     ['OS=="win"', {
1124       'targets': [
1125         {
1126           'target_name': 'content_shell_crash_service',
1127           'type': 'executable',
1128           'dependencies': [
1129             '../base/base.gyp:base',
1130             '../components/components.gyp:breakpad_crash_service',
1131           ],
1132           'include_dirs': [
1133             '..',
1134           ],
1135           'sources': [
1136             'shell/tools/content_shell_crash_service.cc',
1137           ],
1138           'msvs_settings': {
1139             'VCLinkerTool': {
1140               'SubSystem': '2',         # Set /SUBSYSTEM:WINDOWS
1141             },
1142           },
1143         },
1144       ],
1145     }],  # OS=="win"
1146     ['OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1', {
1147       'variables': {
1148         'dest_dir': '<(PRODUCT_DIR)/syzygy',
1149       },
1150       'targets': [
1151         {
1152           'target_name': 'content_shell_syzyasan',
1153           'type': 'none',
1154           'sources' : [],
1155           # Instrument content_shell with SyzyAsan.
1156           'actions': [
1157             {
1158               'action_name': 'Instrument content_shell with SyzyAsan',
1159               'inputs': [
1160                 '<(PRODUCT_DIR)/content_shell.exe',
1161               ],
1162               'outputs': [
1163                 '<(dest_dir)/content_shell.exe',
1164                 '<(dest_dir)/content_shell.exe.pdb',
1165               ],
1166               'action': [
1167                 'python',
1168                 '<(DEPTH)/chrome/tools/build/win/syzygy/instrument.py',
1169                 '--mode', 'asan',
1170                 '--input_executable', '<(PRODUCT_DIR)/content_shell.exe',
1171                 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb',
1172                 '--destination_dir', '<(dest_dir)',
1173               ],
1174             },
1175           ],
1176         },
1177       ],
1178     }],  # OS=="win" and fastbuild==0 and target_arch=="ia32"
1179   ]