Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Side by Side Diff: chromecast/media/media.gyp

Issue 1105803002: Exposes a shlib interface for media/audio path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment out streaming test until the default implementation is improved. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 'chromecast_branding%': 'Chromium', 8 'chromecast_branding%': 'Chromium',
9 'libcast_media_gyp%': '', 9 'libcast_media_gyp%': '',
10 'use_default_libcast_media%': 1, 10 'use_default_libcast_media%': 1,
11 }, 11 },
12 'targets': [ 12 'targets': [
13 # TODO(gunsch): delete this target once Chromecast M44/earlier is obsolete. 13 # TODO(gunsch): delete this target once Chromecast M44/earlier is obsolete.
14 # See: b/21639416 14 # See: b/21639416
15 { 15 {
16 'target_name': 'libffmpegsumo', 16 'target_name': 'libffmpegsumo',
17 'type': 'loadable_module', 17 'type': 'loadable_module',
18 'sources': ['empty.cc'], 18 'sources': ['empty.cc'],
19 }, 19 },
20 { 20 {
21 'target_name': 'media_audio',
22 'type': '<(component)',
23 'dependencies': [
24 '../../media/media.gyp:media',
25 ],
26 'sources': [
27 'audio/cast_audio_manager.cc',
28 'audio/cast_audio_manager.h',
29 'audio/cast_audio_manager_factory.cc',
30 'audio/cast_audio_manager_factory.h',
31 'audio/chromecast_device_audio_output_stream.cc',
32 'audio/chromecast_device_audio_output_stream.h',
33 ],
34 },
35 {
21 'target_name': 'media_base', 36 'target_name': 'media_base',
22 'type': '<(component)', 37 'type': '<(component)',
23 'dependencies': [ 38 'dependencies': [
24 '../../base/base.gyp:base', 39 '../../base/base.gyp:base',
25 '../../crypto/crypto.gyp:crypto', 40 '../../crypto/crypto.gyp:crypto',
26 '../../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h' , 41 '../../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h' ,
27 '<(libcast_media_gyp):libcast_media_1.0', 42 '<(libcast_media_gyp):libcast_media_1.0',
28 ], 43 ],
29 'sources': [ 44 'sources': [
45 'base/converters.cc',
46 'base/converters.h',
30 'base/decrypt_context.cc', 47 'base/decrypt_context.cc',
31 'base/decrypt_context.h', 48 'base/decrypt_context.h',
32 'base/decrypt_context_clearkey.cc', 49 'base/decrypt_context_clearkey.cc',
33 'base/decrypt_context_clearkey.h', 50 'base/decrypt_context_clearkey.h',
34 'base/key_systems_common.cc', 51 'base/key_systems_common.cc',
35 'base/key_systems_common.h', 52 'base/key_systems_common.h',
36 'base/media_caps.cc', 53 'base/media_caps.cc',
37 'base/media_caps.h', 54 'base/media_caps.h',
38 'base/media_codec_support.cc', 55 'base/media_codec_support.cc',
39 'base/media_codec_support.h', 56 'base/media_codec_support.h',
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 'cma/base/coded_frame_provider.h', 121 'cma/base/coded_frame_provider.h',
105 'cma/base/decoder_buffer_adapter.cc', 122 'cma/base/decoder_buffer_adapter.cc',
106 'cma/base/decoder_buffer_adapter.h', 123 'cma/base/decoder_buffer_adapter.h',
107 'cma/base/decoder_buffer_base.cc', 124 'cma/base/decoder_buffer_base.cc',
108 'cma/base/decoder_buffer_base.h', 125 'cma/base/decoder_buffer_base.h',
109 'cma/base/decoder_config_adapter.cc', 126 'cma/base/decoder_config_adapter.cc',
110 'cma/base/decoder_config_adapter.h', 127 'cma/base/decoder_config_adapter.h',
111 'cma/base/media_task_runner.cc', 128 'cma/base/media_task_runner.cc',
112 'cma/base/media_task_runner.h', 129 'cma/base/media_task_runner.h',
113 'cma/base/simple_media_task_runner.cc', 130 'cma/base/simple_media_task_runner.cc',
114 'cma/base/simple_media_task_runner.h', 131 'cma/base/simple_media_task_runner.h',
115 ], 132 ],
116 }, 133 },
117 { 134 {
118 'target_name': 'cma_backend', 135 'target_name': 'cma_backend',
119 'type': '<(component)', 136 'type': '<(component)',
120 'dependencies': [ 137 'dependencies': [
121 'cma_base', 138 'cma_base',
122 'media_base', 139 'media_base',
123 '../../base/base.gyp:base', 140 '../../base/base.gyp:base',
124 '../../media/media.gyp:media', 141 '../../media/media.gyp:media',
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 { 276 {
260 'target_name': 'cast_media', 277 'target_name': 'cast_media',
261 'type': 'none', 278 'type': 'none',
262 'dependencies': [ 279 'dependencies': [
263 'cma_backend', 280 'cma_backend',
264 'cma_base', 281 'cma_base',
265 'cma_filters', 282 'cma_filters',
266 'cma_ipc', 283 'cma_ipc',
267 'cma_ipc_streamer', 284 'cma_ipc_streamer',
268 'cma_pipeline', 285 'cma_pipeline',
286 'media_audio',
269 'media_cdm', 287 'media_cdm',
270 ], 288 ],
271 }, 289 },
272 { 290 {
273 'target_name': 'cast_media_unittests', 291 'target_name': 'cast_media_unittests',
274 'type': '<(gtest_target_type)', 292 'type': '<(gtest_target_type)',
275 'dependencies': [ 293 'dependencies': [
276 'cast_media', 294 'cast_media',
277 '../../base/base.gyp:base', 295 '../../base/base.gyp:base',
278 '../../base/base.gyp:base_i18n', 296 '../../base/base.gyp:base_i18n',
279 '../../base/base.gyp:test_support_base', 297 '../../base/base.gyp:test_support_base',
280 '../../chromecast/chromecast.gyp:cast_metrics_test_support', 298 '../../chromecast/chromecast.gyp:cast_metrics_test_support',
281 '../../gpu/gpu.gyp:gpu_unittest_utils', 299 '../../gpu/gpu.gyp:gpu_unittest_utils',
282 '../../media/media.gyp:media_test_support', 300 '../../media/media.gyp:media_test_support',
283 '../../testing/gmock.gyp:gmock', 301 '../../testing/gmock.gyp:gmock',
284 '../../testing/gtest.gyp:gtest', 302 '../../testing/gtest.gyp:gtest',
285 '../../testing/gtest.gyp:gtest_main', 303 '../../testing/gtest.gyp:gtest_main',
286 '../../ui/gfx/gfx.gyp:gfx_test_support', 304 '../../ui/gfx/gfx.gyp:gfx_test_support',
287 ], 305 ],
288 'sources': [ 306 'sources': [
307 'audio/cast_audio_manager_factory_test.cc',
308 'audio/cast_audio_manager_unittest.cc',
309 # TODO(slan): Enable this once the default CastAudioOutputDevice is
310 # meaningful.
311 # 'audio/cast_audio_stream_test.cc',
289 'cdm/chromecast_init_data_unittest.cc', 312 'cdm/chromecast_init_data_unittest.cc',
290 'cma/backend/audio_video_pipeline_device_unittest.cc', 313 'cma/backend/audio_video_pipeline_device_unittest.cc',
291 'cma/base/balanced_media_task_runner_unittest.cc', 314 'cma/base/balanced_media_task_runner_unittest.cc',
292 'cma/base/buffering_controller_unittest.cc', 315 'cma/base/buffering_controller_unittest.cc',
293 'cma/base/buffering_frame_provider_unittest.cc', 316 'cma/base/buffering_frame_provider_unittest.cc',
294 'cma/filters/demuxer_stream_adapter_unittest.cc', 317 'cma/filters/demuxer_stream_adapter_unittest.cc',
295 'cma/filters/multi_demuxer_stream_adapter_unittest.cc', 318 'cma/filters/multi_demuxer_stream_adapter_unittest.cc',
296 'cma/ipc/media_message_fifo_unittest.cc', 319 'cma/ipc/media_message_fifo_unittest.cc',
297 'cma/ipc/media_message_unittest.cc', 320 'cma/ipc/media_message_unittest.cc',
298 'cma/ipc_streamer/av_streamer_unittest.cc', 321 'cma/ipc_streamer/av_streamer_unittest.cc',
(...skipping 28 matching lines...) Expand all
327 '../..', 350 '../..',
328 ], 351 ],
329 'sources': [ 352 'sources': [
330 'base/cast_media_default.cc', 353 'base/cast_media_default.cc',
331 ], 354 ],
332 } 355 }
333 ] 356 ]
334 }], 357 }],
335 ], 358 ],
336 } 359 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698