[Linux] Show preview contents for minimized windows
[chromium-blink-merge.git] / media / media.gyp
blob355312e93745729ede8145b2452204ad4001e729
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     'chromium_code': 1,
8     # Override to dynamically link the cras (ChromeOS audio) library.
9     'use_cras%': 0,
10     # Option e.g. for Linux distributions to link pulseaudio directly
11     # (DT_NEEDED) instead of using dlopen. This helps with automated
12     # detection of ABI mismatches and prevents silent errors.
13     'linux_link_pulseaudio%': 0,
14     'conditions': [
15       ['OS=="android" or OS=="ios"', {
16         # Android and iOS don't use ffmpeg or libvpx.
17         'media_use_ffmpeg%': 0,
18         'media_use_libvpx%': 0,
19       }, {  # 'OS!="android" and OS!="ios"'
20         'media_use_ffmpeg%': 1,
21         'media_use_libvpx%': 1,
22       }],
23       # Enable ALSA and Pulse for runtime selection.
24       ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and (embedded!=1 or (chromecast==1 and target_arch!="arm"))', {
25         # ALSA is always needed for Web MIDI even if the cras is enabled.
26         'use_alsa%': 1,
27         'conditions': [
28           ['use_cras==1', {
29             'use_pulseaudio%': 0,
30           }, {
31             'use_pulseaudio%': 1,
32           }],
33         ],
34       }, {
35         'use_alsa%': 0,
36         'use_pulseaudio%': 0,
37       }],
38       ['sysroot!=""', {
39         'pkg-config': '../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"',
40       }, {
41         'pkg-config': 'pkg-config'
42       }],
43     ],
44   },
45   'includes': [
46     'media_cdm.gypi',
47   ],
48   'targets': [
49     {
50       # GN version: //media
51       'target_name': 'media',
52       'type': '<(component)',
53       'dependencies': [
54         '../base/base.gyp:base',
55         '../base/base.gyp:base_i18n',
56         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
57         '../crypto/crypto.gyp:crypto',
58         '../gpu/gpu.gyp:command_buffer_common',
59         '../skia/skia.gyp:skia',
60         '../third_party/libyuv/libyuv.gyp:libyuv',
61         '../third_party/opus/opus.gyp:opus',
62         '../ui/events/events.gyp:events_base',
63         '../ui/gfx/gfx.gyp:gfx',
64         '../ui/gfx/gfx.gyp:gfx_geometry',
65         '../url/url.gyp:url_lib',
66         'shared_memory_support',
67       ],
68       'defines': [
69         'MEDIA_IMPLEMENTATION',
70       ],
71       'include_dirs': [
72         '..',
73       ],
74       'sources': [
75         'audio/agc_audio_stream.h',
76         'audio/alsa/alsa_input.cc',
77         'audio/alsa/alsa_input.h',
78         'audio/alsa/alsa_output.cc',
79         'audio/alsa/alsa_output.h',
80         'audio/alsa/alsa_util.cc',
81         'audio/alsa/alsa_util.h',
82         'audio/alsa/alsa_wrapper.cc',
83         'audio/alsa/alsa_wrapper.h',
84         'audio/alsa/audio_manager_alsa.cc',
85         'audio/alsa/audio_manager_alsa.h',
86         'audio/android/audio_manager_android.cc',
87         'audio/android/audio_manager_android.h',
88         'audio/android/audio_record_input.cc',
89         'audio/android/audio_record_input.h',
90         'audio/android/opensles_input.cc',
91         'audio/android/opensles_input.h',
92         'audio/android/opensles_output.cc',
93         'audio/android/opensles_output.h',
94         'audio/android/opensles_wrapper.cc',
95         'audio/audio_buffers_state.cc',
96         'audio/audio_buffers_state.h',
97         'audio/audio_device_name.cc',
98         'audio/audio_device_name.h',
99         'audio/audio_device_thread.cc',
100         'audio/audio_device_thread.h',
101         'audio/audio_input_controller.cc',
102         'audio/audio_input_controller.h',
103         'audio/audio_input_device.cc',
104         'audio/audio_input_device.h',
105         'audio/audio_input_ipc.cc',
106         'audio/audio_input_ipc.h',
107         'audio/audio_io.h',
108         'audio/audio_manager.cc',
109         'audio/audio_manager.h',
110         'audio/audio_manager_base.cc',
111         'audio/audio_manager_base.h',
112         'audio/audio_output_controller.cc',
113         'audio/audio_output_controller.h',
114         'audio/audio_output_device.cc',
115         'audio/audio_output_device.h',
116         'audio/audio_output_dispatcher.cc',
117         'audio/audio_output_dispatcher.h',
118         'audio/audio_output_dispatcher_impl.cc',
119         'audio/audio_output_dispatcher_impl.h',
120         'audio/audio_output_ipc.cc',
121         'audio/audio_output_ipc.h',
122         'audio/audio_output_proxy.cc',
123         'audio/audio_output_proxy.h',
124         'audio/audio_output_resampler.cc',
125         'audio/audio_output_resampler.h',
126         'audio/audio_power_monitor.cc',
127         'audio/audio_power_monitor.h',
128         'audio/audio_source_diverter.h',
129         'audio/clockless_audio_sink.cc',
130         'audio/clockless_audio_sink.h',
131         'audio/cras/audio_manager_cras.cc',
132         'audio/cras/audio_manager_cras.h',
133         'audio/cras/cras_input.cc',
134         'audio/cras/cras_input.h',
135         'audio/cras/cras_unified.cc',
136         'audio/cras/cras_unified.h',
137         'audio/fake_audio_consumer.cc',
138         'audio/fake_audio_consumer.h',
139         'audio/fake_audio_input_stream.cc',
140         'audio/fake_audio_input_stream.h',
141         'audio/fake_audio_log_factory.h',
142         'audio/fake_audio_log_factory.cc',
143         'audio/fake_audio_manager.cc',
144         'audio/fake_audio_manager.h',
145         'audio/fake_audio_output_stream.cc',
146         'audio/fake_audio_output_stream.h',
147         'audio/linux/audio_manager_linux.cc',
148         'audio/mac/audio_auhal_mac.cc',
149         'audio/mac/audio_auhal_mac.h',
150         'audio/mac/audio_device_listener_mac.cc',
151         'audio/mac/audio_device_listener_mac.h',
152         'audio/mac/audio_input_mac.cc',
153         'audio/mac/audio_input_mac.h',
154         'audio/mac/audio_low_latency_input_mac.cc',
155         'audio/mac/audio_low_latency_input_mac.h',
156         'audio/mac/audio_manager_mac.cc',
157         'audio/mac/audio_manager_mac.h',
158         'audio/null_audio_sink.cc',
159         'audio/null_audio_sink.h',
160         'audio/openbsd/audio_manager_openbsd.cc',
161         'audio/openbsd/audio_manager_openbsd.h',
162         'audio/pulse/audio_manager_pulse.cc',
163         'audio/pulse/audio_manager_pulse.h',
164         'audio/pulse/pulse_input.cc',
165         'audio/pulse/pulse_input.h',
166         'audio/pulse/pulse_output.cc',
167         'audio/pulse/pulse_output.h',
168         'audio/pulse/pulse_util.cc',
169         'audio/pulse/pulse_util.h',
170         'audio/sample_rates.cc',
171         'audio/sample_rates.h',
172         'audio/scoped_task_runner_observer.cc',
173         'audio/scoped_task_runner_observer.h',
174         'audio/simple_sources.cc',
175         'audio/simple_sources.h',
176         'audio/sounds/audio_stream_handler.cc',
177         'audio/sounds/audio_stream_handler.h',
178         'audio/sounds/sounds_manager.cc',
179         'audio/sounds/sounds_manager.h',
180         'audio/sounds/wav_audio_handler.cc',
181         'audio/sounds/wav_audio_handler.h',
182         'audio/virtual_audio_input_stream.cc',
183         'audio/virtual_audio_input_stream.h',
184         'audio/virtual_audio_output_stream.cc',
185         'audio/virtual_audio_output_stream.h',
186         'audio/win/audio_device_listener_win.cc',
187         'audio/win/audio_device_listener_win.h',
188         'audio/win/audio_low_latency_input_win.cc',
189         'audio/win/audio_low_latency_input_win.h',
190         'audio/win/audio_low_latency_output_win.cc',
191         'audio/win/audio_low_latency_output_win.h',
192         'audio/win/audio_manager_win.cc',
193         'audio/win/audio_manager_win.h',
194         'audio/win/avrt_wrapper_win.cc',
195         'audio/win/avrt_wrapper_win.h',
196         'audio/win/core_audio_util_win.cc',
197         'audio/win/core_audio_util_win.h',
198         'audio/win/device_enumeration_win.cc',
199         'audio/win/device_enumeration_win.h',
200         'audio/win/wavein_input_win.cc',
201         'audio/win/wavein_input_win.h',
202         'audio/win/waveout_output_win.cc',
203         'audio/win/waveout_output_win.h',
204         'base/android/demuxer_android.h',
205         'base/android/demuxer_stream_player_params.cc',
206         'base/android/demuxer_stream_player_params.h',
207         'base/android/media_player_manager.h',
208         'base/android/media_resource_getter.cc',
209         'base/android/media_resource_getter.h',
210         'base/audio_block_fifo.cc',
211         'base/audio_block_fifo.h',
212         'base/audio_buffer.cc',
213         'base/audio_buffer.h',
214         'base/audio_buffer_queue.cc',
215         'base/audio_buffer_queue.h',
216         'base/audio_buffer_converter.cc',
217         'base/audio_buffer_converter.h',
218         'base/audio_capturer_source.h',
219         'base/audio_converter.cc',
220         'base/audio_converter.h',
221         'base/audio_decoder.cc',
222         'base/audio_decoder.h',
223         'base/audio_decoder_config.cc',
224         'base/audio_decoder_config.h',
225         'base/audio_discard_helper.cc',
226         'base/audio_discard_helper.h',
227         'base/audio_fifo.cc',
228         'base/audio_fifo.h',
229         'base/audio_hardware_config.cc',
230         'base/audio_hardware_config.h',
231         'base/audio_hash.cc',
232         'base/audio_hash.h',
233         'base/audio_pull_fifo.cc',
234         'base/audio_pull_fifo.h',
235         'base/audio_renderer.cc',
236         'base/audio_renderer.h',
237         'base/audio_renderer_mixer.cc',
238         'base/audio_renderer_mixer.h',
239         'base/audio_renderer_mixer_input.cc',
240         'base/audio_renderer_mixer_input.h',
241         'base/audio_renderer_sink.h',
242         'base/audio_splicer.cc',
243         'base/audio_splicer.h',
244         'base/audio_timestamp_helper.cc',
245         'base/audio_timestamp_helper.h',
246         'base/audio_video_metadata_extractor.cc',
247         'base/audio_video_metadata_extractor.h',
248         'base/bind_to_current_loop.h',
249         'base/bit_reader.cc',
250         'base/bit_reader.h',
251         'base/bit_reader_core.cc',
252         'base/bit_reader_core.h',
253         'base/bitstream_buffer.h',
254         'base/buffering_state.h',
255         'base/buffers.h',
256         'base/byte_queue.cc',
257         'base/byte_queue.h',
258         'base/cdm_promise.cc',
259         'base/cdm_promise.h',
260         'base/channel_mixer.cc',
261         'base/channel_mixer.h',
262         'base/container_names.cc',
263         'base/container_names.h',
264         'base/data_buffer.cc',
265         'base/data_buffer.h',
266         'base/data_source.cc',
267         'base/data_source.h',
268         'base/decoder_buffer.cc',
269         'base/decoder_buffer.h',
270         'base/decoder_buffer_queue.cc',
271         'base/decoder_buffer_queue.h',
272         'base/decrypt_config.cc',
273         'base/decrypt_config.h',
274         'base/decryptor.cc',
275         'base/decryptor.h',
276         'base/demuxer.cc',
277         'base/demuxer.h',
278         'base/demuxer_stream.cc',
279         'base/demuxer_stream.h',
280         'base/djb2.cc',
281         'base/djb2.h',
282         'base/keyboard_event_counter.cc',
283         'base/keyboard_event_counter.h',
284         'base/mac/avfoundation_glue.h',
285         'base/mac/avfoundation_glue.mm',
286         'base/mac/coremedia_glue.h',
287         'base/mac/coremedia_glue.mm',
288         'base/media.cc',
289         'base/media.h',
290         'base/media_file_checker.cc',
291         'base/media_file_checker.h',
292         'base/media_keys.cc',
293         'base/media_keys.h',
294         'base/media_log.cc',
295         'base/media_log.h',
296         'base/media_log_event.h',
297         'base/media_posix.cc',
298         'base/media_switches.cc',
299         'base/media_switches.h',
300         'base/media_win.cc',
301         'base/multi_channel_resampler.cc',
302         'base/multi_channel_resampler.h',
303         'base/pipeline.cc',
304         'base/pipeline.h',
305         'base/pipeline_status.h',
306         'base/player_tracker.cc',
307         'base/player_tracker.h',
308         'base/ranges.cc',
309         'base/ranges.h',
310         'base/renderer.cc',
311         'base/renderer.h',
312         'base/sample_format.cc',
313         'base/sample_format.h',
314         'base/scoped_histogram_timer.h',
315         'base/seekable_buffer.cc',
316         'base/seekable_buffer.h',
317         'base/serial_runner.cc',
318         'base/serial_runner.h',
319         'base/simd/convert_rgb_to_yuv.h',
320         'base/simd/convert_rgb_to_yuv_c.cc',
321         'base/simd/convert_yuv_to_rgb.h',
322         'base/simd/convert_yuv_to_rgb_c.cc',
323         'base/simd/filter_yuv.h',
324         'base/simd/filter_yuv_c.cc',
325         'base/simd/yuv_to_rgb_table.cc',
326         'base/simd/yuv_to_rgb_table.h',
327         'base/sinc_resampler.cc',
328         'base/sinc_resampler.h',
329         'base/stream_parser.cc',
330         'base/stream_parser.h',
331         'base/stream_parser_buffer.cc',
332         'base/stream_parser_buffer.h',
333         'base/text_cue.cc',
334         'base/text_cue.h',
335         'base/text_ranges.cc',
336         'base/text_ranges.h',
337         'base/text_renderer.cc',
338         'base/text_renderer.h',
339         'base/text_track.h',
340         'base/text_track_config.cc',
341         'base/text_track_config.h',
342         'base/time_delta_interpolator.cc',
343         'base/time_delta_interpolator.h',
344         'base/time_source.h',
345         'base/user_input_monitor.cc',
346         'base/user_input_monitor.h',
347         'base/user_input_monitor_linux.cc',
348         'base/user_input_monitor_mac.cc',
349         'base/user_input_monitor_win.cc',
350         'base/video_decoder.cc',
351         'base/video_decoder.h',
352         'base/video_decoder_config.cc',
353         'base/video_decoder_config.h',
354         'base/video_frame.cc',
355         'base/video_frame.h',
356         'base/video_frame_pool.cc',
357         'base/video_frame_pool.h',
358         'base/video_renderer.cc',
359         'base/video_renderer.h',
360         'base/video_rotation.h',
361         'base/video_util.cc',
362         'base/video_util.h',
363         'base/yuv_convert.cc',
364         'base/yuv_convert.h',
365         'base/wall_clock_time_source.cc',
366         'base/wall_clock_time_source.h',
367         'cdm/aes_decryptor.cc',
368         'cdm/aes_decryptor.h',
369         'cdm/json_web_key.cc',
370         'cdm/json_web_key.h',
371         'cdm/key_system_names.cc',
372         'cdm/key_system_names.h',
373         'cdm/player_tracker_impl.cc',
374         'cdm/player_tracker_impl.h',
375         'ffmpeg/ffmpeg_common.cc',
376         'ffmpeg/ffmpeg_common.h',
377         'ffmpeg/ffmpeg_deleters.h',
378         'filters/audio_clock.cc',
379         'filters/audio_clock.h',
380         'filters/audio_file_reader.cc',
381         'filters/audio_file_reader.h',
382         'filters/audio_renderer_algorithm.cc',
383         'filters/audio_renderer_algorithm.h',
384         'filters/audio_renderer_impl.cc',
385         'filters/audio_renderer_impl.h',
386         'filters/blocking_url_protocol.cc',
387         'filters/blocking_url_protocol.h',
388         'filters/chunk_demuxer.cc',
389         'filters/chunk_demuxer.h',
390         'filters/decoder_selector.cc',
391         'filters/decoder_selector.h',
392         'filters/decoder_stream.cc',
393         'filters/decoder_stream.h',
394         'filters/decoder_stream_traits.cc',
395         'filters/decoder_stream_traits.h',
396         'filters/decrypting_audio_decoder.cc',
397         'filters/decrypting_audio_decoder.h',
398         'filters/decrypting_demuxer_stream.cc',
399         'filters/decrypting_demuxer_stream.h',
400         'filters/decrypting_video_decoder.cc',
401         'filters/decrypting_video_decoder.h',
402         'filters/ffmpeg_audio_decoder.cc',
403         'filters/ffmpeg_audio_decoder.h',
404         'filters/ffmpeg_demuxer.cc',
405         'filters/ffmpeg_demuxer.h',
406         'filters/ffmpeg_glue.cc',
407         'filters/ffmpeg_glue.h',
408         'filters/ffmpeg_video_decoder.cc',
409         'filters/ffmpeg_video_decoder.h',
410         'filters/file_data_source.cc',
411         'filters/file_data_source.h',
412         'filters/frame_processor.cc',
413         'filters/frame_processor.h',
414         'filters/gpu_video_accelerator_factories.cc',
415         'filters/gpu_video_accelerator_factories.h',
416         'filters/gpu_video_decoder.cc',
417         'filters/gpu_video_decoder.h',
418         'filters/h264_bit_reader.cc',
419         'filters/h264_bit_reader.h',
420         'filters/h264_parser.cc',
421         'filters/h264_parser.h',
422         'filters/in_memory_url_protocol.cc',
423         'filters/in_memory_url_protocol.h',
424         'filters/opus_audio_decoder.cc',
425         'filters/opus_audio_decoder.h',
426         'filters/renderer_impl.cc',
427         'filters/renderer_impl.h',
428         'filters/skcanvas_video_renderer.cc',
429         'filters/skcanvas_video_renderer.h',
430         'filters/source_buffer_platform.cc',
431         'filters/source_buffer_platform.h',
432         'filters/source_buffer_stream.cc',
433         'filters/source_buffer_stream.h',
434         'filters/stream_parser_factory.cc',
435         'filters/stream_parser_factory.h',
436         'filters/video_frame_scheduler.h',
437         'filters/video_frame_scheduler_impl.cc',
438         'filters/video_frame_scheduler_impl.h',
439         'filters/video_frame_scheduler_proxy.cc',
440         'filters/video_frame_scheduler_proxy.h',
441         'filters/video_renderer_impl.cc',
442         'filters/video_renderer_impl.h',
443         'filters/vpx_video_decoder.cc',
444         'filters/vpx_video_decoder.h',
445         'filters/webvtt_util.h',
446         'filters/wsola_internals.cc',
447         'filters/wsola_internals.h',
448         'midi/midi_manager.cc',
449         'midi/midi_manager.h',
450         'midi/midi_manager_alsa.cc',
451         'midi/midi_manager_alsa.h',
452         'midi/midi_manager_android.cc',
453         'midi/midi_manager_mac.cc',
454         'midi/midi_manager_mac.h',
455         'midi/midi_manager_usb.cc',
456         'midi/midi_manager_usb.h',
457         'midi/midi_manager_win.cc',
458         'midi/midi_manager_win.h',
459         'midi/midi_message_queue.cc',
460         'midi/midi_message_queue.h',
461         'midi/midi_message_util.cc',
462         'midi/midi_message_util.h',
463         'midi/midi_port_info.cc',
464         'midi/midi_port_info.h',
465         'midi/usb_midi_descriptor_parser.cc',
466         'midi/usb_midi_descriptor_parser.h',
467         'midi/usb_midi_device.h',
468         'midi/usb_midi_device_android.cc',
469         'midi/usb_midi_device_android.h',
470         'midi/usb_midi_device_factory_android.cc',
471         'midi/usb_midi_device_factory_android.h',
472         'midi/usb_midi_input_stream.cc',
473         'midi/usb_midi_input_stream.h',
474         'midi/usb_midi_jack.h',
475         'midi/usb_midi_output_stream.cc',
476         'midi/usb_midi_output_stream.h',
477         'ozone/media_ozone_platform.cc',
478         'ozone/media_ozone_platform.h',
479         'video/capture/android/video_capture_device_android.cc',
480         'video/capture/android/video_capture_device_android.h',
481         'video/capture/android/video_capture_device_factory_android.cc',
482         'video/capture/android/video_capture_device_factory_android.h',
483         'video/capture/fake_video_capture_device.cc',
484         'video/capture/fake_video_capture_device.h',
485         'video/capture/fake_video_capture_device_factory.h',
486         'video/capture/fake_video_capture_device_factory.cc',
487         'video/capture/file_video_capture_device.cc',
488         'video/capture/file_video_capture_device.h',
489         'video/capture/file_video_capture_device_factory.h',
490         'video/capture/file_video_capture_device_factory.cc',
491         'video/capture/linux/video_capture_device_factory_linux.cc',
492         'video/capture/linux/video_capture_device_factory_linux.h',
493         'video/capture/linux/video_capture_device_linux.cc',
494         'video/capture/linux/video_capture_device_linux.h',
495         'video/capture/linux/video_capture_device_chromeos.cc',
496         'video/capture/linux/video_capture_device_chromeos.h',
497         'video/capture/mac/platform_video_capturing_mac.h',
498         'video/capture/mac/video_capture_device_avfoundation_mac.h',
499         'video/capture/mac/video_capture_device_avfoundation_mac.mm',
500         'video/capture/mac/video_capture_device_factory_mac.h',
501         'video/capture/mac/video_capture_device_factory_mac.mm',
502         'video/capture/mac/video_capture_device_mac.h',
503         'video/capture/mac/video_capture_device_mac.mm',
504         'video/capture/mac/video_capture_device_qtkit_mac.h',
505         'video/capture/mac/video_capture_device_qtkit_mac.mm',
506         'video/capture/video_capture_device.cc',
507         'video/capture/video_capture_device.h',
508         'video/capture/video_capture_device_factory.cc',
509         'video/capture/video_capture_device_factory.h',
510         'video/capture/video_capture_types.cc',
511         'video/capture/video_capture_types.h',
512         'video/capture/win/capability_list_win.cc',
513         'video/capture/win/capability_list_win.h',
514         'video/capture/win/filter_base_win.cc',
515         'video/capture/win/filter_base_win.h',
516         'video/capture/win/pin_base_win.cc',
517         'video/capture/win/pin_base_win.h',
518         'video/capture/win/sink_filter_observer_win.h',
519         'video/capture/win/sink_filter_win.cc',
520         'video/capture/win/sink_filter_win.h',
521         'video/capture/win/sink_input_pin_win.cc',
522         'video/capture/win/sink_input_pin_win.h',
523         'video/capture/win/video_capture_device_factory_win.cc',
524         'video/capture/win/video_capture_device_factory_win.h',
525         'video/capture/win/video_capture_device_mf_win.cc',
526         'video/capture/win/video_capture_device_mf_win.h',
527         'video/capture/win/video_capture_device_win.cc',
528         'video/capture/win/video_capture_device_win.h',
529         'video/picture.cc',
530         'video/picture.h',
531         'video/video_decode_accelerator.cc',
532         'video/video_decode_accelerator.h',
533         'video/video_encode_accelerator.cc',
534         'video/video_encode_accelerator.h',
535         'formats/common/offset_byte_queue.cc',
536         'formats/common/offset_byte_queue.h',
537         'formats/webm/webm_audio_client.cc',
538         'formats/webm/webm_audio_client.h',
539         'formats/webm/webm_cluster_parser.cc',
540         'formats/webm/webm_cluster_parser.h',
541         'formats/webm/webm_constants.cc',
542         'formats/webm/webm_constants.h',
543         'formats/webm/webm_content_encodings.cc',
544         'formats/webm/webm_content_encodings.h',
545         'formats/webm/webm_content_encodings_client.cc',
546         'formats/webm/webm_content_encodings_client.h',
547         'formats/webm/webm_crypto_helpers.cc',
548         'formats/webm/webm_crypto_helpers.h',
549         'formats/webm/webm_info_parser.cc',
550         'formats/webm/webm_info_parser.h',
551         'formats/webm/webm_parser.cc',
552         'formats/webm/webm_parser.h',
553         'formats/webm/webm_stream_parser.cc',
554         'formats/webm/webm_stream_parser.h',
555         'formats/webm/webm_tracks_parser.cc',
556         'formats/webm/webm_tracks_parser.h',
557         'formats/webm/webm_video_client.cc',
558         'formats/webm/webm_video_client.h',
559         'formats/webm/webm_webvtt_parser.cc',
560         'formats/webm/webm_webvtt_parser.h'
561       ],
562       'direct_dependent_settings': {
563         'include_dirs': [
564           '..',
565         ],
566       },
567       'conditions': [
568         ['arm_neon==1', {
569           'defines': [
570             'USE_NEON'
571           ],
572         }],
573         ['media_use_ffmpeg==1', {
574           'dependencies': [
575             '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
576           ],
577         }, {  # media_use_ffmpeg==0
578           # Exclude the sources that depend on ffmpeg.
579           'sources!': [
580             'base/audio_video_metadata_extractor.cc',
581             'base/audio_video_metadata_extractor.h',
582             'base/container_names.cc',
583             'base/container_names.h',
584             'base/media_file_checker.cc',
585             'base/media_file_checker.h',
586             'base/media_posix.cc',
587             'ffmpeg/ffmpeg_common.cc',
588             'ffmpeg/ffmpeg_common.h',
589             'filters/audio_file_reader.cc',
590             'filters/audio_file_reader.h',
591             'filters/blocking_url_protocol.cc',
592             'filters/blocking_url_protocol.h',
593             'filters/ffmpeg_audio_decoder.cc',
594             'filters/ffmpeg_audio_decoder.h',
595             'filters/ffmpeg_demuxer.cc',
596             'filters/ffmpeg_demuxer.h',
597             'filters/ffmpeg_glue.cc',
598             'filters/ffmpeg_glue.h',
599             'filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc',
600             'filters/ffmpeg_h264_to_annex_b_bitstream_converter.h',
601             'filters/ffmpeg_video_decoder.cc',
602             'filters/ffmpeg_video_decoder.h',
603             'filters/in_memory_url_protocol.cc',
604             'filters/in_memory_url_protocol.h',
605           ],
606         }],
607         ['media_use_libvpx==1', {
608           'dependencies': [
609             '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
610           ],
611         }, {  # media_use_libvpx==0
612           'direct_dependent_settings': {
613             'defines': [
614               'MEDIA_DISABLE_LIBVPX',
615             ],
616           },
617           # Exclude the sources that depend on libvpx.
618           'sources!': [
619             'filters/vpx_video_decoder.cc',
620             'filters/vpx_video_decoder.h',
621           ],
622         }],
623         ['enable_browser_cdms==1', {
624           'sources': [
625             'base/browser_cdm.cc',
626             'base/browser_cdm.h',
627             'base/browser_cdm_factory.h',
628           ],
629         }],
630         ['OS=="android"', {
631           'dependencies': [
632             'media_android_jni_headers',
633             'player_android',
634             'video_capture_android_jni_headers',
635           ],
636           'sources': [
637             'base/media.cc',
638             'base/media.h',
639             'base/media_stub.cc',
640           ],
641           'sources!': [
642             'filters/opus_audio_decoder.cc',
643             'filters/opus_audio_decoder.h',
644           ],
645           'conditions': [
646             ['android_webview_build==0', {
647               'dependencies': [
648                 'media_java',
649               ],
650             }],
651           ],
652           'defines': [
653             'DISABLE_USER_INPUT_MONITOR',
654           ],
655         }],
656         # For VaapiVideoEncodeAccelerator.
657         ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', {
658           'sources': [
659             'filters/h264_bitstream_buffer.cc',
660             'filters/h264_bitstream_buffer.h',
661           ],
662         }],
663         ['use_alsa==1', {
664           'link_settings': {
665             'libraries': [
666               '-lasound',
667             ],
668           },
669           'defines': [
670             'USE_ALSA',
671           ],
672         }, { # use_alsa==0
673           'sources/': [
674             ['exclude', '(^|/)alsa/'],
675             ['exclude', '_alsa\\.(h|cc)$'],
676           ],
677         }],
678         ['OS!="openbsd"', {
679           'sources!': [
680             'audio/openbsd/audio_manager_openbsd.cc',
681             'audio/openbsd/audio_manager_openbsd.h',
682           ],
683         }],
684         ['OS=="linux"', {
685           'conditions': [
686             ['use_x11==1', {
687               'dependencies': [
688                 '../build/linux/system.gyp:x11',
689                 '../build/linux/system.gyp:xdamage',
690                 '../build/linux/system.gyp:xext',
691                 '../build/linux/system.gyp:xfixes',
692                 '../build/linux/system.gyp:xtst',
693               ],
694             }, {  # else: use_x11==0
695               'sources!': [
696                 'base/user_input_monitor_linux.cc',
697               ],
698               'defines': [
699                 'DISABLE_USER_INPUT_MONITOR',
700               ],
701             }],
702             ['use_cras==1', {
703               'cflags': [
704                 '<!@(<(pkg-config) --cflags libcras)',
705               ],
706               'link_settings': {
707                 'libraries': [
708                   '<!@(<(pkg-config) --libs libcras)',
709                 ],
710               },
711               'defines': [
712                 'USE_CRAS',
713               ],
714             }, {  # else: use_cras==0
715               'sources!': [
716                 'audio/cras/audio_manager_cras.cc',
717                 'audio/cras/audio_manager_cras.h',
718                 'audio/cras/cras_input.cc',
719                 'audio/cras/cras_input.h',
720                 'audio/cras/cras_unified.cc',
721                 'audio/cras/cras_unified.h',
722               ],
723             }],
724           ],
725         }],
726         ['use_ozone==1', {
727           'variables': {
728             'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_list.txt',
729             'constructor_list_cc_file': '<(INTERMEDIATE_DIR)/media/ozone/constructor_list.cc',
730           },
731           'include_dirs': [
732               # Used for the generated listing header (ui/ozone/platform_list.h)
733               '<(SHARED_INTERMEDIATE_DIR)',
734           ],
735           'sources': [
736             '<(constructor_list_cc_file)',
737           ],
738           'dependencies': [
739             '../ui/ozone/ozone.gyp:ozone',
740           ],
741           'actions': [
742             {
743               # Ozone platform objects are auto-generated using similar
744               # patterns for naming and classes constructors. Here we build the
745               # object MediaOzonePlatform.
746               'action_name': 'generate_constructor_list',
747               'variables': {
748                 'generator_path': '../ui/ozone/generate_constructor_list.py',
749               },
750               'inputs': [
751                 '<(generator_path)',
752                 '<(platform_list_txt_file)',
753               ],
754               'outputs': [
755                 '<(constructor_list_cc_file)',
756               ],
757               'action': [
758                 'python',
759                 '<(generator_path)',
760                 '--platform_list=<(platform_list_txt_file)',
761                 '--output_cc=<(constructor_list_cc_file)',
762                 '--namespace=media',
763                 '--typename=MediaOzonePlatform',
764                 '--include="media/ozone/media_ozone_platform.h"'
765               ],
766             },
767           ]
768         }, {
769           'sources!': [
770             'ozone/media_ozone_platform.cc',
771             'ozone/media_ozone_platform.h',
772           ]
773         }],
774         ['OS!="linux"', {
775           'sources!': [
776             'audio/cras/audio_manager_cras.cc',
777             'audio/cras/audio_manager_cras.h',
778             'audio/cras/cras_input.cc',
779             'audio/cras/cras_input.h',
780             'audio/cras/cras_unified.cc',
781             'audio/cras/cras_unified.h',
782           ],
783         }],
784         ['use_pulseaudio==1', {
785           'cflags': [
786             '<!@(<(pkg-config) --cflags libpulse)',
787           ],
788           'defines': [
789             'USE_PULSEAUDIO',
790           ],
791           'conditions': [
792             ['linux_link_pulseaudio==0', {
793               'defines': [
794                 'DLOPEN_PULSEAUDIO',
795               ],
796               'variables': {
797                 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
798                 'extra_header': 'audio/pulse/pulse_stub_header.fragment',
799                 'sig_files': ['audio/pulse/pulse.sigs'],
800                 'outfile_type': 'posix_stubs',
801                 'stubs_filename_root': 'pulse_stubs',
802                 'project_path': 'media/audio/pulse',
803                 'intermediate_dir': '<(INTERMEDIATE_DIR)',
804                 'output_root': '<(SHARED_INTERMEDIATE_DIR)/pulse',
805               },
806               'include_dirs': [
807                 '<(output_root)',
808               ],
809               'actions': [
810                 {
811                   'action_name': 'generate_stubs',
812                   'inputs': [
813                     '<(generate_stubs_script)',
814                     '<(extra_header)',
815                     '<@(sig_files)',
816                   ],
817                   'outputs': [
818                     '<(intermediate_dir)/<(stubs_filename_root).cc',
819                     '<(output_root)/<(project_path)/<(stubs_filename_root).h',
820                   ],
821                   'action': ['python',
822                              '<(generate_stubs_script)',
823                              '-i', '<(intermediate_dir)',
824                              '-o', '<(output_root)/<(project_path)',
825                              '-t', '<(outfile_type)',
826                              '-e', '<(extra_header)',
827                              '-s', '<(stubs_filename_root)',
828                              '-p', '<(project_path)',
829                              '<@(_inputs)',
830                   ],
831                   'process_outputs_as_sources': 1,
832                   'message': 'Generating Pulse stubs for dynamic loading',
833                 },
834               ],
835               'conditions': [
836                 # Linux/Solaris need libdl for dlopen() and friends.
837                 ['OS=="linux" or OS=="solaris"', {
838                   'link_settings': {
839                     'libraries': [
840                       '-ldl',
841                     ],
842                   },
843                 }],
844               ],
845             }, {  # else: linux_link_pulseaudio==0
846               'link_settings': {
847                 'ldflags': [
848                   '<!@(<(pkg-config) --libs-only-L --libs-only-other libpulse)',
849                 ],
850                 'libraries': [
851                   '<!@(<(pkg-config) --libs-only-l libpulse)',
852                 ],
853               },
854             }],
855           ],
856         }, {  # else: use_pulseaudio==0
857           'sources!': [
858             'audio/pulse/audio_manager_pulse.cc',
859             'audio/pulse/audio_manager_pulse.h',
860             'audio/pulse/pulse_input.cc',
861             'audio/pulse/pulse_input.h',
862             'audio/pulse/pulse_output.cc',
863             'audio/pulse/pulse_output.h',
864             'audio/pulse/pulse_util.cc',
865             'audio/pulse/pulse_util.h',
866           ],
867         }],
868         ['OS=="mac"', {
869           'link_settings': {
870             'libraries': [
871               '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
872               '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
873               '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
874               '$(SDKROOT)/System/Library/Frameworks/CoreMIDI.framework',
875               '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
876               '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
877               '$(SDKROOT)/System/Library/Frameworks/QTKit.framework',
878             ],
879           },
880         }],
881         ['OS=="win"', {
882           'link_settings':  {
883             'libraries': [
884               '-lmf.lib',
885               '-lmfplat.lib',
886               '-lmfreadwrite.lib',
887               '-lmfuuid.lib',
888             ],
889           },
890           # Specify delayload for media.dll.
891           'msvs_settings': {
892             'VCLinkerTool': {
893               'DelayLoadDLLs': [
894                 'mf.dll',
895                 'mfplat.dll',
896                 'mfreadwrite.dll',
897               ],
898             },
899           },
900           # Specify delayload for components that link with media.lib.
901           'all_dependent_settings': {
902             'msvs_settings': {
903               'VCLinkerTool': {
904                 'DelayLoadDLLs': [
905                   'mf.dll',
906                   'mfplat.dll',
907                   'mfreadwrite.dll',
908                 ],
909               },
910             },
911           },
912           # TODO(wolenetz): Fix size_t to int truncations in win64. See
913           # http://crbug.com/171009
914           'conditions': [
915             ['target_arch=="x64"', {
916               'msvs_disabled_warnings': [ 4267, ],
917             }],
918           ],
919         }],
920         ['proprietary_codecs==1', {
921           'sources': [
922             'filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc',
923             'filters/ffmpeg_h264_to_annex_b_bitstream_converter.h',
924             'filters/h264_to_annex_b_bitstream_converter.cc',
925             'filters/h264_to_annex_b_bitstream_converter.h',
926             'formats/mp2t/es_adapter_video.cc',
927             'formats/mp2t/es_adapter_video.h',
928             'formats/mp2t/es_parser.cc',
929             'formats/mp2t/es_parser.h',
930             'formats/mp2t/es_parser_adts.cc',
931             'formats/mp2t/es_parser_adts.h',
932             'formats/mp2t/es_parser_h264.cc',
933             'formats/mp2t/es_parser_h264.h',
934             'formats/mp2t/mp2t_common.h',
935             'formats/mp2t/mp2t_stream_parser.cc',
936             'formats/mp2t/mp2t_stream_parser.h',
937             'formats/mp2t/ts_packet.cc',
938             'formats/mp2t/ts_packet.h',
939             'formats/mp2t/ts_section.h',
940             'formats/mp2t/ts_section_pat.cc',
941             'formats/mp2t/ts_section_pat.h',
942             'formats/mp2t/ts_section_pes.cc',
943             'formats/mp2t/ts_section_pes.h',
944             'formats/mp2t/ts_section_pmt.cc',
945             'formats/mp2t/ts_section_pmt.h',
946             'formats/mp2t/ts_section_psi.cc',
947             'formats/mp2t/ts_section_psi.h',
948             'formats/mp4/aac.cc',
949             'formats/mp4/aac.h',
950             'formats/mp4/avc.cc',
951             'formats/mp4/avc.h',
952             'formats/mp4/box_definitions.cc',
953             'formats/mp4/box_definitions.h',
954             'formats/mp4/box_reader.cc',
955             'formats/mp4/box_reader.h',
956             'formats/mp4/cenc.cc',
957             'formats/mp4/cenc.h',
958             'formats/mp4/es_descriptor.cc',
959             'formats/mp4/es_descriptor.h',
960             'formats/mp4/mp4_stream_parser.cc',
961             'formats/mp4/mp4_stream_parser.h',
962             'formats/mp4/sample_to_group_iterator.cc',
963             'formats/mp4/sample_to_group_iterator.h',
964             'formats/mp4/track_run_iterator.cc',
965             'formats/mp4/track_run_iterator.h',
966             'formats/mpeg/adts_constants.cc',
967             'formats/mpeg/adts_constants.h',
968             'formats/mpeg/adts_stream_parser.cc',
969             'formats/mpeg/adts_stream_parser.h',
970             'formats/mpeg/mp3_stream_parser.cc',
971             'formats/mpeg/mp3_stream_parser.h',
972             'formats/mpeg/mpeg_audio_stream_parser_base.cc',
973             'formats/mpeg/mpeg_audio_stream_parser_base.h',
974           ],
975         }],
976         ['target_arch=="ia32" or target_arch=="x64"', {
977           'dependencies': [
978             'media_asm',
979             'media_sse2',
980           ],
981           'sources': [
982             'base/simd/convert_yuv_to_rgb_x86.cc',
983           ],
984         }],
985         ['OS!="linux" and OS!="win"', {
986           'sources!': [
987             'base/keyboard_event_counter.cc',
988             'base/keyboard_event_counter.h',
989           ],
990         }],
991       ],  # conditions
992       'target_conditions': [
993         ['OS == "ios" and _toolset != "host"', {
994           'sources/': [
995             # Pull in specific Mac files for iOS (which have been filtered out
996             # by file name rules).
997             ['include', '^base/mac/avfoundation_glue\\.h$'],
998             ['include', '^base/mac/avfoundation_glue\\.mm$'],
999             ['include', '^base/mac/coremedia_glue\\.h$'],
1000             ['include', '^base/mac/coremedia_glue\\.mm$'],
1001           ],
1002         }],
1003       ],  # target_conditions
1004     },
1005     {
1006       # GN version: //media/mojo/interfaces
1007       'target_name': 'mojo_media_bindings',
1008       'type': 'static_library',
1009       'sources': [
1010         'mojo/interfaces/media_types.mojom',
1011         'mojo/interfaces/media_renderer.mojom',
1012       ],
1013       'includes': [ 
1014         '../mojo/public/tools/bindings/mojom_bindings_generator.gypi'
1015        ],
1016       'export_dependent_settings': [
1017         '../mojo/mojo_base.gyp:mojo_cpp_bindings',
1018       ],
1019       'dependencies': [
1020         '../mojo/mojo_base.gyp:mojo_cpp_bindings',
1021       ],
1022     },
1023     {
1024       'target_name': 'mojo_media_lib',
1025       'type': 'static_library',
1026       'includes': [
1027         '../mojo/mojo_variables.gypi',
1028       ],
1029       'dependencies': [
1030         'media',
1031         'mojo_media_bindings',
1032         '../base/base.gyp:base',
1033         '../mojo/mojo_base.gyp:mojo_environment_chromium',
1034         '<(mojo_system_for_component)',
1035       ],
1036       'export_dependent_settings': [
1037         'mojo_media_bindings',
1038       ],
1039       'sources': [
1040         'mojo/services/media_type_converters.cc',
1041         'mojo/services/media_type_converters.h',
1042       ],
1043     },
1044     {
1045       'target_name': 'mojo_media_lib_unittests',
1046       'type': '<(gtest_target_type)',
1047       'dependencies': [
1048         'media',
1049         'mojo_media_bindings',
1050         'mojo_media_lib',
1051         '../base/base.gyp:base',
1052         '../base/base.gyp:test_support_base',
1053         '../testing/gtest.gyp:gtest',
1054         '../mojo/mojo_base.gyp:mojo_environment_chromium',
1055         '../mojo/mojo_base.gyp:mojo_run_all_unittests',
1056       ],
1057       'sources': [
1058         'mojo/services/media_type_converters_unittest.cc',
1059       ],
1060     }, 
1061     {
1062       # GN version: //media:media_unittests
1063       'target_name': 'media_unittests',
1064       'type': '<(gtest_target_type)',
1065       'dependencies': [
1066         'media',
1067         'media_test_support',
1068         'shared_memory_support',
1069         '../base/base.gyp:base',
1070         '../base/base.gyp:base_i18n',
1071         '../base/base.gyp:test_support_base',
1072         '../gpu/gpu.gyp:command_buffer_common',
1073         '../skia/skia.gyp:skia',
1074         '../testing/gmock.gyp:gmock',
1075         '../testing/gtest.gyp:gtest',
1076         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
1077         '../ui/gfx/gfx.gyp:gfx',
1078         '../ui/gfx/gfx.gyp:gfx_geometry',
1079         '../ui/gfx/gfx.gyp:gfx_test_support',
1080         '../url/url.gyp:url_lib',
1081       ],
1082       'sources': [
1083         'audio/android/audio_android_unittest.cc',
1084         'audio/alsa/alsa_output_unittest.cc',
1085         'audio/audio_input_controller_unittest.cc',
1086         'audio/audio_input_unittest.cc',
1087         'audio/audio_input_volume_unittest.cc',
1088         'audio/audio_low_latency_input_output_unittest.cc',
1089         'audio/audio_manager_unittest.cc',
1090         'audio/audio_output_controller_unittest.cc',
1091         'audio/audio_output_device_unittest.cc',
1092         'audio/audio_output_proxy_unittest.cc',
1093         'audio/audio_parameters_unittest.cc',
1094         'audio/audio_power_monitor_unittest.cc',
1095         'audio/fake_audio_consumer_unittest.cc',
1096         'audio/mac/audio_auhal_mac_unittest.cc',
1097         'audio/mac/audio_device_listener_mac_unittest.cc',
1098         'audio/mac/audio_low_latency_input_mac_unittest.cc',
1099         'audio/simple_sources_unittest.cc',
1100         'audio/sounds/audio_stream_handler_unittest.cc',
1101         'audio/sounds/sounds_manager_unittest.cc',
1102         'audio/sounds/test_data.cc',
1103         'audio/sounds/test_data.h',
1104         'audio/sounds/wav_audio_handler_unittest.cc',
1105         'audio/virtual_audio_input_stream_unittest.cc',
1106         'audio/virtual_audio_output_stream_unittest.cc',
1107         'audio/win/audio_device_listener_win_unittest.cc',
1108         'audio/win/audio_low_latency_input_win_unittest.cc',
1109         'audio/win/audio_low_latency_output_win_unittest.cc',
1110         'audio/win/audio_output_win_unittest.cc',
1111         'audio/win/core_audio_util_win_unittest.cc',
1112         'base/android/media_codec_bridge_unittest.cc',
1113         'base/android/media_drm_bridge_unittest.cc',
1114         'base/android/media_source_player_unittest.cc',
1115         'base/audio_block_fifo_unittest.cc',
1116         'base/audio_buffer_converter_unittest.cc',
1117         'base/audio_buffer_unittest.cc',
1118         'base/audio_buffer_queue_unittest.cc',
1119         'base/audio_bus_unittest.cc',
1120         'base/audio_converter_unittest.cc',
1121         'base/audio_discard_helper_unittest.cc',
1122         'base/audio_fifo_unittest.cc',
1123         'base/audio_hardware_config_unittest.cc',
1124         'base/audio_hash_unittest.cc',
1125         'base/audio_pull_fifo_unittest.cc',
1126         'base/audio_renderer_mixer_input_unittest.cc',
1127         'base/audio_renderer_mixer_unittest.cc',
1128         'base/audio_splicer_unittest.cc',
1129         'base/audio_timestamp_helper_unittest.cc',
1130         'base/audio_video_metadata_extractor_unittest.cc',
1131         'base/bind_to_current_loop_unittest.cc',
1132         'base/bit_reader_unittest.cc',
1133         'base/callback_holder.h',
1134         'base/callback_holder_unittest.cc',
1135         'base/channel_mixer_unittest.cc',
1136         'base/container_names_unittest.cc',
1137         'base/data_buffer_unittest.cc',
1138         'base/decoder_buffer_queue_unittest.cc',
1139         'base/decoder_buffer_unittest.cc',
1140         'base/djb2_unittest.cc',
1141         'base/gmock_callback_support_unittest.cc',
1142         'base/media_file_checker_unittest.cc',
1143         'base/multi_channel_resampler_unittest.cc',
1144         'base/pipeline_unittest.cc',
1145         'base/ranges_unittest.cc',
1146         'base/run_all_unittests.cc',
1147         'base/scoped_histogram_timer_unittest.cc',
1148         'base/serial_runner_unittest.cc',
1149         'base/seekable_buffer_unittest.cc',
1150         'base/sinc_resampler_unittest.cc',
1151         'base/stream_parser_unittest.cc',
1152         'base/text_ranges_unittest.cc',
1153         'base/text_renderer_unittest.cc',
1154         'base/time_delta_interpolator_unittest.cc',
1155         'base/user_input_monitor_unittest.cc',
1156         'base/vector_math_testing.h',
1157         'base/vector_math_unittest.cc',
1158         'base/video_frame_unittest.cc',
1159         'base/video_frame_pool_unittest.cc',
1160         'base/video_util_unittest.cc',
1161         'base/wall_clock_time_source_unittest.cc',
1162         'base/yuv_convert_unittest.cc',
1163         'cdm/aes_decryptor_unittest.cc',
1164         'cdm/json_web_key_unittest.cc',
1165         'ffmpeg/ffmpeg_common_unittest.cc',
1166         'filters/audio_clock_unittest.cc',
1167         'filters/audio_decoder_unittest.cc',
1168         'filters/audio_decoder_selector_unittest.cc',
1169         'filters/audio_file_reader_unittest.cc',
1170         'filters/audio_renderer_algorithm_unittest.cc',
1171         'filters/audio_renderer_impl_unittest.cc',
1172         'filters/blocking_url_protocol_unittest.cc',
1173         'filters/chunk_demuxer_unittest.cc',
1174         'filters/decrypting_audio_decoder_unittest.cc',
1175         'filters/decrypting_demuxer_stream_unittest.cc',
1176         'filters/decrypting_video_decoder_unittest.cc',
1177         'filters/fake_demuxer_stream.cc',
1178         'filters/fake_demuxer_stream.h',
1179         'filters/fake_demuxer_stream_unittest.cc',
1180         'filters/fake_video_decoder.cc',
1181         'filters/fake_video_decoder.h',
1182         'filters/fake_video_decoder_unittest.cc',
1183         'filters/ffmpeg_demuxer_unittest.cc',
1184         'filters/ffmpeg_glue_unittest.cc',
1185         'filters/ffmpeg_video_decoder_unittest.cc',
1186         'filters/file_data_source_unittest.cc',
1187         'filters/frame_processor_unittest.cc',
1188         'filters/h264_bit_reader_unittest.cc',
1189         'filters/h264_parser_unittest.cc',
1190         'filters/in_memory_url_protocol_unittest.cc',
1191         'filters/pipeline_integration_test.cc',
1192         'filters/pipeline_integration_test_base.cc',
1193         'filters/renderer_impl_unittest.cc',
1194         'filters/skcanvas_video_renderer_unittest.cc',
1195         'filters/source_buffer_stream_unittest.cc',
1196         'filters/video_decoder_selector_unittest.cc',
1197         'filters/video_frame_scheduler_impl_unittest.cc',
1198         'filters/video_frame_scheduler_unittest.cc',
1199         'filters/video_frame_stream_unittest.cc',
1200         'filters/video_renderer_impl_unittest.cc',
1201         'midi/midi_manager_unittest.cc',
1202         'midi/midi_manager_usb_unittest.cc',
1203         'midi/midi_message_queue_unittest.cc',
1204         'midi/midi_message_util_unittest.cc',
1205         'midi/usb_midi_descriptor_parser_unittest.cc',
1206         'midi/usb_midi_input_stream_unittest.cc',
1207         'midi/usb_midi_output_stream_unittest.cc',
1208         'video/capture/fake_video_capture_device_unittest.cc',
1209         'video/capture/video_capture_device_unittest.cc',
1210         'formats/common/offset_byte_queue_unittest.cc',
1211         'formats/webm/cluster_builder.cc',
1212         'formats/webm/cluster_builder.h',
1213         'formats/webm/tracks_builder.cc',
1214         'formats/webm/tracks_builder.h',
1215         'formats/webm/webm_cluster_parser_unittest.cc',
1216         'formats/webm/webm_content_encodings_client_unittest.cc',
1217         'formats/webm/webm_parser_unittest.cc',
1218         'formats/webm/webm_tracks_parser_unittest.cc',
1219         'formats/webm/webm_webvtt_parser_unittest.cc',
1220       ],
1221       'include_dirs': [
1222         # Needed by media_drm_bridge.cc.
1223         '<(SHARED_INTERMEDIATE_DIR)',
1224       ],
1225       'conditions': [
1226         ['arm_neon==1', {
1227           'defines': [
1228             'USE_NEON'
1229           ],
1230         }],
1231         ['media_use_ffmpeg==1', {
1232           'dependencies': [
1233             '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1234           ],
1235         }, {  # media_use_ffmpeg== 0
1236           'sources!': [
1237             'base/audio_video_metadata_extractor_unittest.cc',
1238             'base/media_file_checker_unittest.cc',
1239           ],
1240         }],
1241         ['use_alsa==1', {
1242           'defines': [
1243             'USE_ALSA',
1244           ],
1245         }],
1246         ['use_pulseaudio==1', {
1247           'defines': [
1248             'USE_PULSEAUDIO',
1249           ],
1250         }],
1251         ['os_posix==1 and OS!="mac"', {
1252           'conditions': [
1253             ['use_allocator!="none"', {
1254               'dependencies': [
1255                 '../base/allocator/allocator.gyp:allocator',
1256               ],
1257             }],
1258           ],
1259         }],
1260         ['OS=="android"', {
1261           'sources!': [
1262             'audio/audio_input_volume_unittest.cc',
1263             'base/container_names_unittest.cc',
1264             'ffmpeg/ffmpeg_common_unittest.cc',
1265             'filters/audio_decoder_unittest.cc',
1266             'filters/audio_file_reader_unittest.cc',
1267             'filters/blocking_url_protocol_unittest.cc',
1268             'filters/ffmpeg_demuxer_unittest.cc',
1269             'filters/ffmpeg_glue_unittest.cc',
1270             'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc',
1271             'filters/ffmpeg_video_decoder_unittest.cc',
1272             'filters/in_memory_url_protocol_unittest.cc',
1273             'filters/pipeline_integration_test.cc',
1274             'filters/pipeline_integration_test_base.cc',
1275           ],
1276           'dependencies': [
1277             '../testing/android/native_test.gyp:native_test_native_code',
1278             'player_android',
1279           ],
1280         }],
1281         ['OS=="linux"', {
1282           'conditions': [
1283             ['use_cras==1', {
1284               'sources': [
1285                 'audio/cras/cras_input_unittest.cc',
1286                 'audio/cras/cras_unified_unittest.cc',
1287               ],
1288               'defines': [
1289                 'USE_CRAS',
1290               ],
1291             }],
1292           ],
1293         }],
1294         ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', {
1295           'sources': [
1296             'filters/h264_bitstream_buffer_unittest.cc',
1297           ],
1298         }],
1299         ['use_alsa==0', {
1300           'sources!': [
1301             'audio/alsa/alsa_output_unittest.cc',
1302             'audio/audio_low_latency_input_output_unittest.cc',
1303           ],
1304         }],
1305         ['target_arch=="ia32" or target_arch=="x64"', {
1306           'sources': [
1307             'base/simd/convert_rgb_to_yuv_unittest.cc',
1308           ],
1309         }],
1310         ['proprietary_codecs==1', {
1311           'sources': [
1312             'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc',
1313             'filters/h264_to_annex_b_bitstream_converter_unittest.cc',
1314             'formats/common/stream_parser_test_base.cc',
1315             'formats/common/stream_parser_test_base.h',
1316             'formats/mp2t/es_adapter_video_unittest.cc',
1317             'formats/mp2t/es_parser_adts_unittest.cc',
1318             'formats/mp2t/es_parser_h264_unittest.cc',
1319             'formats/mp2t/es_parser_test_base.cc',
1320             'formats/mp2t/es_parser_test_base.h',
1321             'formats/mp2t/mp2t_stream_parser_unittest.cc',
1322             'formats/mp4/aac_unittest.cc',
1323             'formats/mp4/avc_unittest.cc',
1324             'formats/mp4/box_reader_unittest.cc',
1325             'formats/mp4/es_descriptor_unittest.cc',
1326             'formats/mp4/mp4_stream_parser_unittest.cc',
1327             'formats/mp4/sample_to_group_iterator_unittest.cc',
1328             'formats/mp4/track_run_iterator_unittest.cc',
1329             'formats/mpeg/adts_stream_parser_unittest.cc',
1330             'formats/mpeg/mp3_stream_parser_unittest.cc',
1331           ],
1332         }],
1333         # TODO(wolenetz): Fix size_t to int truncations in win64. See
1334         # http://crbug.com/171009
1335         ['OS=="win" and target_arch=="x64"', {
1336           'msvs_disabled_warnings': [ 4267, ],
1337         }],
1338         ['OS=="mac"', {
1339           'sources': [
1340             'video/capture/mac/video_capture_device_factory_mac_unittest.mm',
1341           ]
1342         }],
1343       ],
1344     },
1345     {
1346       # GN version: //media:media_perftests
1347       'target_name': 'media_perftests',
1348       'type': '<(gtest_target_type)',
1349       'dependencies': [
1350         '../base/base.gyp:test_support_base',
1351         '../testing/gmock.gyp:gmock',
1352         '../testing/gtest.gyp:gtest',
1353         '../testing/perf/perf_test.gyp:perf_test',
1354         '../ui/gfx/gfx.gyp:gfx',
1355         '../ui/gfx/gfx.gyp:gfx_test_support',
1356         '../ui/gfx/gfx.gyp:gfx_geometry',
1357         'media',
1358         'media_test_support',
1359         'shared_memory_support',
1360       ],
1361       'sources': [
1362         'base/audio_bus_perftest.cc',
1363         'base/audio_converter_perftest.cc',
1364         'base/demuxer_perftest.cc',
1365         'base/run_all_perftests.cc',
1366         'base/sinc_resampler_perftest.cc',
1367         'base/vector_math_perftest.cc',
1368         'base/yuv_convert_perftest.cc',
1369         'filters/pipeline_integration_perftest.cc',
1370         'filters/pipeline_integration_test_base.cc',
1371       ],
1372       'conditions': [
1373         ['arm_neon==1', {
1374           'defines': [
1375             'USE_NEON'
1376           ],
1377         }],
1378         ['OS=="android"', {
1379           'dependencies': [
1380             '../testing/android/native_test.gyp:native_test_native_code',
1381             '../ui/gl/gl.gyp:gl',
1382           ],
1383         }],
1384         ['media_use_ffmpeg==1', {
1385           'dependencies': [
1386             '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1387           ],
1388         }, {  # media_use_ffmpeg==0
1389           'sources!': [
1390             'base/demuxer_perftest.cc',
1391             'filters/pipeline_integration_perftest.cc',
1392             'filters/pipeline_integration_test_base.cc',
1393           ],
1394         }],
1395       ],
1396     },
1397     {
1398       # GN version: //media:test_support
1399       'target_name': 'media_test_support',
1400       'type': 'static_library',
1401       'dependencies': [
1402         'media',
1403         'shared_memory_support',
1404         '../base/base.gyp:base',
1405         '../skia/skia.gyp:skia',
1406         '../testing/gmock.gyp:gmock',
1407         '../testing/gtest.gyp:gtest',
1408       ],
1409       'sources': [
1410         'audio/mock_audio_manager.cc',
1411         'audio/mock_audio_manager.h',
1412         'audio/mock_audio_source_callback.cc',
1413         'audio/mock_audio_source_callback.h',
1414         'audio/test_audio_input_controller_factory.cc',
1415         'audio/test_audio_input_controller_factory.h',
1416         'base/fake_audio_render_callback.cc',
1417         'base/fake_audio_render_callback.h',
1418         'base/fake_audio_renderer_sink.cc',
1419         'base/fake_audio_renderer_sink.h',
1420         'base/fake_text_track_stream.cc',
1421         'base/fake_text_track_stream.h',
1422         'base/gmock_callback_support.h',
1423         'base/mock_audio_renderer_sink.cc',
1424         'base/mock_audio_renderer_sink.h',
1425         'base/mock_demuxer_host.cc',
1426         'base/mock_demuxer_host.h',
1427         'base/mock_filters.cc',
1428         'base/mock_filters.h',
1429         'base/test_data_util.cc',
1430         'base/test_data_util.h',
1431         'base/test_helpers.cc',
1432         'base/test_helpers.h',
1433         'filters/clockless_video_frame_scheduler.cc',
1434         'filters/clockless_video_frame_scheduler.h',
1435         'filters/mock_gpu_video_accelerator_factories.cc',
1436         'filters/mock_gpu_video_accelerator_factories.h',
1437         'filters/test_video_frame_scheduler.cc',
1438         'filters/test_video_frame_scheduler.h',
1439         'video/mock_video_decode_accelerator.cc',
1440         'video/mock_video_decode_accelerator.h',
1441       ],
1442     },
1443     {
1444       # Minimal target for NaCl and other renderer side media clients which
1445       # only need to send audio data across the shared memory to the browser
1446       # process.
1447       # GN version: //media:shared_memory_support
1448       'target_name': 'shared_memory_support',
1449       'type': '<(component)',
1450       'dependencies': [
1451         '../base/base.gyp:base',
1452       ],
1453       'defines': [
1454         'MEDIA_IMPLEMENTATION',
1455       ],
1456       'include_dirs': [
1457         '..',
1458       ],
1459       'includes': [
1460         'shared_memory_support.gypi',
1461       ],
1462       'sources': [
1463         '<@(shared_memory_support_sources)',
1464       ],
1465       'conditions': [
1466         ['arm_neon==1', {
1467           'defines': [
1468             'USE_NEON'
1469           ],
1470         }],
1471       ],
1472     },
1473   ],
1474   'conditions': [
1475     ['target_arch!="arm"', {
1476       'targets': [
1477        {
1478           'target_name': 'media_asm',
1479           'type': 'static_library',
1480           'sources': [
1481             'base/simd/convert_rgb_to_yuv_ssse3.asm',
1482             'base/simd/convert_yuv_to_rgb_sse.asm',
1483             'base/simd/convert_yuva_to_argb_mmx.asm',
1484             'base/simd/empty_register_state_mmx.asm',
1485             'base/simd/linear_scale_yuv_to_rgb_mmx.asm',
1486             'base/simd/linear_scale_yuv_to_rgb_sse.asm',
1487             'base/simd/scale_yuv_to_rgb_mmx.asm',
1488             'base/simd/scale_yuv_to_rgb_sse.asm',
1489           ],
1490           'conditions': [
1491             ['component=="shared_library"', {
1492               'variables': {
1493                 'yasm_flags': ['-DEXPORT_SYMBOLS'],
1494               },
1495             }],
1496             ['target_arch=="x64"', {
1497               # Source files optimized for X64 systems.
1498               'sources': [
1499                 'base/simd/linear_scale_yuv_to_rgb_mmx_x64.asm',
1500                 'base/simd/scale_yuv_to_rgb_sse2_x64.asm',
1501               ],
1502               'variables': {
1503                 'yasm_flags': ['-DARCH_X86_64'],
1504               },
1505             }],
1506             ['OS=="mac" or OS=="ios"', {
1507               'variables': {
1508                 'yasm_flags': [
1509                   '-DPREFIX',
1510                   '-DMACHO',
1511                 ],
1512               },
1513               'sources': [
1514                 # XCode doesn't want to link a pure assembly target and will
1515                 # fail to link when it creates an empty file list.  So add a
1516                 # dummy file keep the linker happy.  See http://crbug.com/157073
1517                 'base/simd/xcode_hack.c',
1518               ],
1519             }],
1520             ['os_posix==1 and OS!="mac"', {
1521               'variables': {
1522                 'conditions': [
1523                   ['target_arch=="ia32"', {
1524                     'yasm_flags': [
1525                       '-DARCH_X86_32',
1526                       '-DELF',
1527                     ],
1528                   }, { # target_arch=="x64"
1529                     'yasm_flags': [
1530                       '-DARCH_X86_64',
1531                       '-DELF',
1532                       '-DPIC',
1533                     ],
1534                   }],
1535                 ],
1536               },
1537             }],
1538           ],
1539           'variables': {
1540             'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/media',
1541             'yasm_flags': [
1542               '-DCHROMIUM',
1543               # In addition to the same path as source asm, let yasm %include
1544               # search path be relative to src/ per Chromium policy.
1545               '-I..',
1546             ],
1547             'yasm_includes': [
1548               '../third_party/x86inc/x86inc.asm',
1549               'base/simd/convert_rgb_to_yuv_ssse3.inc',
1550               'base/simd/convert_yuv_to_rgb_mmx.inc',
1551               'base/simd/convert_yuva_to_argb_mmx.inc',
1552               'base/simd/linear_scale_yuv_to_rgb_mmx.inc',
1553               'base/simd/media_export.asm',
1554               'base/simd/scale_yuv_to_rgb_mmx.inc',
1555             ],
1556           },
1557           'msvs_2010_disable_uldi_when_referenced': 1,
1558           'includes': [
1559             '../third_party/yasm/yasm_compile.gypi',
1560           ],
1561         },
1562         {
1563           'target_name': 'media_sse2',
1564           'type': 'static_library',
1565           'cflags': [
1566             '-msse2',
1567           ],
1568           'defines': [
1569             'MEDIA_IMPLEMENTATION',
1570           ],
1571           'include_dirs': [
1572             '..',
1573           ],
1574           'sources': [
1575             'base/simd/convert_rgb_to_yuv_sse2.cc',
1576             'base/simd/convert_rgb_to_yuv_ssse3.cc',
1577             'base/simd/filter_yuv_sse2.cc',
1578           ],
1579         },
1580       ], # targets
1581     }],
1582     ['use_x11==1', {
1583       'targets': [
1584         {
1585           'target_name': 'player_x11',
1586           'type': 'executable',
1587           'dependencies': [
1588             'media',
1589             'shared_memory_support',
1590             '../base/base.gyp:base',
1591             '../ui/gl/gl.gyp:gl',
1592             '../ui/gfx/gfx.gyp:gfx',
1593             '../ui/gfx/gfx.gyp:gfx_geometry',
1594             '../build/linux/system.gyp:x11',
1595             '../build/linux/system.gyp:xext',
1596             '../build/linux/system.gyp:xrender',
1597           ],
1598           'conditions': [
1599             # Linux/Solaris need libdl for dlopen() and friends.
1600             ['OS=="linux" or OS=="solaris"', {
1601               'link_settings': {
1602                 'libraries': [
1603                   '-ldl',
1604                 ],
1605               },
1606             }],
1607           ],
1608           'sources': [
1609             'tools/player_x11/data_source_logger.cc',
1610             'tools/player_x11/data_source_logger.h',
1611             'tools/player_x11/gl_video_renderer.cc',
1612             'tools/player_x11/gl_video_renderer.h',
1613             'tools/player_x11/player_x11.cc',
1614             'tools/player_x11/x11_video_renderer.cc',
1615             'tools/player_x11/x11_video_renderer.h',
1616           ],
1617         },
1618       ],
1619     }],
1620     ['OS=="android"', {
1621       'targets': [
1622         {
1623           # TODO(GN)
1624           'target_name': 'media_unittests_apk',
1625           'type': 'none',
1626           'dependencies': [
1627             'media_java',
1628             'media_unittests',
1629           ],
1630           'variables': {
1631             'test_suite_name': 'media_unittests',
1632           },
1633           'includes': ['../build/apk_test.gypi'],
1634         },
1635         {
1636           # TODO(GN)
1637           'target_name': 'media_perftests_apk',
1638           'type': 'none',
1639           'dependencies': [
1640             'media_java',
1641             'media_perftests',
1642           ],
1643           'variables': {
1644             'test_suite_name': 'media_perftests',
1645           },
1646           'includes': ['../build/apk_test.gypi'],
1647         },
1648         {
1649           # GN: //media/base/android:media_android_jni_headers
1650           'target_name': 'media_android_jni_headers',
1651           'type': 'none',
1652           'sources': [
1653             'base/android/java/src/org/chromium/media/AudioManagerAndroid.java',
1654             'base/android/java/src/org/chromium/media/AudioRecordInput.java',
1655             'base/android/java/src/org/chromium/media/MediaCodecBridge.java',
1656             'base/android/java/src/org/chromium/media/MediaDrmBridge.java',
1657             'base/android/java/src/org/chromium/media/MediaPlayerBridge.java',
1658             'base/android/java/src/org/chromium/media/MediaPlayerListener.java',
1659             'base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java',
1660             'base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java',
1661             'base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java',
1662           ],
1663           'variables': {
1664             'jni_gen_package': 'media',
1665           },
1666           'includes': ['../build/jni_generator.gypi'],
1667         },
1668         {
1669           # GN: //media/base/android:video_capture_android_jni_headers
1670           'target_name': 'video_capture_android_jni_headers',
1671           'type': 'none',
1672           'sources': [
1673             'base/android/java/src/org/chromium/media/VideoCapture.java',
1674             'base/android/java/src/org/chromium/media/VideoCaptureFactory.java',
1675           ],
1676           'variables': {
1677             'jni_gen_package': 'media',
1678           },
1679           'includes': ['../build/jni_generator.gypi'],
1680         },
1681         {
1682           # GN: //media/base/android:android
1683           'target_name': 'player_android',
1684           'type': 'static_library',
1685           'sources': [
1686             'base/android/audio_decoder_job.cc',
1687             'base/android/audio_decoder_job.h',
1688             'base/android/browser_cdm_factory_android.cc',
1689             'base/android/media_codec_bridge.cc',
1690             'base/android/media_codec_bridge.h',
1691             'base/android/media_decoder_job.cc',
1692             'base/android/media_decoder_job.h',
1693             'base/android/media_drm_bridge.cc',
1694             'base/android/media_drm_bridge.h',
1695             'base/android/media_jni_registrar.cc',
1696             'base/android/media_jni_registrar.h',
1697             'base/android/media_player_android.cc',
1698             'base/android/media_player_android.h',
1699             'base/android/media_player_bridge.cc',
1700             'base/android/media_player_bridge.h',
1701             'base/android/media_player_listener.cc',
1702             'base/android/media_player_listener.h',
1703             'base/android/media_source_player.cc',
1704             'base/android/media_source_player.h',
1705             'base/android/media_url_interceptor.h',
1706             'base/android/video_decoder_job.cc',
1707             'base/android/video_decoder_job.h',
1708             'base/android/webaudio_media_codec_bridge.cc',
1709             'base/android/webaudio_media_codec_bridge.h',
1710             'base/android/webaudio_media_codec_info.h',
1711           ],
1712           'dependencies': [
1713             '../base/base.gyp:base',
1714             '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
1715             '../ui/gl/gl.gyp:gl',
1716             '../url/url.gyp:url_lib',
1717             'media_android_jni_headers',
1718           ],
1719           'include_dirs': [
1720             # Needed by media_drm_bridge.cc.
1721             '<(SHARED_INTERMEDIATE_DIR)',
1722           ],
1723           'defines': [
1724             'MEDIA_IMPLEMENTATION',
1725           ],
1726         },
1727         {
1728           # GN: //media/base/android:media_java
1729           'target_name': 'media_java',
1730           'type': 'none',
1731           'dependencies': [
1732             '../base/base.gyp:base',
1733             'media_android_imageformat_list',
1734           ],
1735           'export_dependent_settings': [
1736             '../base/base.gyp:base',
1737           ],
1738           'variables': {
1739             'java_in_dir': 'base/android/java',
1740           },
1741           'includes': ['../build/java.gypi'],
1742         },
1743         {
1744           # GN: //media/base/android:media_android_imageformat_list
1745           'target_name': 'media_android_imageformat_list',
1746           'type': 'none',
1747           'sources': [
1748             'base/android/java/src/org/chromium/media/ImageFormat.template',
1749           ],
1750           'variables': {
1751             'package_name': 'org/chromium/media',
1752             'template_deps': ['video/capture/android/imageformat_list.h'],
1753           },
1754           'includes': [ '../build/android/java_cpp_template.gypi' ],
1755         },
1756       ],
1757     }],
1758     ['media_use_ffmpeg==1', {
1759       'targets': [
1760         {
1761           # GN version: //media:ffmpeg_unittests
1762           'target_name': 'ffmpeg_unittests',
1763           'type': 'executable',
1764           'dependencies': [
1765             '../base/base.gyp:base',
1766             '../base/base.gyp:base_i18n',
1767             '../base/base.gyp:test_support_base',
1768             '../testing/gtest.gyp:gtest',
1769             '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1770             'media',
1771             'media_test_support',
1772           ],
1773           'sources': [
1774             'ffmpeg/ffmpeg_unittest.cc',
1775           ],
1776         },
1777         {
1778           # GN version: //media:ffmpeg_regression_tests
1779           'target_name': 'ffmpeg_regression_tests',
1780           'type': 'executable',
1781           'dependencies': [
1782             '../base/base.gyp:test_support_base',
1783             '../testing/gmock.gyp:gmock',
1784             '../testing/gtest.gyp:gtest',
1785             '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1786             '../ui/gfx/gfx.gyp:gfx_geometry',
1787             'media',
1788             'media_test_support',
1789           ],
1790           'sources': [
1791             'base/run_all_unittests.cc',
1792             'ffmpeg/ffmpeg_regression_tests.cc',
1793             'filters/pipeline_integration_test_base.cc',
1794           ],
1795           'conditions': [
1796             ['os_posix==1 and OS!="mac"', {
1797               'conditions': [
1798                 ['use_allocator!="none"', {
1799                   'dependencies': [
1800                     '../base/allocator/allocator.gyp:allocator',
1801                   ],
1802                 }],
1803               ],
1804             }],
1805           ],
1806         },
1807       ],
1808     }],
1809   ],