OLD | NEW |
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%': 'public', | 8 'chromecast_branding%': 'public', |
9 'libcast_media_gyp%': '', | 9 'libcast_media_gyp%': '', |
10 'use_default_libcast_media%': 1, | 10 'use_default_libcast_media%': 1, |
11 }, | 11 }, |
12 'target_defaults': { | 12 'target_defaults': { |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '../public/', # Public APIs | 14 '../public/', # Public APIs |
15 ], | 15 ], |
16 }, | 16 }, |
17 'targets': [ | 17 'targets': [ |
18 # TODO(gunsch): delete this target once Chromecast M44/earlier is obsolete. | 18 # TODO(gunsch): delete this target once Chromecast M44/earlier is obsolete. |
19 # See: b/21639416 | 19 # See: b/21639416 |
20 { | 20 { |
21 'target_name': 'libffmpegsumo', | 21 'target_name': 'libffmpegsumo', |
22 'type': 'loadable_module', | 22 'type': 'loadable_module', |
23 'sources': ['empty.cc'], | 23 'sources': ['empty.cc'], |
24 }, | 24 }, |
25 { | 25 { |
| 26 'target_name': 'media_audio', |
| 27 'type': '<(component)', |
| 28 'dependencies': [ |
| 29 '../../media/media.gyp:media', |
| 30 ], |
| 31 'sources': [ |
| 32 'audio/cast_audio_manager.cc', |
| 33 'audio/cast_audio_manager.h', |
| 34 'audio/cast_audio_manager_factory.cc', |
| 35 'audio/cast_audio_manager_factory.h', |
| 36 'audio/cast_audio_output_stream.cc', |
| 37 'audio/cast_audio_output_stream.h', |
| 38 ], |
| 39 }, |
| 40 { |
26 'target_name': 'media_base', | 41 'target_name': 'media_base', |
27 'type': '<(component)', | 42 'type': '<(component)', |
28 'dependencies': [ | 43 'dependencies': [ |
29 '../../base/base.gyp:base', | 44 '../../base/base.gyp:base', |
30 '../../crypto/crypto.gyp:crypto', | 45 '../../crypto/crypto.gyp:crypto', |
31 '../../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h'
, | 46 '../../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h'
, |
32 '<(libcast_media_gyp):libcast_media_1.0', | 47 '<(libcast_media_gyp):libcast_media_1.0', |
33 ], | 48 ], |
34 'sources': [ | 49 'sources': [ |
35 'base/decrypt_context_impl.cc', | 50 'base/decrypt_context_impl.cc', |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 'cma/base/cma_logging.h', | 126 'cma/base/cma_logging.h', |
112 'cma/base/coded_frame_provider.cc', | 127 'cma/base/coded_frame_provider.cc', |
113 'cma/base/coded_frame_provider.h', | 128 'cma/base/coded_frame_provider.h', |
114 'cma/base/decoder_buffer_adapter.cc', | 129 'cma/base/decoder_buffer_adapter.cc', |
115 'cma/base/decoder_buffer_adapter.h', | 130 'cma/base/decoder_buffer_adapter.h', |
116 'cma/base/decoder_config_adapter.cc', | 131 'cma/base/decoder_config_adapter.cc', |
117 'cma/base/decoder_config_adapter.h', | 132 'cma/base/decoder_config_adapter.h', |
118 'cma/base/media_task_runner.cc', | 133 'cma/base/media_task_runner.cc', |
119 'cma/base/media_task_runner.h', | 134 'cma/base/media_task_runner.h', |
120 'cma/base/simple_media_task_runner.cc', | 135 'cma/base/simple_media_task_runner.cc', |
121 'cma/base/simple_media_task_runner.h', | 136 'cma/base/simple_media_task_runner.h', |
122 ], | 137 ], |
123 }, | 138 }, |
124 { | 139 { |
125 'target_name': 'default_cma_backend', | 140 'target_name': 'default_cma_backend', |
126 'type': '<(component)', | 141 'type': '<(component)', |
127 'dependencies': [ | 142 'dependencies': [ |
128 '../chromecast.gyp:cast_base', | 143 '../chromecast.gyp:cast_base', |
129 '../../base/base.gyp:base', | 144 '../../base/base.gyp:base', |
130 ], | 145 ], |
131 'include_dirs': [ | 146 'include_dirs': [ |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 { | 260 { |
246 'target_name': 'cast_media', | 261 'target_name': 'cast_media', |
247 'type': 'none', | 262 'type': 'none', |
248 'dependencies': [ | 263 'dependencies': [ |
249 'cma_base', | 264 'cma_base', |
250 'cma_filters', | 265 'cma_filters', |
251 'cma_ipc', | 266 'cma_ipc', |
252 'cma_ipc_streamer', | 267 'cma_ipc_streamer', |
253 'cma_pipeline', | 268 'cma_pipeline', |
254 'default_cma_backend', | 269 'default_cma_backend', |
| 270 'media_audio', |
255 'media_cdm', | 271 'media_cdm', |
256 ], | 272 ], |
257 }, | 273 }, |
258 { | 274 { |
259 'target_name': 'cast_media_unittests', | 275 'target_name': 'cast_media_unittests', |
260 'type': '<(gtest_target_type)', | 276 'type': '<(gtest_target_type)', |
261 'dependencies': [ | 277 'dependencies': [ |
262 'cast_media', | 278 'cast_media', |
263 '../../base/base.gyp:base', | 279 '../../base/base.gyp:base', |
264 '../../base/base.gyp:base_i18n', | 280 '../../base/base.gyp:base_i18n', |
265 '../../base/base.gyp:test_support_base', | 281 '../../base/base.gyp:test_support_base', |
266 '../../chromecast/chromecast.gyp:cast_metrics_test_support', | 282 '../../chromecast/chromecast.gyp:cast_metrics_test_support', |
267 '../../gpu/gpu.gyp:gpu_unittest_utils', | 283 '../../gpu/gpu.gyp:gpu_unittest_utils', |
268 '../../media/media.gyp:media_test_support', | 284 '../../media/media.gyp:media_test_support', |
269 '../../testing/gmock.gyp:gmock', | 285 '../../testing/gmock.gyp:gmock', |
270 '../../testing/gtest.gyp:gtest', | 286 '../../testing/gtest.gyp:gtest', |
271 '../../testing/gtest.gyp:gtest_main', | 287 '../../testing/gtest.gyp:gtest_main', |
272 '../../ui/gfx/gfx.gyp:gfx_test_support', | 288 '../../ui/gfx/gfx.gyp:gfx_test_support', |
273 ], | 289 ], |
274 'sources': [ | 290 'sources': [ |
| 291 'audio/cast_audio_output_stream_unittest.cc', |
275 'cdm/chromecast_init_data_unittest.cc', | 292 'cdm/chromecast_init_data_unittest.cc', |
276 'cma/backend/audio_video_pipeline_device_unittest.cc', | 293 'cma/backend/audio_video_pipeline_device_unittest.cc', |
277 'cma/base/balanced_media_task_runner_unittest.cc', | 294 'cma/base/balanced_media_task_runner_unittest.cc', |
278 'cma/base/buffering_controller_unittest.cc', | 295 'cma/base/buffering_controller_unittest.cc', |
279 'cma/base/buffering_frame_provider_unittest.cc', | 296 'cma/base/buffering_frame_provider_unittest.cc', |
280 'cma/filters/demuxer_stream_adapter_unittest.cc', | 297 'cma/filters/demuxer_stream_adapter_unittest.cc', |
281 'cma/filters/multi_demuxer_stream_adapter_unittest.cc', | 298 'cma/filters/multi_demuxer_stream_adapter_unittest.cc', |
282 'cma/ipc/media_message_fifo_unittest.cc', | 299 'cma/ipc/media_message_fifo_unittest.cc', |
283 'cma/ipc/media_message_unittest.cc', | 300 'cma/ipc/media_message_unittest.cc', |
284 'cma/ipc_streamer/av_streamer_unittest.cc', | 301 'cma/ipc_streamer/av_streamer_unittest.cc', |
(...skipping 29 matching lines...) Expand all Loading... |
314 '../..', | 331 '../..', |
315 ], | 332 ], |
316 'sources': [ | 333 'sources': [ |
317 'base/cast_media_default.cc', | 334 'base/cast_media_default.cc', |
318 ], | 335 ], |
319 } | 336 } |
320 ] | 337 ] |
321 }], | 338 }], |
322 ], | 339 ], |
323 } | 340 } |
OLD | NEW |