OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # Override to dynamically link the PulseAudio library. | 8 # Override to dynamically link the PulseAudio library. |
9 'use_pulseaudio%': 0, | 9 'use_pulseaudio%': 0, |
10 # Override to dynamically link the cras (ChromeOS audio) library. | 10 # Override to dynamically link the cras (ChromeOS audio) library. |
11 'use_cras%': 0, | 11 'use_cras%': 0, |
12 }, | 12 }, |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 # Minimal target for NaCl and other renderer side media clients which only | |
16 # need to send audio data across the shared memory to the browser process. | |
17 'target_name': 'shared_memory_support', | |
18 'type': '<(component)', | |
19 'dependencies': [ | |
20 '../base/base.gyp:base', | |
21 ], | |
22 'defines': [ | |
23 'MEDIA_IMPLEMENTATION', | |
24 ], | |
25 'include_dirs': [ | |
26 '..', | |
27 ], | |
28 'includes': [ | |
29 'shared_memory_support.gypi', | |
30 ], | |
31 'sources': [ | |
32 '<@(shared_memory_support_sources)', | |
33 ], | |
34 }, | |
35 { | |
36 'target_name': 'media', | 15 'target_name': 'media', |
37 'type': '<(component)', | 16 'type': '<(component)', |
38 'dependencies': [ | 17 'dependencies': [ |
39 '../base/base.gyp:base', | 18 '../base/base.gyp:base', |
40 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 19 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
41 '../build/temp_gyp/googleurl.gyp:googleurl', | 20 '../build/temp_gyp/googleurl.gyp:googleurl', |
42 '../crypto/crypto.gyp:crypto', | 21 '../crypto/crypto.gyp:crypto', |
43 'shared_memory_support', | |
44 '../ui/ui.gyp:ui', | 22 '../ui/ui.gyp:ui', |
45 'yuv_convert', | 23 'yuv_convert', |
46 ], | 24 ], |
47 'defines': [ | 25 'defines': [ |
48 'MEDIA_IMPLEMENTATION', | 26 'MEDIA_IMPLEMENTATION', |
49 ], | 27 ], |
50 'include_dirs': [ | 28 'include_dirs': [ |
51 '..', | 29 '..', |
52 ], | 30 ], |
53 'sources': [ | 31 'sources': [ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 'audio/audio_output_dispatcher.cc', | 66 'audio/audio_output_dispatcher.cc', |
89 'audio/audio_output_dispatcher.h', | 67 'audio/audio_output_dispatcher.h', |
90 'audio/audio_output_dispatcher_impl.cc', | 68 'audio/audio_output_dispatcher_impl.cc', |
91 'audio/audio_output_dispatcher_impl.h', | 69 'audio/audio_output_dispatcher_impl.h', |
92 'audio/audio_output_ipc.cc', | 70 'audio/audio_output_ipc.cc', |
93 'audio/audio_output_ipc.h', | 71 'audio/audio_output_ipc.h', |
94 'audio/audio_output_mixer.cc', | 72 'audio/audio_output_mixer.cc', |
95 'audio/audio_output_mixer.h', | 73 'audio/audio_output_mixer.h', |
96 'audio/audio_output_proxy.cc', | 74 'audio/audio_output_proxy.cc', |
97 'audio/audio_output_proxy.h', | 75 'audio/audio_output_proxy.h', |
| 76 'audio/audio_parameters.cc', |
| 77 'audio/audio_parameters.h', |
98 'audio/audio_util.cc', | 78 'audio/audio_util.cc', |
99 'audio/audio_util.h', | 79 'audio/audio_util.h', |
100 'audio/cross_process_notification.cc', | 80 'audio/cross_process_notification.cc', |
101 'audio/cross_process_notification.h', | 81 'audio/cross_process_notification.h', |
102 'audio/cross_process_notification_posix.cc', | 82 'audio/cross_process_notification_posix.cc', |
103 'audio/cross_process_notification_win.cc', | 83 'audio/cross_process_notification_win.cc', |
104 'audio/fake_audio_input_stream.cc', | 84 'audio/fake_audio_input_stream.cc', |
105 'audio/fake_audio_input_stream.h', | 85 'audio/fake_audio_input_stream.h', |
106 'audio/fake_audio_output_stream.cc', | 86 'audio/fake_audio_output_stream.cc', |
107 'audio/fake_audio_output_stream.h', | 87 'audio/fake_audio_output_stream.h', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 'audio/win/avrt_wrapper_win.cc', | 130 'audio/win/avrt_wrapper_win.cc', |
151 'audio/win/avrt_wrapper_win.h', | 131 'audio/win/avrt_wrapper_win.h', |
152 'audio/win/device_enumeration_win.cc', | 132 'audio/win/device_enumeration_win.cc', |
153 'audio/win/device_enumeration_win.h', | 133 'audio/win/device_enumeration_win.h', |
154 'audio/win/wavein_input_win.cc', | 134 'audio/win/wavein_input_win.cc', |
155 'audio/win/wavein_input_win.h', | 135 'audio/win/wavein_input_win.h', |
156 'audio/win/waveout_output_win.cc', | 136 'audio/win/waveout_output_win.cc', |
157 'audio/win/waveout_output_win.h', | 137 'audio/win/waveout_output_win.h', |
158 'base/android/media_jni_registrar.cc', | 138 'base/android/media_jni_registrar.cc', |
159 'base/android/media_jni_registrar.h', | 139 'base/android/media_jni_registrar.h', |
| 140 'base/audio_bus.cc', |
| 141 'base/audio_bus.h', |
160 'base/audio_decoder.cc', | 142 'base/audio_decoder.cc', |
161 'base/audio_decoder.h', | 143 'base/audio_decoder.h', |
162 'base/audio_decoder_config.cc', | 144 'base/audio_decoder_config.cc', |
163 'base/audio_decoder_config.h', | 145 'base/audio_decoder_config.h', |
164 'base/audio_renderer.cc', | 146 'base/audio_renderer.cc', |
165 'base/audio_renderer.h', | 147 'base/audio_renderer.h', |
166 'base/audio_renderer_mixer.cc', | 148 'base/audio_renderer_mixer.cc', |
167 'base/audio_renderer_mixer.h', | 149 'base/audio_renderer_mixer.h', |
168 'base/audio_renderer_mixer_input.cc', | 150 'base/audio_renderer_mixer_input.cc', |
169 'base/audio_renderer_mixer_input.h', | 151 'base/audio_renderer_mixer_input.h', |
170 'base/bind_to_loop.h', | 152 'base/bind_to_loop.h', |
171 'base/bitstream_buffer.h', | 153 'base/bitstream_buffer.h', |
172 'base/bit_reader.cc', | 154 'base/bit_reader.cc', |
173 'base/bit_reader.h', | 155 'base/bit_reader.h', |
174 'base/buffers.cc', | 156 'base/buffers.cc', |
175 'base/buffers.h', | 157 'base/buffers.h', |
176 'base/byte_queue.cc', | 158 'base/byte_queue.cc', |
177 'base/byte_queue.h', | 159 'base/byte_queue.h', |
| 160 'base/channel_layout.cc', |
| 161 'base/channel_layout.h', |
178 'base/clock.cc', | 162 'base/clock.cc', |
179 'base/clock.h', | 163 'base/clock.h', |
180 'base/data_buffer.cc', | 164 'base/data_buffer.cc', |
181 'base/data_buffer.h', | 165 'base/data_buffer.h', |
182 'base/data_source.cc', | 166 'base/data_source.cc', |
183 'base/data_source.h', | 167 'base/data_source.h', |
184 'base/decoder_buffer.cc', | 168 'base/decoder_buffer.cc', |
185 'base/decoder_buffer.h', | 169 'base/decoder_buffer.h', |
186 'base/decryptor.h', | 170 'base/decryptor.h', |
187 'base/decryptor_client.h', | 171 'base/decryptor_client.h', |
188 'base/decrypt_config.cc', | 172 'base/decrypt_config.cc', |
189 'base/decrypt_config.h', | 173 'base/decrypt_config.h', |
190 'base/demuxer.cc', | 174 'base/demuxer.cc', |
191 'base/demuxer.h', | 175 'base/demuxer.h', |
192 'base/demuxer_stream.cc', | 176 'base/demuxer_stream.cc', |
193 'base/demuxer_stream.h', | 177 'base/demuxer_stream.h', |
194 'base/djb2.cc', | 178 'base/djb2.cc', |
195 'base/djb2.h', | 179 'base/djb2.h', |
196 'base/filter_collection.cc', | 180 'base/filter_collection.cc', |
197 'base/filter_collection.h', | 181 'base/filter_collection.h', |
198 'base/media.h', | 182 'base/media.h', |
199 'base/media_android.cc', | 183 'base/media_android.cc', |
| 184 'base/media_export.h', |
200 'base/media_log.cc', | 185 'base/media_log.cc', |
201 'base/media_log.h', | 186 'base/media_log.h', |
202 'base/media_log_event.h', | 187 'base/media_log_event.h', |
203 'base/media_posix.cc', | 188 'base/media_posix.cc', |
204 'base/media_switches.cc', | 189 'base/media_switches.cc', |
205 'base/media_switches.h', | 190 'base/media_switches.h', |
206 'base/media_win.cc', | 191 'base/media_win.cc', |
207 'base/message_loop_factory.cc', | 192 'base/message_loop_factory.cc', |
208 'base/message_loop_factory.h', | 193 'base/message_loop_factory.h', |
209 'base/multi_channel_resampler.cc', | 194 'base/multi_channel_resampler.cc', |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 'base/simd/yuv_to_rgb_table.cc', | 664 'base/simd/yuv_to_rgb_table.cc', |
680 'base/simd/yuv_to_rgb_table.h', | 665 'base/simd/yuv_to_rgb_table.h', |
681 ], | 666 ], |
682 }, | 667 }, |
683 { | 668 { |
684 'target_name': 'media_unittests', | 669 'target_name': 'media_unittests', |
685 'type': '<(gtest_target_type)', | 670 'type': '<(gtest_target_type)', |
686 'dependencies': [ | 671 'dependencies': [ |
687 'media', | 672 'media', |
688 'media_test_support', | 673 'media_test_support', |
689 'shared_memory_support', | |
690 'yuv_convert', | 674 'yuv_convert', |
691 '../base/base.gyp:base', | 675 '../base/base.gyp:base', |
692 '../base/base.gyp:base_i18n', | 676 '../base/base.gyp:base_i18n', |
693 '../base/base.gyp:test_support_base', | 677 '../base/base.gyp:test_support_base', |
694 '../testing/gmock.gyp:gmock', | 678 '../testing/gmock.gyp:gmock', |
695 '../testing/gtest.gyp:gtest', | 679 '../testing/gtest.gyp:gtest', |
696 '../ui/ui.gyp:ui', | 680 '../ui/ui.gyp:ui', |
697 ], | 681 ], |
698 'sources': [ | 682 'sources': [ |
699 'audio/async_socket_io_handler_unittest.cc', | 683 'audio/async_socket_io_handler_unittest.cc', |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1181 'media', | 1165 'media', |
1182 ], | 1166 ], |
1183 'sources': [ | 1167 'sources': [ |
1184 'tools/media_bench/media_bench.cc', | 1168 'tools/media_bench/media_bench.cc', |
1185 ], | 1169 ], |
1186 }, | 1170 }, |
1187 ], | 1171 ], |
1188 }] | 1172 }] |
1189 ], | 1173 ], |
1190 } | 1174 } |
OLD | NEW |