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