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