Index: chromecast/media/media.gyp |
diff --git a/chromecast/media/media.gyp b/chromecast/media/media.gyp |
index 86879e5b24ad9658e7c27f0f9d127a0a52760e7b..831c9f3b39fec509614f4c803fbe8f62dd4f5639 100644 |
--- a/chromecast/media/media.gyp |
+++ b/chromecast/media/media.gyp |
@@ -18,6 +18,21 @@ |
'sources': ['empty.cc'], |
}, |
{ |
+ 'target_name': 'media_audio', |
+ 'type': '<(component)', |
+ 'dependencies': [ |
+ '../../media/media.gyp:media', |
+ ], |
+ 'sources': [ |
+ 'audio/cast_audio_manager.cc', |
+ 'audio/cast_audio_manager.h', |
+ 'audio/cast_audio_manager_factory.cc', |
+ 'audio/cast_audio_manager_factory.h', |
+ 'audio/chromecast_device_audio_output_stream.cc', |
+ 'audio/chromecast_device_audio_output_stream.h', |
+ ], |
+ }, |
+ { |
'target_name': 'media_base', |
'type': '<(component)', |
'dependencies': [ |
@@ -27,6 +42,8 @@ |
'<(libcast_media_gyp):libcast_media_1.0', |
], |
'sources': [ |
+ 'base/converters.cc', |
+ 'base/converters.h', |
'base/decrypt_context.cc', |
'base/decrypt_context.h', |
'base/decrypt_context_clearkey.cc', |
@@ -111,7 +128,7 @@ |
'cma/base/media_task_runner.cc', |
'cma/base/media_task_runner.h', |
'cma/base/simple_media_task_runner.cc', |
- 'cma/base/simple_media_task_runner.h', |
+ 'cma/base/simple_media_task_runner.h', |
], |
}, |
{ |
@@ -266,6 +283,7 @@ |
'cma_ipc', |
'cma_ipc_streamer', |
'cma_pipeline', |
+ 'media_audio', |
'media_cdm', |
], |
}, |
@@ -286,6 +304,11 @@ |
'../../ui/gfx/gfx.gyp:gfx_test_support', |
], |
'sources': [ |
+ 'audio/cast_audio_manager_factory_test.cc', |
+ 'audio/cast_audio_manager_unittest.cc', |
+ # TODO(slan): Enable this once the default CastAudioOutputDevice is |
+ # meaningful. |
+ # 'audio/cast_audio_stream_test.cc', |
'cdm/chromecast_init_data_unittest.cc', |
'cma/backend/audio_video_pipeline_device_unittest.cc', |
'cma/base/balanced_media_task_runner_unittest.cc', |