1 # Copyright 2014 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.
8 'chromecast_branding%': 'Chromium',
12 'target_name': 'media_base',
13 'type': '<(component)',
15 '../../base/base.gyp:base',
16 '../../crypto/crypto.gyp:crypto',
17 '../../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
20 'base/decrypt_context.cc',
21 'base/decrypt_context.h',
22 'base/decrypt_context_clearkey.cc',
23 'base/decrypt_context_clearkey.h',
24 'base/key_systems_common.cc',
25 'base/key_systems_common.h',
28 'base/media_codec_support.cc',
29 'base/media_codec_support.h',
30 'base/switching_media_renderer.cc',
31 'base/switching_media_renderer.h',
34 ['chromecast_branding=="Chrome"', {
36 '../internal/chromecast_internal.gyp:media_base_internal',
40 'base/key_systems_common_simple.cc',
46 'target_name': 'media_cdm',
47 'type': '<(component)',
50 '../../base/base.gyp:base',
51 '../../media/media.gyp:media',
54 'cdm/browser_cdm_cast.cc',
55 'cdm/browser_cdm_cast.h',
58 ['use_playready==1', {
60 'cdm/playready_drm_delegate_android.cc',
61 'cdm/playready_drm_delegate_android.h',
67 'target_name': 'cma_base',
68 'type': '<(component)',
70 '../chromecast.gyp:cast_base',
71 '../../base/base.gyp:base',
72 '../../media/media.gyp:media',
78 'cma/base/balanced_media_task_runner_factory.cc',
79 'cma/base/balanced_media_task_runner_factory.h',
80 'cma/base/buffering_controller.cc',
81 'cma/base/buffering_controller.h',
82 'cma/base/buffering_defs.cc',
83 'cma/base/buffering_defs.h',
84 'cma/base/buffering_frame_provider.cc',
85 'cma/base/buffering_frame_provider.h',
86 'cma/base/buffering_state.cc',
87 'cma/base/buffering_state.h',
88 'cma/base/cma_logging.h',
89 'cma/base/coded_frame_provider.cc',
90 'cma/base/coded_frame_provider.h',
91 'cma/base/decoder_buffer_adapter.cc',
92 'cma/base/decoder_buffer_adapter.h',
93 'cma/base/decoder_buffer_base.cc',
94 'cma/base/decoder_buffer_base.h',
95 'cma/base/media_task_runner.cc',
96 'cma/base/media_task_runner.h',
100 'target_name': 'cma_backend',
101 'type': '<(component)',
105 '../../base/base.gyp:base',
106 '../../media/media.gyp:media',
112 'cma/backend/audio_pipeline_device.cc',
113 'cma/backend/audio_pipeline_device.h',
114 'cma/backend/media_clock_device.cc',
115 'cma/backend/media_clock_device.h',
116 'cma/backend/media_component_device.cc',
117 'cma/backend/media_component_device.h',
118 'cma/backend/media_pipeline_device.cc',
119 'cma/backend/media_pipeline_device.h',
120 'cma/backend/media_pipeline_device_fake.cc',
121 'cma/backend/media_pipeline_device_fake.h',
122 'cma/backend/media_pipeline_device_params.cc',
123 'cma/backend/media_pipeline_device_params.h',
124 'cma/backend/video_pipeline_device.cc',
125 'cma/backend/video_pipeline_device.h',
126 'cma/backend/video_plane.cc',
127 'cma/backend/video_plane.h',
128 'cma/backend/video_plane_fake.cc',
129 'cma/backend/video_plane_fake.h',
132 ['chromecast_branding=="Chrome"', {
134 '../internal/chromecast_internal.gyp:cma_backend_internal',
138 'cma/backend/media_pipeline_device_fake_factory.cc',
139 'cma/backend/video_plane_fake_factory.cc',
145 'target_name': 'cma_ipc',
146 'type': '<(component)',
148 '../../base/base.gyp:base',
151 'cma/ipc/media_memory_chunk.cc',
152 'cma/ipc/media_memory_chunk.h',
153 'cma/ipc/media_message.cc',
154 'cma/ipc/media_message.h',
155 'cma/ipc/media_message_fifo.cc',
156 'cma/ipc/media_message_fifo.h',
160 'target_name': 'cma_ipc_streamer',
161 'type': '<(component)',
163 '../../base/base.gyp:base',
164 '../../media/media.gyp:media',
168 'cma/ipc_streamer/audio_decoder_config_marshaller.cc',
169 'cma/ipc_streamer/audio_decoder_config_marshaller.h',
170 'cma/ipc_streamer/av_streamer_proxy.cc',
171 'cma/ipc_streamer/av_streamer_proxy.h',
172 'cma/ipc_streamer/coded_frame_provider_host.cc',
173 'cma/ipc_streamer/coded_frame_provider_host.h',
174 'cma/ipc_streamer/decoder_buffer_base_marshaller.cc',
175 'cma/ipc_streamer/decoder_buffer_base_marshaller.h',
176 'cma/ipc_streamer/decrypt_config_marshaller.cc',
177 'cma/ipc_streamer/decrypt_config_marshaller.h',
178 'cma/ipc_streamer/video_decoder_config_marshaller.cc',
179 'cma/ipc_streamer/video_decoder_config_marshaller.h',
183 'target_name': 'cma_pipeline',
184 'type': '<(component)',
190 '../../base/base.gyp:base',
191 '../../crypto/crypto.gyp:crypto',
192 '../../media/media.gyp:media',
195 ['chromecast_branding=="Chrome"', {
197 '../internal/cast_system.gyp:openssl',
201 '../../third_party/boringssl/boringssl.gyp:boringssl',
206 'cma/pipeline/audio_pipeline.cc',
207 'cma/pipeline/audio_pipeline.h',
208 'cma/pipeline/audio_pipeline_impl.cc',
209 'cma/pipeline/audio_pipeline_impl.h',
210 'cma/pipeline/av_pipeline_client.cc',
211 'cma/pipeline/av_pipeline_client.h',
212 'cma/pipeline/av_pipeline_impl.cc',
213 'cma/pipeline/av_pipeline_impl.h',
214 'cma/pipeline/decrypt_util.cc',
215 'cma/pipeline/decrypt_util.h',
216 'cma/pipeline/load_type.h',
217 'cma/pipeline/media_pipeline.h',
218 'cma/pipeline/media_pipeline_client.cc',
219 'cma/pipeline/media_pipeline_client.h',
220 'cma/pipeline/media_pipeline_impl.cc',
221 'cma/pipeline/media_pipeline_impl.h',
222 'cma/pipeline/video_pipeline.cc',
223 'cma/pipeline/video_pipeline.h',
224 'cma/pipeline/video_pipeline_client.cc',
225 'cma/pipeline/video_pipeline_client.h',
226 'cma/pipeline/video_pipeline_impl.cc',
227 'cma/pipeline/video_pipeline_impl.h',
231 'target_name': 'cma_filters',
232 'type': '<(component)',
234 '../../base/base.gyp:base',
235 '../../media/media.gyp:media',
239 'cma/filters/cma_renderer.cc',
240 'cma/filters/cma_renderer.h',
241 'cma/filters/demuxer_stream_adapter.cc',
242 'cma/filters/demuxer_stream_adapter.h',
246 'target_name': 'cast_media',
259 'target_name': 'cast_media_unittests',
260 'type': '<(gtest_target_type)',
263 '../../base/base.gyp:base',
264 '../../base/base.gyp:base_i18n',
265 '../../base/base.gyp:test_support_base',
266 '../../chromecast/chromecast.gyp:cast_metrics_test_support',
267 '../../media/media.gyp:media_test_support',
268 '../../testing/gmock.gyp:gmock',
269 '../../testing/gtest.gyp:gtest',
270 '../../testing/gtest.gyp:gtest_main',
273 'cma/backend/audio_video_pipeline_device_unittest.cc',
274 'cma/base/balanced_media_task_runner_unittest.cc',
275 'cma/base/buffering_controller_unittest.cc',
276 'cma/base/buffering_frame_provider_unittest.cc',
277 'cma/filters/demuxer_stream_adapter_unittest.cc',
278 'cma/ipc/media_message_fifo_unittest.cc',
279 'cma/ipc/media_message_unittest.cc',
280 'cma/ipc_streamer/av_streamer_unittest.cc',
281 'cma/pipeline/audio_video_pipeline_impl_unittest.cc',
282 'cma/test/frame_generator_for_test.cc',
283 'cma/test/frame_generator_for_test.h',
284 'cma/test/frame_segmenter_for_test.cc',
285 'cma/test/frame_segmenter_for_test.h',
286 'cma/test/media_component_device_feeder_for_test.cc',
287 'cma/test/media_component_device_feeder_for_test.h',
288 'cma/test/mock_frame_consumer.cc',
289 'cma/test/mock_frame_consumer.h',
290 'cma/test/mock_frame_provider.cc',
291 'cma/test/mock_frame_provider.h',
292 'cma/test/run_all_unittests.cc',