| 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 { |
| 15 'target_name': 'media', | 36 'target_name': 'media', |
| 16 'type': '<(component)', | 37 'type': '<(component)', |
| 17 'dependencies': [ | 38 'dependencies': [ |
| 18 '../base/base.gyp:base', | 39 '../base/base.gyp:base', |
| 19 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 40 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 20 '../build/temp_gyp/googleurl.gyp:googleurl', | 41 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 21 '../crypto/crypto.gyp:crypto', | 42 '../crypto/crypto.gyp:crypto', |
| 43 'shared_memory_support', |
| 22 '../ui/ui.gyp:ui', | 44 '../ui/ui.gyp:ui', |
| 23 'yuv_convert', | 45 'yuv_convert', |
| 24 ], | 46 ], |
| 25 'defines': [ | 47 'defines': [ |
| 26 'MEDIA_IMPLEMENTATION', | 48 'MEDIA_IMPLEMENTATION', |
| 27 ], | 49 ], |
| 28 'include_dirs': [ | 50 'include_dirs': [ |
| 29 '..', | 51 '..', |
| 30 ], | 52 ], |
| 31 'sources': [ | 53 'sources': [ |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 'audio/audio_output_dispatcher.cc', | 86 'audio/audio_output_dispatcher.cc', |
| 65 'audio/audio_output_dispatcher.h', | 87 'audio/audio_output_dispatcher.h', |
| 66 'audio/audio_output_dispatcher_impl.cc', | 88 'audio/audio_output_dispatcher_impl.cc', |
| 67 'audio/audio_output_dispatcher_impl.h', | 89 'audio/audio_output_dispatcher_impl.h', |
| 68 'audio/audio_output_ipc.cc', | 90 'audio/audio_output_ipc.cc', |
| 69 'audio/audio_output_ipc.h', | 91 'audio/audio_output_ipc.h', |
| 70 'audio/audio_output_mixer.cc', | 92 'audio/audio_output_mixer.cc', |
| 71 'audio/audio_output_mixer.h', | 93 'audio/audio_output_mixer.h', |
| 72 'audio/audio_output_proxy.cc', | 94 'audio/audio_output_proxy.cc', |
| 73 'audio/audio_output_proxy.h', | 95 'audio/audio_output_proxy.h', |
| 74 'audio/audio_parameters.cc', | |
| 75 'audio/audio_parameters.h', | |
| 76 'audio/audio_util.cc', | 96 'audio/audio_util.cc', |
| 77 'audio/audio_util.h', | 97 'audio/audio_util.h', |
| 78 'audio/cross_process_notification.cc', | 98 'audio/cross_process_notification.cc', |
| 79 'audio/cross_process_notification.h', | 99 'audio/cross_process_notification.h', |
| 80 'audio/cross_process_notification_posix.cc', | 100 'audio/cross_process_notification_posix.cc', |
| 81 'audio/cross_process_notification_win.cc', | 101 'audio/cross_process_notification_win.cc', |
| 82 'audio/fake_audio_input_stream.cc', | 102 'audio/fake_audio_input_stream.cc', |
| 83 'audio/fake_audio_input_stream.h', | 103 'audio/fake_audio_input_stream.h', |
| 84 'audio/fake_audio_output_stream.cc', | 104 'audio/fake_audio_output_stream.cc', |
| 85 'audio/fake_audio_output_stream.h', | 105 'audio/fake_audio_output_stream.h', |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 'audio/win/avrt_wrapper_win.cc', | 148 'audio/win/avrt_wrapper_win.cc', |
| 129 'audio/win/avrt_wrapper_win.h', | 149 'audio/win/avrt_wrapper_win.h', |
| 130 'audio/win/device_enumeration_win.cc', | 150 'audio/win/device_enumeration_win.cc', |
| 131 'audio/win/device_enumeration_win.h', | 151 'audio/win/device_enumeration_win.h', |
| 132 'audio/win/wavein_input_win.cc', | 152 'audio/win/wavein_input_win.cc', |
| 133 'audio/win/wavein_input_win.h', | 153 'audio/win/wavein_input_win.h', |
| 134 'audio/win/waveout_output_win.cc', | 154 'audio/win/waveout_output_win.cc', |
| 135 'audio/win/waveout_output_win.h', | 155 'audio/win/waveout_output_win.h', |
| 136 'base/android/media_jni_registrar.cc', | 156 'base/android/media_jni_registrar.cc', |
| 137 'base/android/media_jni_registrar.h', | 157 'base/android/media_jni_registrar.h', |
| 138 'base/audio_bus.cc', | |
| 139 'base/audio_bus.h', | |
| 140 'base/audio_decoder.cc', | 158 'base/audio_decoder.cc', |
| 141 'base/audio_decoder.h', | 159 'base/audio_decoder.h', |
| 142 'base/audio_decoder_config.cc', | 160 'base/audio_decoder_config.cc', |
| 143 'base/audio_decoder_config.h', | 161 'base/audio_decoder_config.h', |
| 144 'base/audio_renderer.cc', | 162 'base/audio_renderer.cc', |
| 145 'base/audio_renderer.h', | 163 'base/audio_renderer.h', |
| 146 'base/audio_renderer_mixer.cc', | 164 'base/audio_renderer_mixer.cc', |
| 147 'base/audio_renderer_mixer.h', | 165 'base/audio_renderer_mixer.h', |
| 148 'base/audio_renderer_mixer_input.cc', | 166 'base/audio_renderer_mixer_input.cc', |
| 149 'base/audio_renderer_mixer_input.h', | 167 'base/audio_renderer_mixer_input.h', |
| 150 'base/bind_to_loop.h', | 168 'base/bind_to_loop.h', |
| 151 'base/bitstream_buffer.h', | 169 'base/bitstream_buffer.h', |
| 152 'base/bit_reader.cc', | 170 'base/bit_reader.cc', |
| 153 'base/bit_reader.h', | 171 'base/bit_reader.h', |
| 154 'base/buffers.cc', | 172 'base/buffers.cc', |
| 155 'base/buffers.h', | 173 'base/buffers.h', |
| 156 'base/byte_queue.cc', | 174 'base/byte_queue.cc', |
| 157 'base/byte_queue.h', | 175 'base/byte_queue.h', |
| 158 'base/channel_layout.cc', | |
| 159 'base/channel_layout.h', | |
| 160 'base/clock.cc', | 176 'base/clock.cc', |
| 161 'base/clock.h', | 177 'base/clock.h', |
| 162 'base/data_buffer.cc', | 178 'base/data_buffer.cc', |
| 163 'base/data_buffer.h', | 179 'base/data_buffer.h', |
| 164 'base/data_source.cc', | 180 'base/data_source.cc', |
| 165 'base/data_source.h', | 181 'base/data_source.h', |
| 166 'base/decoder_buffer.cc', | 182 'base/decoder_buffer.cc', |
| 167 'base/decoder_buffer.h', | 183 'base/decoder_buffer.h', |
| 168 'base/decryptor.h', | 184 'base/decryptor.h', |
| 169 'base/decryptor_client.h', | 185 'base/decryptor_client.h', |
| 170 'base/decrypt_config.cc', | 186 'base/decrypt_config.cc', |
| 171 'base/decrypt_config.h', | 187 'base/decrypt_config.h', |
| 172 'base/demuxer.cc', | 188 'base/demuxer.cc', |
| 173 'base/demuxer.h', | 189 'base/demuxer.h', |
| 174 'base/demuxer_stream.cc', | 190 'base/demuxer_stream.cc', |
| 175 'base/demuxer_stream.h', | 191 'base/demuxer_stream.h', |
| 176 'base/djb2.cc', | 192 'base/djb2.cc', |
| 177 'base/djb2.h', | 193 'base/djb2.h', |
| 178 'base/filter_collection.cc', | 194 'base/filter_collection.cc', |
| 179 'base/filter_collection.h', | 195 'base/filter_collection.h', |
| 180 'base/media.h', | 196 'base/media.h', |
| 181 'base/media_android.cc', | 197 'base/media_android.cc', |
| 182 'base/media_export.h', | |
| 183 'base/media_log.cc', | 198 'base/media_log.cc', |
| 184 'base/media_log.h', | 199 'base/media_log.h', |
| 185 'base/media_log_event.h', | 200 'base/media_log_event.h', |
| 186 'base/media_posix.cc', | 201 'base/media_posix.cc', |
| 187 'base/media_switches.cc', | 202 'base/media_switches.cc', |
| 188 'base/media_switches.h', | 203 'base/media_switches.h', |
| 189 'base/media_win.cc', | 204 'base/media_win.cc', |
| 190 'base/message_loop_factory.cc', | 205 'base/message_loop_factory.cc', |
| 191 'base/message_loop_factory.h', | 206 'base/message_loop_factory.h', |
| 192 'base/multi_channel_resampler.cc', | 207 'base/multi_channel_resampler.cc', |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 'base/simd/yuv_to_rgb_table.cc', | 668 'base/simd/yuv_to_rgb_table.cc', |
| 654 'base/simd/yuv_to_rgb_table.h', | 669 'base/simd/yuv_to_rgb_table.h', |
| 655 ], | 670 ], |
| 656 }, | 671 }, |
| 657 { | 672 { |
| 658 'target_name': 'media_unittests', | 673 'target_name': 'media_unittests', |
| 659 'type': '<(gtest_target_type)', | 674 'type': '<(gtest_target_type)', |
| 660 'dependencies': [ | 675 'dependencies': [ |
| 661 'media', | 676 'media', |
| 662 'media_test_support', | 677 'media_test_support', |
| 678 'shared_memory_support', |
| 663 'yuv_convert', | 679 'yuv_convert', |
| 664 '../base/base.gyp:base', | 680 '../base/base.gyp:base', |
| 665 '../base/base.gyp:base_i18n', | 681 '../base/base.gyp:base_i18n', |
| 666 '../base/base.gyp:test_support_base', | 682 '../base/base.gyp:test_support_base', |
| 667 '../testing/gmock.gyp:gmock', | 683 '../testing/gmock.gyp:gmock', |
| 668 '../testing/gtest.gyp:gtest', | 684 '../testing/gtest.gyp:gtest', |
| 669 '../ui/ui.gyp:ui', | 685 '../ui/ui.gyp:ui', |
| 670 ], | 686 ], |
| 671 'sources': [ | 687 'sources': [ |
| 672 'audio/async_socket_io_handler_unittest.cc', | 688 'audio/async_socket_io_handler_unittest.cc', |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1154 'media', | 1170 'media', |
| 1155 ], | 1171 ], |
| 1156 'sources': [ | 1172 'sources': [ |
| 1157 'tools/media_bench/media_bench.cc', | 1173 'tools/media_bench/media_bench.cc', |
| 1158 ], | 1174 ], |
| 1159 }, | 1175 }, |
| 1160 ], | 1176 ], |
| 1161 }] | 1177 }] |
| 1162 ], | 1178 ], |
| 1163 } | 1179 } |
| OLD | NEW |