| 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%': '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 'target_defaults': { |
| 13 'include_dirs': [ |
| 14 '../public/', # Public APIs |
| 15 ], |
| 16 }, |
| 12 'targets': [ | 17 'targets': [ |
| 13 # TODO(gunsch): delete this target once Chromecast M44/earlier is obsolete. | 18 # TODO(gunsch): delete this target once Chromecast M44/earlier is obsolete. |
| 14 # See: b/21639416 | 19 # See: b/21639416 |
| 15 { | 20 { |
| 16 'target_name': 'libffmpegsumo', | 21 'target_name': 'libffmpegsumo', |
| 17 'type': 'loadable_module', | 22 'type': 'loadable_module', |
| 18 'sources': ['empty.cc'], | 23 'sources': ['empty.cc'], |
| 19 }, | 24 }, |
| 20 { | 25 { |
| 21 'target_name': 'media_base', | 26 'target_name': 'media_base', |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 'cma/base/balanced_media_task_runner_factory.cc', | 97 'cma/base/balanced_media_task_runner_factory.cc', |
| 93 'cma/base/balanced_media_task_runner_factory.h', | 98 'cma/base/balanced_media_task_runner_factory.h', |
| 94 'cma/base/buffering_controller.cc', | 99 'cma/base/buffering_controller.cc', |
| 95 'cma/base/buffering_controller.h', | 100 'cma/base/buffering_controller.h', |
| 96 'cma/base/buffering_defs.cc', | 101 'cma/base/buffering_defs.cc', |
| 97 'cma/base/buffering_defs.h', | 102 'cma/base/buffering_defs.h', |
| 98 'cma/base/buffering_frame_provider.cc', | 103 'cma/base/buffering_frame_provider.cc', |
| 99 'cma/base/buffering_frame_provider.h', | 104 'cma/base/buffering_frame_provider.h', |
| 100 'cma/base/buffering_state.cc', | 105 'cma/base/buffering_state.cc', |
| 101 'cma/base/buffering_state.h', | 106 'cma/base/buffering_state.h', |
| 107 'cma/base/cast_decoder_buffer_impl.cc', |
| 108 'cma/base/cast_decoder_buffer_impl.h', |
| 109 'cma/base/cast_decrypt_config_impl.cc', |
| 110 'cma/base/cast_decrypt_config_impl.h', |
| 102 'cma/base/cma_logging.h', | 111 'cma/base/cma_logging.h', |
| 103 'cma/base/coded_frame_provider.cc', | 112 'cma/base/coded_frame_provider.cc', |
| 104 'cma/base/coded_frame_provider.h', | 113 'cma/base/coded_frame_provider.h', |
| 105 'cma/base/decoder_buffer_adapter.cc', | 114 'cma/base/decoder_buffer_adapter.cc', |
| 106 'cma/base/decoder_buffer_adapter.h', | 115 'cma/base/decoder_buffer_adapter.h', |
| 107 'cma/base/decoder_buffer_base.cc', | |
| 108 'cma/base/decoder_buffer_base.h', | |
| 109 'cma/base/decoder_config_adapter.cc', | 116 'cma/base/decoder_config_adapter.cc', |
| 110 'cma/base/decoder_config_adapter.h', | 117 'cma/base/decoder_config_adapter.h', |
| 111 'cma/base/media_task_runner.cc', | 118 'cma/base/media_task_runner.cc', |
| 112 'cma/base/media_task_runner.h', | 119 'cma/base/media_task_runner.h', |
| 113 'cma/base/simple_media_task_runner.cc', | 120 'cma/base/simple_media_task_runner.cc', |
| 114 'cma/base/simple_media_task_runner.h', | 121 'cma/base/simple_media_task_runner.h', |
| 115 ], | 122 ], |
| 116 }, | 123 }, |
| 117 { | 124 { |
| 118 'target_name': 'cma_backend', | 125 'target_name': 'default_cma_backend', |
| 119 'type': '<(component)', | 126 'type': '<(component)', |
| 120 'dependencies': [ | 127 'dependencies': [ |
| 121 'cma_base', | 128 '../chromecast.gyp:cast_base', |
| 122 'media_base', | |
| 123 '../../base/base.gyp:base', | 129 '../../base/base.gyp:base', |
| 124 '../../media/media.gyp:media', | |
| 125 ], | 130 ], |
| 126 'include_dirs': [ | 131 'include_dirs': [ |
| 127 '../..', | 132 '../..', |
| 128 ], | 133 ], |
| 129 'sources': [ | 134 'sources': [ |
| 130 'cma/backend/audio_pipeline_device.cc', | |
| 131 'cma/backend/audio_pipeline_device.h', | |
| 132 'cma/backend/audio_pipeline_device_default.cc', | 135 'cma/backend/audio_pipeline_device_default.cc', |
| 133 'cma/backend/audio_pipeline_device_default.h', | 136 'cma/backend/audio_pipeline_device_default.h', |
| 134 'cma/backend/media_clock_device.cc', | |
| 135 'cma/backend/media_clock_device.h', | |
| 136 'cma/backend/media_clock_device_default.cc', | 137 'cma/backend/media_clock_device_default.cc', |
| 137 'cma/backend/media_clock_device_default.h', | 138 'cma/backend/media_clock_device_default.h', |
| 138 'cma/backend/media_component_device.cc', | |
| 139 'cma/backend/media_component_device.h', | |
| 140 'cma/backend/media_component_device_default.cc', | 139 'cma/backend/media_component_device_default.cc', |
| 141 'cma/backend/media_component_device_default.h', | 140 'cma/backend/media_component_device_default.h', |
| 142 'cma/backend/media_pipeline_device.cc', | 141 'cma/backend/media_pipeline_backend_default.cc', |
| 143 'cma/backend/media_pipeline_device.h', | 142 'cma/backend/media_pipeline_backend_default.h', |
| 144 'cma/backend/media_pipeline_device_factory.h', | |
| 145 'cma/backend/media_pipeline_device_factory_default.cc', | |
| 146 'cma/backend/media_pipeline_device_factory_default.h', | |
| 147 'cma/backend/media_pipeline_device_params.cc', | |
| 148 'cma/backend/media_pipeline_device_params.h', | |
| 149 'cma/backend/video_pipeline_device.cc', | |
| 150 'cma/backend/video_pipeline_device_default.cc', | 143 'cma/backend/video_pipeline_device_default.cc', |
| 151 'cma/backend/video_pipeline_device_default.h', | 144 'cma/backend/video_pipeline_device_default.h', |
| 152 'cma/backend/video_pipeline_device.h', | |
| 153 ], | |
| 154 'conditions': [ | |
| 155 ['chromecast_branding=="Chrome"', { | |
| 156 'dependencies': [ | |
| 157 '../internal/chromecast_internal.gyp:cma_backend_internal', | |
| 158 ], | |
| 159 }, { | |
| 160 'sources': [ | |
| 161 'cma/backend/media_pipeline_device_factory_simple.cc' | |
| 162 ], | |
| 163 }], | |
| 164 ], | 145 ], |
| 165 }, | 146 }, |
| 166 { | 147 { |
| 167 'target_name': 'cma_ipc', | 148 'target_name': 'cma_ipc', |
| 168 'type': '<(component)', | 149 'type': '<(component)', |
| 169 'dependencies': [ | 150 'dependencies': [ |
| 170 '../../base/base.gyp:base', | 151 '../../base/base.gyp:base', |
| 171 ], | 152 ], |
| 172 'sources': [ | 153 'sources': [ |
| 173 'cma/ipc/media_memory_chunk.cc', | 154 'cma/ipc/media_memory_chunk.cc', |
| (...skipping 24 matching lines...) Expand all Loading... |
| 198 'cma/ipc_streamer/decrypt_config_marshaller.cc', | 179 'cma/ipc_streamer/decrypt_config_marshaller.cc', |
| 199 'cma/ipc_streamer/decrypt_config_marshaller.h', | 180 'cma/ipc_streamer/decrypt_config_marshaller.h', |
| 200 'cma/ipc_streamer/video_decoder_config_marshaller.cc', | 181 'cma/ipc_streamer/video_decoder_config_marshaller.cc', |
| 201 'cma/ipc_streamer/video_decoder_config_marshaller.h', | 182 'cma/ipc_streamer/video_decoder_config_marshaller.h', |
| 202 ], | 183 ], |
| 203 }, | 184 }, |
| 204 { | 185 { |
| 205 'target_name': 'cma_pipeline', | 186 'target_name': 'cma_pipeline', |
| 206 'type': '<(component)', | 187 'type': '<(component)', |
| 207 'dependencies': [ | 188 'dependencies': [ |
| 208 'cma_backend', | |
| 209 'cma_base', | 189 'cma_base', |
| 210 'media_base', | 190 'media_base', |
| 211 'media_cdm', | 191 'media_cdm', |
| 212 '../../base/base.gyp:base', | 192 '../../base/base.gyp:base', |
| 213 '../../crypto/crypto.gyp:crypto', | 193 '../../crypto/crypto.gyp:crypto', |
| 214 '../../media/media.gyp:media', | 194 '../../media/media.gyp:media', |
| 215 '../../third_party/boringssl/boringssl.gyp:boringssl', | 195 '../../third_party/boringssl/boringssl.gyp:boringssl', |
| 216 ], | 196 ], |
| 217 'sources': [ | 197 'sources': [ |
| 218 'cma/pipeline/audio_pipeline.cc', | 198 'cma/pipeline/audio_pipeline.cc', |
| 219 'cma/pipeline/audio_pipeline.h', | 199 'cma/pipeline/audio_pipeline.h', |
| 220 'cma/pipeline/audio_pipeline_impl.cc', | 200 'cma/pipeline/audio_pipeline_impl.cc', |
| 221 'cma/pipeline/audio_pipeline_impl.h', | 201 'cma/pipeline/audio_pipeline_impl.h', |
| 222 'cma/pipeline/av_pipeline_client.cc', | 202 'cma/pipeline/av_pipeline_client.cc', |
| 223 'cma/pipeline/av_pipeline_client.h', | 203 'cma/pipeline/av_pipeline_client.h', |
| 224 'cma/pipeline/av_pipeline_impl.cc', | 204 'cma/pipeline/av_pipeline_impl.cc', |
| 225 'cma/pipeline/av_pipeline_impl.h', | 205 'cma/pipeline/av_pipeline_impl.h', |
| 226 'cma/pipeline/decrypt_util.cc', | 206 'cma/pipeline/decrypt_util.cc', |
| 227 'cma/pipeline/decrypt_util.h', | 207 'cma/pipeline/decrypt_util.h', |
| 208 'cma/pipeline/frame_status_cb_impl.cc', |
| 209 'cma/pipeline/frame_status_cb_impl.h', |
| 228 'cma/pipeline/load_type.h', | 210 'cma/pipeline/load_type.h', |
| 211 'cma/pipeline/media_component_device_client_impl.cc', |
| 212 'cma/pipeline/media_component_device_client_impl.h', |
| 229 'cma/pipeline/media_pipeline.h', | 213 'cma/pipeline/media_pipeline.h', |
| 230 'cma/pipeline/media_pipeline_client.cc', | 214 'cma/pipeline/media_pipeline_client.cc', |
| 231 'cma/pipeline/media_pipeline_client.h', | 215 'cma/pipeline/media_pipeline_client.h', |
| 232 'cma/pipeline/media_pipeline_impl.cc', | 216 'cma/pipeline/media_pipeline_impl.cc', |
| 233 'cma/pipeline/media_pipeline_impl.h', | 217 'cma/pipeline/media_pipeline_impl.h', |
| 234 'cma/pipeline/video_pipeline.cc', | 218 'cma/pipeline/video_pipeline.cc', |
| 235 'cma/pipeline/video_pipeline.h', | 219 'cma/pipeline/video_pipeline.h', |
| 236 'cma/pipeline/video_pipeline_client.cc', | 220 'cma/pipeline/video_pipeline_client.cc', |
| 237 'cma/pipeline/video_pipeline_client.h', | 221 'cma/pipeline/video_pipeline_client.h', |
| 222 'cma/pipeline/video_pipeline_device_client_impl.cc', |
| 223 'cma/pipeline/video_pipeline_device_client_impl.h', |
| 238 'cma/pipeline/video_pipeline_impl.cc', | 224 'cma/pipeline/video_pipeline_impl.cc', |
| 239 'cma/pipeline/video_pipeline_impl.h', | 225 'cma/pipeline/video_pipeline_impl.h', |
| 240 ], | 226 ], |
| 241 }, | 227 }, |
| 242 { | 228 { |
| 243 'target_name': 'cma_filters', | 229 'target_name': 'cma_filters', |
| 244 'type': '<(component)', | 230 'type': '<(component)', |
| 245 'dependencies': [ | 231 'dependencies': [ |
| 246 '../../base/base.gyp:base', | 232 '../../base/base.gyp:base', |
| 247 '../../media/media.gyp:media', | 233 '../../media/media.gyp:media', |
| 248 'cma_base', | 234 'cma_base', |
| 249 ], | 235 ], |
| 250 'sources': [ | 236 'sources': [ |
| 251 'cma/filters/cma_renderer.cc', | 237 'cma/filters/cma_renderer.cc', |
| 252 'cma/filters/cma_renderer.h', | 238 'cma/filters/cma_renderer.h', |
| 253 'cma/filters/demuxer_stream_adapter.cc', | 239 'cma/filters/demuxer_stream_adapter.cc', |
| 254 'cma/filters/demuxer_stream_adapter.h', | 240 'cma/filters/demuxer_stream_adapter.h', |
| 255 'cma/filters/hole_frame_factory.cc', | 241 'cma/filters/hole_frame_factory.cc', |
| 256 'cma/filters/hole_frame_factory.h', | 242 'cma/filters/hole_frame_factory.h', |
| 257 ], | 243 ], |
| 258 }, | 244 }, |
| 259 { | 245 { |
| 260 'target_name': 'cast_media', | 246 'target_name': 'cast_media', |
| 261 'type': 'none', | 247 'type': 'none', |
| 262 'dependencies': [ | 248 'dependencies': [ |
| 263 'cma_backend', | |
| 264 'cma_base', | 249 'cma_base', |
| 265 'cma_filters', | 250 'cma_filters', |
| 266 'cma_ipc', | 251 'cma_ipc', |
| 267 'cma_ipc_streamer', | 252 'cma_ipc_streamer', |
| 268 'cma_pipeline', | 253 'cma_pipeline', |
| 254 'default_cma_backend', |
| 269 'media_cdm', | 255 'media_cdm', |
| 270 ], | 256 ], |
| 271 }, | 257 }, |
| 272 { | 258 { |
| 273 'target_name': 'cast_media_unittests', | 259 'target_name': 'cast_media_unittests', |
| 274 'type': '<(gtest_target_type)', | 260 'type': '<(gtest_target_type)', |
| 275 'dependencies': [ | 261 'dependencies': [ |
| 276 'cast_media', | 262 'cast_media', |
| 277 '../../base/base.gyp:base', | 263 '../../base/base.gyp:base', |
| 278 '../../base/base.gyp:base_i18n', | 264 '../../base/base.gyp:base_i18n', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 ], | 300 ], |
| 315 }, | 301 }, |
| 316 ], # end of targets | 302 ], # end of targets |
| 317 'conditions': [ | 303 'conditions': [ |
| 318 ['use_default_libcast_media==1', { | 304 ['use_default_libcast_media==1', { |
| 319 'targets': [ | 305 'targets': [ |
| 320 { | 306 { |
| 321 'target_name': 'libcast_media_1.0', | 307 'target_name': 'libcast_media_1.0', |
| 322 'type': 'shared_library', | 308 'type': 'shared_library', |
| 323 'dependencies': [ | 309 'dependencies': [ |
| 324 '../../chromecast/chromecast.gyp:cast_public_api' | 310 '../../chromecast/chromecast.gyp:cast_public_api', |
| 311 'default_cma_backend' |
| 325 ], | 312 ], |
| 326 'include_dirs': [ | 313 'include_dirs': [ |
| 327 '../..', | 314 '../..', |
| 328 ], | 315 ], |
| 329 'sources': [ | 316 'sources': [ |
| 330 'base/cast_media_default.cc', | 317 'base/cast_media_default.cc', |
| 331 ], | 318 ], |
| 332 } | 319 } |
| 333 ] | 320 ] |
| 334 }], | 321 }], |
| 335 ], | 322 ], |
| 336 } | 323 } |
| OLD | NEW |