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

Side by Side 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: Fix end_to_end test + address slan comments 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 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%': 'public', 8 'chromecast_branding%': 'public',
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 { 139 {
140 'target_name': 'default_cma_backend', 140 'target_name': 'default_cma_backend',
141 'type': '<(component)', 141 'type': '<(component)',
142 'dependencies': [ 142 'dependencies': [
143 '../../base/base.gyp:base', 143 '../../base/base.gyp:base',
144 ], 144 ],
145 'include_dirs': [ 145 'include_dirs': [
146 '../..', 146 '../..',
147 ], 147 ],
148 'sources': [ 148 'sources': [
149 'cma/backend/audio_pipeline_device_default.cc',
150 'cma/backend/audio_pipeline_device_default.h',
151 'cma/backend/media_clock_device_default.cc',
152 'cma/backend/media_clock_device_default.h',
153 'cma/backend/media_component_device_default.cc',
154 'cma/backend/media_component_device_default.h',
155 'cma/backend/media_pipeline_backend_default.cc', 149 'cma/backend/media_pipeline_backend_default.cc',
156 'cma/backend/media_pipeline_backend_default.h', 150 'cma/backend/media_pipeline_backend_default.h',
157 'cma/backend/video_pipeline_device_default.cc',
158 'cma/backend/video_pipeline_device_default.h',
159 ], 151 ],
160 }, 152 },
161 { 153 {
162 'target_name': 'cma_ipc', 154 'target_name': 'cma_ipc',
163 'type': '<(component)', 155 'type': '<(component)',
164 'dependencies': [ 156 'dependencies': [
165 '../../base/base.gyp:base', 157 '../../base/base.gyp:base',
166 ], 158 ],
167 'sources': [ 159 'sources': [
168 'cma/ipc/media_memory_chunk.cc', 160 'cma/ipc/media_memory_chunk.cc',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 'dependencies': [ 194 'dependencies': [
203 'cma_base', 195 'cma_base',
204 'media_base', 196 'media_base',
205 'media_cdm', 197 'media_cdm',
206 '../../base/base.gyp:base', 198 '../../base/base.gyp:base',
207 '../../crypto/crypto.gyp:crypto', 199 '../../crypto/crypto.gyp:crypto',
208 '../../media/media.gyp:media', 200 '../../media/media.gyp:media',
209 '../../third_party/boringssl/boringssl.gyp:boringssl', 201 '../../third_party/boringssl/boringssl.gyp:boringssl',
210 ], 202 ],
211 'sources': [ 203 'sources': [
212 'cma/pipeline/audio_pipeline.cc',
213 'cma/pipeline/audio_pipeline.h',
214 'cma/pipeline/audio_pipeline_impl.cc', 204 'cma/pipeline/audio_pipeline_impl.cc',
215 'cma/pipeline/audio_pipeline_impl.h', 205 'cma/pipeline/audio_pipeline_impl.h',
216 'cma/pipeline/av_pipeline_client.cc', 206 'cma/pipeline/av_pipeline_client.cc',
217 'cma/pipeline/av_pipeline_client.h', 207 'cma/pipeline/av_pipeline_client.h',
218 'cma/pipeline/av_pipeline_impl.cc', 208 'cma/pipeline/av_pipeline_impl.cc',
219 'cma/pipeline/av_pipeline_impl.h', 209 'cma/pipeline/av_pipeline_impl.h',
220 'cma/pipeline/decrypt_util.cc', 210 'cma/pipeline/decrypt_util.cc',
221 'cma/pipeline/decrypt_util.h', 211 'cma/pipeline/decrypt_util.h',
222 'cma/pipeline/frame_status_cb_impl.cc',
223 'cma/pipeline/frame_status_cb_impl.h',
224 'cma/pipeline/load_type.h', 212 'cma/pipeline/load_type.h',
225 'cma/pipeline/media_component_device_client_impl.cc',
226 'cma/pipeline/media_component_device_client_impl.h',
227 'cma/pipeline/media_pipeline.h',
228 'cma/pipeline/media_pipeline_client.cc', 213 'cma/pipeline/media_pipeline_client.cc',
229 'cma/pipeline/media_pipeline_client.h', 214 'cma/pipeline/media_pipeline_client.h',
230 'cma/pipeline/media_pipeline_impl.cc', 215 'cma/pipeline/media_pipeline_impl.cc',
231 'cma/pipeline/media_pipeline_impl.h', 216 'cma/pipeline/media_pipeline_impl.h',
232 'cma/pipeline/video_pipeline.cc',
233 'cma/pipeline/video_pipeline.h',
234 'cma/pipeline/video_pipeline_client.cc', 217 'cma/pipeline/video_pipeline_client.cc',
235 'cma/pipeline/video_pipeline_client.h', 218 'cma/pipeline/video_pipeline_client.h',
236 'cma/pipeline/video_pipeline_device_client_impl.cc',
237 'cma/pipeline/video_pipeline_device_client_impl.h',
238 'cma/pipeline/video_pipeline_impl.cc', 219 'cma/pipeline/video_pipeline_impl.cc',
239 'cma/pipeline/video_pipeline_impl.h', 220 'cma/pipeline/video_pipeline_impl.h',
240 ], 221 ],
241 }, 222 },
242 { 223 {
243 'target_name': 'cma_filters', 224 'target_name': 'cma_filters',
244 'type': '<(component)', 225 'type': '<(component)',
245 'dependencies': [ 226 'dependencies': [
246 '../../base/base.gyp:base', 227 '../../base/base.gyp:base',
247 '../../media/media.gyp:media', 228 '../../media/media.gyp:media',
(...skipping 24 matching lines...) Expand all
272 }, 253 },
273 { 254 {
274 'target_name': 'cast_media_unittests', 255 'target_name': 'cast_media_unittests',
275 'type': '<(gtest_target_type)', 256 'type': '<(gtest_target_type)',
276 'dependencies': [ 257 'dependencies': [
277 'cast_media', 258 'cast_media',
278 '../../base/base.gyp:base', 259 '../../base/base.gyp:base',
279 '../../base/base.gyp:base_i18n', 260 '../../base/base.gyp:base_i18n',
280 '../../base/base.gyp:test_support_base', 261 '../../base/base.gyp:test_support_base',
281 '../../chromecast/chromecast.gyp:cast_metrics_test_support', 262 '../../chromecast/chromecast.gyp:cast_metrics_test_support',
263 '../../chromecast/chromecast.gyp:cast_shell_media',
282 '../../gpu/gpu.gyp:gpu_unittest_utils', 264 '../../gpu/gpu.gyp:gpu_unittest_utils',
283 '../../media/media.gyp:media_test_support', 265 '../../media/media.gyp:media_test_support',
284 '../../testing/gmock.gyp:gmock', 266 '../../testing/gmock.gyp:gmock',
285 '../../testing/gtest.gyp:gtest', 267 '../../testing/gtest.gyp:gtest',
286 '../../testing/gtest.gyp:gtest_main', 268 '../../testing/gtest.gyp:gtest_main',
287 '../../ui/gfx/gfx.gyp:gfx_test_support', 269 '../../ui/gfx/gfx.gyp:gfx_test_support',
288 ], 270 ],
289 'sources': [ 271 'sources': [
290 'audio/cast_audio_output_stream_unittest.cc', 272 'audio/cast_audio_output_stream_unittest.cc',
291 'cdm/chromecast_init_data_unittest.cc', 273 'cdm/chromecast_init_data_unittest.cc',
292 'cma/backend/audio_video_pipeline_device_unittest.cc', 274 'cma/backend/audio_video_pipeline_device_unittest.cc',
293 'cma/base/balanced_media_task_runner_unittest.cc', 275 'cma/base/balanced_media_task_runner_unittest.cc',
294 'cma/base/buffering_controller_unittest.cc', 276 'cma/base/buffering_controller_unittest.cc',
295 'cma/base/buffering_frame_provider_unittest.cc', 277 'cma/base/buffering_frame_provider_unittest.cc',
296 'cma/filters/demuxer_stream_adapter_unittest.cc', 278 'cma/filters/demuxer_stream_adapter_unittest.cc',
297 'cma/filters/multi_demuxer_stream_adapter_unittest.cc', 279 'cma/filters/multi_demuxer_stream_adapter_unittest.cc',
298 'cma/ipc/media_message_fifo_unittest.cc', 280 'cma/ipc/media_message_fifo_unittest.cc',
299 'cma/ipc/media_message_unittest.cc', 281 'cma/ipc/media_message_unittest.cc',
300 'cma/ipc_streamer/av_streamer_unittest.cc', 282 'cma/ipc_streamer/av_streamer_unittest.cc',
301 'cma/pipeline/audio_video_pipeline_impl_unittest.cc', 283 'cma/pipeline/audio_video_pipeline_impl_unittest.cc',
302 'cma/test/cma_end_to_end_test.cc', 284 'cma/test/cma_end_to_end_test.cc',
303 'cma/test/demuxer_stream_for_test.cc', 285 'cma/test/demuxer_stream_for_test.cc',
304 'cma/test/demuxer_stream_for_test.h', 286 'cma/test/demuxer_stream_for_test.h',
305 'cma/test/frame_generator_for_test.cc', 287 'cma/test/frame_generator_for_test.cc',
306 'cma/test/frame_generator_for_test.h', 288 'cma/test/frame_generator_for_test.h',
307 'cma/test/frame_segmenter_for_test.cc', 289 'cma/test/frame_segmenter_for_test.cc',
308 'cma/test/frame_segmenter_for_test.h', 290 'cma/test/frame_segmenter_for_test.h',
309 'cma/test/media_component_device_feeder_for_test.cc',
310 'cma/test/media_component_device_feeder_for_test.h',
311 'cma/test/mock_frame_consumer.cc', 291 'cma/test/mock_frame_consumer.cc',
312 'cma/test/mock_frame_consumer.h', 292 'cma/test/mock_frame_consumer.h',
313 'cma/test/mock_frame_provider.cc', 293 'cma/test/mock_frame_provider.cc',
314 'cma/test/mock_frame_provider.h', 294 'cma/test/mock_frame_provider.h',
315 'cma/test/run_all_unittests.cc', 295 'cma/test/run_all_unittests.cc',
316 ], 296 ],
317 }, 297 },
318 { # Target for OEM partners to override media shared library, i.e. 298 { # Target for OEM partners to override media shared library, i.e.
319 # libcast_media_1.0.so. This target is only used to build executables 299 # libcast_media_1.0.so. This target is only used to build executables
320 # with correct linkage information. 300 # with correct linkage information.
321 'target_name': 'libcast_media_1.0', 301 'target_name': 'libcast_media_1.0',
322 'type': 'shared_library', 302 'type': 'shared_library',
323 'dependencies': [ 303 'dependencies': [
324 '../../chromecast/chromecast.gyp:cast_public_api', 304 '../../chromecast/chromecast.gyp:cast_public_api',
325 'default_cma_backend' 305 'default_cma_backend'
326 ], 306 ],
327 'include_dirs': [ 307 'include_dirs': [
328 '../..', 308 '../..',
329 ], 309 ],
330 'sources': [ 310 'sources': [
331 'base/cast_media_default.cc', 311 'base/cast_media_default.cc',
332 ], 312 ],
333 } 313 }
334 ], # end of targets 314 ], # end of targets
335 } 315 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698