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

Unified Diff: chromecast/media/media.gyp

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add V1 adapter Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chromecast/media/media.gyp
diff --git a/chromecast/media/media.gyp b/chromecast/media/media.gyp
index 727eca159a18674c6d731759d254dc074b1ce282..a3fa8f222839dfb22cd6f4226e00f74356eda921 100644
--- a/chromecast/media/media.gyp
+++ b/chromecast/media/media.gyp
@@ -138,6 +138,25 @@
],
},
{
+ 'target_name': 'cma_backend_adapter',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'cma/adapter/audio_pipeline_device.h',
+ 'cma/adapter/backend_adapter.cc',
+ 'cma/adapter/backend_adapter.h',
+ 'cma/adapter/media_clock_device.h',
+ 'cma/adapter/media_component_device.h',
+ 'cma/adapter/media_pipeline_device.h',
+ 'cma/adapter/video_pipeline_device.h',
+ ],
+ },
+ {
'target_name': 'default_cma_backend',
'type': '<(component)',
'dependencies': [
@@ -147,16 +166,8 @@
'../..',
],
'sources': [
- 'cma/backend/audio_pipeline_device_default.cc',
- 'cma/backend/audio_pipeline_device_default.h',
- 'cma/backend/media_clock_device_default.cc',
- 'cma/backend/media_clock_device_default.h',
- 'cma/backend/media_component_device_default.cc',
- 'cma/backend/media_component_device_default.h',
'cma/backend/media_pipeline_backend_default.cc',
'cma/backend/media_pipeline_backend_default.h',
- 'cma/backend/video_pipeline_device_default.cc',
- 'cma/backend/video_pipeline_device_default.h',
],
},
{
@@ -210,8 +221,6 @@
'../../third_party/boringssl/boringssl.gyp:boringssl',
],
'sources': [
- 'cma/pipeline/audio_pipeline.cc',
- 'cma/pipeline/audio_pipeline.h',
'cma/pipeline/audio_pipeline_impl.cc',
'cma/pipeline/audio_pipeline_impl.h',
'cma/pipeline/av_pipeline_client.cc',
@@ -220,22 +229,13 @@
'cma/pipeline/av_pipeline_impl.h',
'cma/pipeline/decrypt_util.cc',
'cma/pipeline/decrypt_util.h',
- 'cma/pipeline/frame_status_cb_impl.cc',
- 'cma/pipeline/frame_status_cb_impl.h',
'cma/pipeline/load_type.h',
- 'cma/pipeline/media_component_device_client_impl.cc',
- 'cma/pipeline/media_component_device_client_impl.h',
- 'cma/pipeline/media_pipeline.h',
'cma/pipeline/media_pipeline_client.cc',
'cma/pipeline/media_pipeline_client.h',
'cma/pipeline/media_pipeline_impl.cc',
'cma/pipeline/media_pipeline_impl.h',
- 'cma/pipeline/video_pipeline.cc',
- 'cma/pipeline/video_pipeline.h',
'cma/pipeline/video_pipeline_client.cc',
'cma/pipeline/video_pipeline_client.h',
- 'cma/pipeline/video_pipeline_device_client_impl.cc',
- 'cma/pipeline/video_pipeline_device_client_impl.h',
'cma/pipeline/video_pipeline_impl.cc',
'cma/pipeline/video_pipeline_impl.h',
],
@@ -280,6 +280,7 @@
'../../base/base.gyp:base_i18n',
'../../base/base.gyp:test_support_base',
'../../chromecast/chromecast.gyp:cast_metrics_test_support',
+ '../../chromecast/chromecast.gyp:cast_shell_media',
'../../gpu/gpu.gyp:gpu_unittest_utils',
'../../media/media.gyp:media_test_support',
'../../testing/gmock.gyp:gmock',
@@ -300,15 +301,12 @@
'cma/ipc/media_message_unittest.cc',
'cma/ipc_streamer/av_streamer_unittest.cc',
'cma/pipeline/audio_video_pipeline_impl_unittest.cc',
- 'cma/test/cma_end_to_end_test.cc',
'cma/test/demuxer_stream_for_test.cc',
'cma/test/demuxer_stream_for_test.h',
'cma/test/frame_generator_for_test.cc',
'cma/test/frame_generator_for_test.h',
'cma/test/frame_segmenter_for_test.cc',
'cma/test/frame_segmenter_for_test.h',
- 'cma/test/media_component_device_feeder_for_test.cc',
- 'cma/test/media_component_device_feeder_for_test.h',
'cma/test/mock_frame_consumer.cc',
'cma/test/mock_frame_consumer.h',
'cma/test/mock_frame_provider.cc',

Powered by Google App Engine
This is Rietveld 408576698