Disable spaceport on windows.
[chromium-blink-merge.git] / content / content_common.gypi
blobdf2a1a79e810f383c7dc1cee1fbd6465cbf354e1
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   'dependencies': [
7     '../base/base.gyp:base',
8     '../components/tracing.gyp:tracing',
9     '../net/net.gyp:net',
10     '../skia/skia.gyp:skia',
11     '../third_party/icu/icu.gyp:icuuc',
12     '../ui/gfx/gfx.gyp:gfx',
13     '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
14     '../ui/ui.gyp:ui',
15     '../url/url.gyp:url_lib',
16     '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
17   ],
18   'include_dirs': [
19     '..',
20   ],
21   'export_dependent_settings': [
22     '../base/base.gyp:base',
23   ],
24   'sources': [
25     'public/common/bindings_policy.h',
26     'public/common/child_process_host.h',
27     'public/common/child_process_host_delegate.cc',
28     'public/common/child_process_host_delegate.h',
29     'public/common/child_process_sandbox_support_linux.h',
30     'public/common/color_suggestion.cc',
31     'public/common/color_suggestion.h',
32     'public/common/content_constants.cc',
33     'public/common/content_constants.h',
34     'public/common/content_descriptors.h',
35     'public/common/content_ipc_logging.h',
36     'public/common/content_paths.h',
37     'public/common/content_switches.cc',
38     'public/common/content_switches.h',
39     'public/common/context_menu_params.cc',
40     'public/common/context_menu_params.h',
41     'public/common/console_message_level.h',
42     'public/common/desktop_media_id.cc',
43     'public/common/desktop_media_id.h',
44     'public/common/drop_data.cc',
45     'public/common/drop_data.h',
46     'public/common/favicon_url.cc',
47     'public/common/favicon_url.h',
48     'public/common/file_chooser_params.cc',
49     'public/common/file_chooser_params.h',
50     'public/common/frame_navigate_params.cc',
51     'public/common/frame_navigate_params.h',
52     'public/common/geoposition.cc',
53     'public/common/geoposition.h',
54     'public/common/gpu_memory_stats.cc',
55     'public/common/gpu_memory_stats.h',
56     'public/common/injection_test_mac.h',
57     'public/common/injection_test_win.h',
58     'public/common/javascript_message_type.h',
59     'public/common/main_function_params.h',
60     'public/common/media_stream_request.cc',
61     'public/common/media_stream_request.h',
62     'public/common/menu_item.cc',
63     'public/common/menu_item.h',
64     'public/common/page_state.cc',
65     'public/common/page_state.h',
66     'public/common/page_transition_types.cc',
67     'public/common/page_transition_types.h',
68     'public/common/page_transition_types_list.h',
69     'public/common/page_type.h',
70     'public/common/page_zoom.h',
71     'public/common/pepper_plugin_info.cc',
72     'public/common/pepper_plugin_info.h',
73     'public/common/process_type.h',
74     'public/common/referrer.h',
75     'public/common/renderer_preferences.cc',
76     'public/common/renderer_preferences.h',
77     'public/common/resource_response.h',
78     'public/common/result_codes.h',
79     'public/common/result_codes_list.h',
80     'public/common/sandbox_init.h',
81     'public/common/sandbox_linux.h',
82     'public/common/sandbox_type_mac.h',
83     'public/common/sandboxed_process_launcher_delegate.h',
84     'public/common/security_style.h',
85     'public/common/show_desktop_notification_params.cc',
86     'public/common/show_desktop_notification_params.h',
87     'public/common/signed_certificate_timestamp_id_and_status.cc',
88     'public/common/signed_certificate_timestamp_id_and_status.h',
89     'public/common/speech_recognition_error.h',
90     'public/common/speech_recognition_grammar.h',
91     'public/common/speech_recognition_result.h',
92     'public/common/speech_recognition_result.cc',
93     'public/common/ssl_status.cc',
94     'public/common/ssl_status.h',
95     'public/common/stop_find_action.h',
96     'public/common/three_d_api_types.h',
97     'public/common/top_controls_state.h',
98     'public/common/top_controls_state_list.h',
99     'public/common/url_constants.cc',
100     'public/common/url_constants.h',
101     'public/common/url_fetcher.h',
102     'public/common/url_utils.cc',
103     'public/common/url_utils.h',
104     'public/common/webplugininfo.cc',
105     'public/common/webplugininfo.h',
106     'public/common/zygote_fork_delegate_linux.h',
107     'common/accessibility_messages.h',
108     'common/accessibility_node_data.cc',
109     'common/accessibility_node_data.h',
110     'common/all_messages.h',
111     'common/android/address_parser.cc',
112     'common/android/address_parser.h',
113     'common/android/address_parser_internal.cc',
114     'common/android/address_parser_internal.h',
115     'common/android/common_jni_registrar.cc',
116     'common/android/common_jni_registrar.h',
117     'common/android/device_telephony_info.cc',
118     'common/android/device_telephony_info.h',
119     'common/android/hash_set.cc',
120     'common/android/hash_set.h',
121     'common/android/surface_texture_peer.cc',
122     'common/android/surface_texture_peer.h',
123     'common/android/trace_event_binding.cc',
124     'common/android/trace_event_binding.h',
125     'common/android/view_configuration.cc',
126     'common/android/view_configuration.h',
127     'common/appcache_messages.h',
128     'common/browser_plugin/browser_plugin_constants.cc',
129     'common/browser_plugin/browser_plugin_constants.h',
130     'common/browser_plugin/browser_plugin_messages.h',
131     'common/browser_rendering_stats.cc',
132     'common/browser_rendering_stats.h',
133     'common/cc_messages.cc',
134     'common/cc_messages.h',
135     'common/child_process_host_impl.cc',
136     'common/child_process_host_impl.h',
137     'common/child_process_messages.h',
138     'common/child_process_sandbox_support_impl_linux.cc',
139     'common/child_process_sandbox_support_impl_linux.h',
140     'common/child_process_sandbox_support_impl_shm_linux.cc',
141     'common/clipboard_messages.cc',
142     'common/clipboard_messages.h',
143     'common/content_constants_internal.cc',
144     'common/content_constants_internal.h',
145     'common/content_export.h',
146     'common/content_ipc_logging.cc',
147     'common/content_message_generator.cc',
148     'common/content_message_generator.h',
149     'common/content_param_traits.cc',
150     'common/content_param_traits.h',
151     'common/content_param_traits_macros.h',
152     'common/content_paths.cc',
153     'common/cookie_data.cc',
154     'common/cookie_data.h',
155     'common/database_messages.h',
156     'common/desktop_notification_messages.h',
157     'common/device_orientation/device_motion_hardware_buffer.h',
158     'common/device_orientation/device_motion_messages.h',
159     'common/device_orientation/device_orientation_hardware_buffer.h',
160     'common/device_orientation/device_orientation_messages.h',
161     'common/devtools_messages.h',
162     'common/dom_storage/dom_storage_map.cc',
163     'common/dom_storage/dom_storage_map.h',
164     'common/dom_storage/dom_storage_messages.h',
165     'common/drag_event_source_info.h',
166     'common/drag_messages.h',
167     'common/drag_traits.h',
168     'common/edit_command.h',
169     'common/file_utilities_messages.h',
170     'common/fileapi/file_system_messages.h',
171     'common/fileapi/webblob_messages.h',
172     'common/font_cache_dispatcher_win.cc',
173     'common/font_cache_dispatcher_win.h',
174     'common/font_config_ipc_linux.cc',
175     'common/font_config_ipc_linux.h',
176     'common/font_list.cc',
177     'common/font_list.h',
178     'common/font_list_android.cc',
179     'common/font_list_mac.mm',
180     'common/font_list_ozone.cc',
181     'common/font_list_pango.cc',
182     'common/font_list_win.cc',
183     'common/gamepad_hardware_buffer.h',
184     'common/gamepad_messages.h',
185     'common/gamepad_user_gesture.cc',
186     'common/gamepad_user_gesture.h',
187     'common/geolocation_messages.h',
188     'common/gpu/client/command_buffer_proxy_impl.cc',
189     'common/gpu/client/command_buffer_proxy_impl.h',
190     'common/gpu/client/context_provider_command_buffer.cc',
191     'common/gpu/client/context_provider_command_buffer.h',
192     'common/gpu/client/gl_helper.cc',
193     'common/gpu/client/gl_helper.h',
194     'common/gpu/client/gl_helper_scaling.cc',
195     'common/gpu/client/gl_helper_scaling.h',
196     'common/gpu/client/gpu_channel_host.cc',
197     'common/gpu/client/gpu_channel_host.h',
198     'common/gpu/client/gpu_memory_buffer_impl.cc',
199     'common/gpu/client/gpu_memory_buffer_impl.h',
200     'common/gpu/client/gpu_video_decode_accelerator_host.cc',
201     'common/gpu/client/gpu_video_decode_accelerator_host.h',
202     'common/gpu/client/gpu_video_encode_accelerator_host.cc',
203     'common/gpu/client/gpu_video_encode_accelerator_host.h',
204     'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
205     'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
206     'common/gpu/devtools_gpu_agent.cc',
207     'common/gpu/devtools_gpu_agent.h',
208     'common/gpu/devtools_gpu_instrumentation.cc',
209     'common/gpu/devtools_gpu_instrumentation.h',
210     'common/gpu/gpu_channel.cc',
211     'common/gpu/gpu_channel.h',
212     'common/gpu/gpu_channel_manager.cc',
213     'common/gpu/gpu_channel_manager.h',
214     'common/gpu/gpu_command_buffer_stub.cc',
215     'common/gpu/gpu_command_buffer_stub.h',
216     'common/gpu/gpu_config.h',
217     'common/gpu/gpu_memory_manager.cc',
218     'common/gpu/gpu_memory_manager.h',
219     'common/gpu/gpu_memory_manager_client.cc',
220     'common/gpu/gpu_memory_manager_client.h',
221     'common/gpu/gpu_memory_tracking.cc',
222     'common/gpu/gpu_memory_tracking.h',
223     'common/gpu/gpu_memory_uma_stats.h',
224     'common/gpu/gpu_messages.h',
225     'common/gpu/gpu_process_launch_causes.h',
226     'common/gpu/gpu_rendering_stats.cc',
227     'common/gpu/gpu_rendering_stats.h',
228     'common/gpu/gpu_surface_lookup.cc',
229     'common/gpu/gpu_surface_lookup.h',
230     'common/gpu/gpu_watchdog.h',
231     'common/gpu/image_transport_surface.cc',
232     'common/gpu/image_transport_surface.h',
233     'common/gpu/image_transport_surface_android.cc',
234     'common/gpu/image_transport_surface_linux.cc',
235     'common/gpu/image_transport_surface_mac.cc',
236     'common/gpu/image_transport_surface_win.cc',
237     'common/gpu/media/gpu_video_decode_accelerator.cc',
238     'common/gpu/media/gpu_video_decode_accelerator.h',
239     'common/gpu/media/gpu_video_encode_accelerator.cc',
240     'common/gpu/media/gpu_video_encode_accelerator.h',
241     'common/gpu/media/h264_bit_reader.cc',
242     'common/gpu/media/h264_bit_reader.h',
243     'common/gpu/media/h264_parser.cc',
244     'common/gpu/media/h264_parser.h',
245     'common/gpu/media/video_decode_accelerator_impl.cc',
246     'common/gpu/media/video_decode_accelerator_impl.h',
247     'common/gpu/stream_texture_manager_android.cc',
248     'common/gpu/stream_texture_manager_android.h',
249     'common/gpu/sync_point_manager.cc',
250     'common/gpu/sync_point_manager.h',
251     'common/gpu/texture_image_transport_surface.cc',
252     'common/gpu/texture_image_transport_surface.h',
253     'common/handle_enumerator_win.cc',
254     'common/handle_enumerator_win.h',
255     'common/image_messages.h',
256     'common/indexed_db/indexed_db_constants.h',
257     'common/indexed_db/indexed_db_key.cc',
258     'common/indexed_db/indexed_db_key.h',
259     'common/indexed_db/indexed_db_key_path.cc',
260     'common/indexed_db/indexed_db_key_path.h',
261     'common/indexed_db/indexed_db_key_range.cc',
262     'common/indexed_db/indexed_db_key_range.h',
263     'common/indexed_db/indexed_db_messages.h',
264     'common/indexed_db/indexed_db_param_traits.cc',
265     'common/indexed_db/indexed_db_param_traits.h',
266     'common/input/input_event.cc',
267     'common/input/input_event.h',
268     'common/input/input_param_traits.cc',
269     'common/input/input_param_traits.h',
270     'common/input/scoped_web_input_event.cc',
271     'common/input/scoped_web_input_event.h',
272     'common/input/synthetic_gesture_packet.cc',
273     'common/input/synthetic_gesture_packet.h',
274     'common/input/synthetic_gesture_params.cc',
275     'common/input/synthetic_gesture_params.h',
276     'common/input/synthetic_pinch_gesture_params.cc',
277     'common/input/synthetic_pinch_gesture_params.h',
278     'common/input/synthetic_smooth_scroll_gesture_params.cc',
279     'common/input/synthetic_smooth_scroll_gesture_params.h',
280     'common/input/synthetic_web_input_event_builders.cc',
281     'common/input/synthetic_web_input_event_builders.h',
282     'common/input/web_input_event_traits.cc',
283     'common/input/web_input_event_traits.h',
284     'common/input_messages.h',
285     'common/inter_process_time_ticks_converter.cc',
286     'common/inter_process_time_ticks_converter.h',
287     'common/java_bridge_messages.h',
288     'common/mac/attributed_string_coder.h',
289     'common/mac/attributed_string_coder.mm',
290     'common/mac/font_descriptor.h',
291     'common/mac/font_descriptor.mm',
292     'common/mac/font_loader.h',
293     'common/mac/font_loader.mm',
294     'common/media/audio_messages.h',
295     'common/media/media_param_traits.cc',
296     'common/media/media_param_traits.h',
297     'common/media/media_player_messages_android.h',
298     'common/media/media_player_messages_enums_android.h',
299     'common/media/media_stream_messages.h',
300     'common/media/media_stream_options.cc',
301     'common/media/media_stream_options.h',
302     'common/media/midi_messages.h',
303     'common/media/video_capture.h',
304     'common/media/video_capture_messages.h',
305     'common/media/webrtc_identity_messages.h',
306     'common/memory_benchmark_messages.h',
307     'common/message_port_messages.h',
308     'common/message_router.cc',
309     'common/message_router.h',
310     'common/mime_registry_messages.h',
311     'common/service_worker_messages.h',
312     'common/navigation_gesture.h',
313     'common/net/url_fetcher.cc',
314     'common/net/url_request_user_data.cc',
315     'common/net/url_request_user_data.h',
316     'common/one_writer_seqlock.cc',
317     'common/one_writer_seqlock.h',
318     'common/p2p_messages.h',
319     'common/p2p_sockets.h',
320     'common/page_state_serialization.cc',
321     'common/page_state_serialization.h',
322     'common/page_zoom.cc',
323     'common/pepper_messages.h',
324     'common/pepper_plugin_list.cc',
325     'common/pepper_plugin_list.h',
326     'common/pepper_renderer_instance_data.cc',
327     'common/pepper_renderer_instance_data.h',
328     'common/plugin_carbon_interpose_constants_mac.cc',
329     'common/plugin_carbon_interpose_constants_mac.h',
330     'common/plugin_constants_win.cc',
331     'common/plugin_constants_win.h',
332     'common/plugin_list.cc',
333     'common/plugin_list.h',
334     'common/plugin_list_mac.mm',
335     'common/plugin_list_posix.cc',
336     'common/plugin_list_win.cc',
337     'common/plugin_process_messages.h',
338     'common/power_monitor_messages.h',
339     'common/process_type.cc',
340     'common/quota_messages.h',
341     'common/resource_messages.cc',
342     'common/resource_messages.h',
343     'common/sandbox_init_linux.cc',
344     'common/sandbox_init_mac.cc',
345     'common/sandbox_init_mac.h',
346     'common/sandbox_init_win.cc',
347     'common/sandbox_mac.h',
348     'common/sandbox_mac.mm',
349     'common/sandbox_linux.h',
350     'common/sandbox_linux.cc',
351     'common/sandbox_seccomp_bpf_linux.cc',
352     'common/sandbox_seccomp_bpf_linux.h',
353     'common/sandbox_util.cc',
354     'common/sandbox_util.h',
355     'common/sandbox_win.cc',
356     'common/sandbox_win.h',
357     'common/savable_url_schemes.cc',
358     'common/savable_url_schemes.h',
359     'common/set_process_title.cc',
360     'common/set_process_title.h',
361     'common/set_process_title_linux.cc',
362     'common/set_process_title_linux.h',
363     'common/socket_stream.h',
364     'common/socket_stream_handle_data.cc',
365     'common/socket_stream_handle_data.h',
366     'common/socket_stream_messages.h',
367     'common/speech_recognition_messages.h',
368     'common/ssl_status_serialization.cc',
369     'common/ssl_status_serialization.h',
370     'common/swapped_out_messages.cc',
371     'common/swapped_out_messages.h',
372     'common/text_input_client_messages.h',
373     'common/url_schemes.cc',
374     'common/url_schemes.h',
375     'common/utility_messages.h',
376     'common/view_messages.h',
377     'common/view_message_enums.h',
378     'common/webplugin_geometry.cc',
379     'common/webplugin_geometry.h',
380     'common/websocket.cc',
381     'common/websocket.h',
382     'common/websocket_messages.h',
383     'common/worker_messages.h',
384     'common/zygote_commands_linux.h',
385     'port/common/input_event_ack_state.h',
386     'public/common/browser_plugin_permission_type.h',
387     'public/common/common_param_traits.cc',
388     'public/common/common_param_traits.h',
389     'public/common/common_param_traits_macros.h',
390     'public/common/content_client.cc',
391     'public/common/content_client.h',
392     'public/common/window_container_type.cc',
393     'public/common/window_container_type.h',
394   ],
395   'conditions': [
396     ['OS=="ios"', {
397       'sources/': [
398         # iOS only needs a small portion of content; exclude all the
399         # implementation, and re-include what is used.
400         ['exclude', '\\.(cc|mm)$'],
401         ['include', '_ios\\.(cc|mm)$'],
402         ['include', '^public/common/content_client\\.cc$'],
403         ['include', '^public/common/content_constants\\.cc$'],
404         ['include', '^public/common/content_switches\\.cc$'],
405         ['include', '^public/common/frame_navigate_params\\.cc$'],
406         ['include', '^public/common/media_stream_request\\.cc$'],
407         ['include', '^public/common/page_state\\.cc$'],
408         ['include', '^public/common/page_transition_types\\.cc$'],
409         ['include', '^public/common/password_form\\.cc$'],
410         ['include', '^public/common/signed_certificate_timestamp_id_and_status\\.cc$'],
411         ['include', '^public/common/speech_recognition_result\\.cc$'],
412         ['include', '^public/common/ssl_status\\.cc$'],
413         ['include', '^public/common/url_constants\\.cc$'],
414         ['include', '^common/content_paths\\.cc$'],
415         ['include', '^common/media/media_stream_options\\.cc$'],
416         ['include', '^common/net/url_fetcher\\.cc$'],
417         ['include', '^common/net/url_request_user_data\\.cc$'],
418         ['include', '^common/page_state_serialization\\.cc$'],
419         ['include', '^common/savable_url_schemes\\.cc$'],
420         ['include', '^common/url_schemes\\.cc$'],
421       ],
422     }, {  # OS!="ios"
423       'dependencies': [
424         '../cc/cc.gyp:cc',
425         '../gpu/gpu.gyp:command_buffer_service',
426         '../gpu/gpu.gyp:gles2_c_lib',
427         '../gpu/gpu.gyp:gles2_implementation',
428         '../gpu/gpu.gyp:gpu_ipc',
429         '../ipc/ipc.gyp:ipc',
430         '../media/media.gyp:media',
431         '../media/media.gyp:shared_memory_support',
432         '../third_party/WebKit/public/blink.gyp:blink',
433         '../ui/gl/gl.gyp:gl',
434         '../webkit/common/webkit_common.gyp:webkit_common',
435         '../webkit/storage_browser.gyp:webkit_storage_browser',
436         '../webkit/storage_common.gyp:webkit_storage_common',
437       ],
438     }],
439     ['OS!="ios" and chrome_multiple_dll!=1', {
440       'dependencies': [
441         '../webkit/glue/webkit_glue.gyp:glue',
442       ],
443     }],
444     ['OS=="mac"', {
445       'sources!': [
446         'common/plugin_list_posix.cc',
447       ],
448       'link_settings': {
449         'libraries': [
450           '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
451         ],
452       },
453     }],
454     ['OS=="android"',{
455       'link_settings': {
456         'libraries': [
457           '-landroid',  # ANativeWindow
458         ],
459       },
460      'dependencies': [
461         'content.gyp:content_jni_headers',
462         'content.gyp:common_aidl',
463       ],
464     }],
465     ['toolkit_uses_gtk == 1', {
466       'dependencies': [
467         '../build/linux/system.gyp:gtk',
468       ],
469     }],
470     ['use_pango == 1', {
471       'dependencies': [
472         '../build/linux/system.gyp:pangocairo',
473       ],
474       'sources!': [
475         'common/font_list_ozone.cc',
476       ],
477     }],
478     ['use_x11 == 1', {
479       'include_dirs': [
480         '<(DEPTH)/third_party/khronos',
481       ],
482       'link_settings': {
483         'libraries': [
484           '-lXcomposite',
485         ],
486       },
487     }],
488     ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
489       'sources': [
490         'common/gpu/x_util.cc',
491         'common/gpu/x_util.h',
492       ],
493     }],
494     ['enable_plugins==1', {
495       'dependencies': [
496         '../ppapi/ppapi_internal.gyp:ppapi_shared',
497       ],
498     }, {  # enable_plugins == 0
499       'sources!': [
500         'common/pepper_plugin_list.cc',
501         'common/pepper_plugin_list.h',
502         'common/sandbox_util.cc',
503       ],
504     }],
505     ['OS=="android"', {
506       'dependencies': [
507         '../media/media.gyp:media',
508       ],
509       'sources': [
510         'common/gpu/media/android_video_decode_accelerator.cc',
511         'common/gpu/media/android_video_decode_accelerator.h',
512       ],
513     }],
514     ['target_arch=="arm" and chromeos == 1 and use_x11 == 1', {
515       'dependencies': [
516         '../media/media.gyp:media',
517       ],
518       'sources': [
519         'common/gpu/media/exynos_video_decode_accelerator.cc',
520         'common/gpu/media/exynos_video_decode_accelerator.h',
521         'common/gpu/media/exynos_video_encode_accelerator.cc',
522         'common/gpu/media/exynos_video_encode_accelerator.h',
523       ],
524       'include_dirs': [
525         '<(DEPTH)/third_party/khronos',
526       ],
527       'link_settings': {
528         'libraries': [
529           '-lEGL',
530           '-lGLESv2',
531         ],
532       },
533     }],
534     ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', {
535       'sources': [
536         'common/gpu/media/h264_dpb.cc',
537         'common/gpu/media/h264_dpb.h',
538         'common/gpu/media/va_surface.h',
539         'common/gpu/media/vaapi_h264_decoder.cc',
540         'common/gpu/media/vaapi_h264_decoder.h',
541         'common/gpu/media/vaapi_video_decode_accelerator.cc',
542         'common/gpu/media/vaapi_video_decode_accelerator.h',
543         'common/gpu/media/vaapi_wrapper.cc',
544         'common/gpu/media/vaapi_wrapper.h',
545       ],
546       'include_dirs': [
547         '<(DEPTH)/third_party/libva',
548       ],
549     }],
550     ['OS=="win"', {
551       'dependencies': [
552         '../media/media.gyp:media',
553         '../ui/gl/gl.gyp:gl',
554       ],
555       'link_settings': {
556         'libraries': [
557            '-ld3d9.lib',
558            '-ldxva2.lib',
559            '-lstrmiids.lib',
560            '-lmf.lib',
561            '-lmfplat.lib',
562            '-lmfuuid.lib',
563         ],
564         'msvs_settings': {
565           'VCLinkerTool': {
566             'DelayLoadDLLs': [
567               'd3d9.dll',
568               'dxva2.dll',
569               'mf.dll',
570               'mfplat.dll',
571             ],
572           },
573         },
574       },
575       'sources': [
576         'common/gpu/media/dxva_video_decode_accelerator.cc',
577         'common/gpu/media/dxva_video_decode_accelerator.h',
578       ],
579       'include_dirs': [
580         '<(DEPTH)/third_party/khronos',
581       ],
582     }],
583     ['OS=="win" and directxsdk_exists=="True"', {
584       'actions': [
585       {
586         'action_name': 'extract_xinput',
587         'variables': {
588           'input': 'APR2007_xinput_<(winsdk_arch).cab',
589           'output': 'xinput1_3.dll',
590         },
591         'inputs': [
592           '../third_party/directxsdk/files/Redist/<(input)',
593         ],
594         'outputs': [
595           '<(PRODUCT_DIR)/<(output)',
596         ],
597         'action': [
598           'python',
599         '../build/extract_from_cab.py',
600         '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
601         '<(output)',
602         '<(PRODUCT_DIR)',
603         ],
604         'msvs_cygwin_shell': 1,
605       },
606      ]
607     }],
608   ],