| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # All Chromecast platforms except Android should support the CMA pipeline by | |
| 6 # default for media playback. | |
| 7 enable_cma = !is_android | |
| 8 | |
| 9 source_set("media") { | 5 source_set("media") { |
| 10 sources = [ | 6 sources = [ |
| 11 "media_caps_observer_impl.cc", | 7 "media_caps_observer_impl.cc", |
| 12 "media_caps_observer_impl.h", | 8 "media_caps_observer_impl.h", |
| 13 ] | 9 ] |
| 14 | 10 |
| 15 deps = [ | 11 deps = [ |
| 16 "//chromecast/common/media:interfaces", | 12 "//chromecast/common/media:interfaces", |
| 17 "//chromecast/media/base", | 13 "//chromecast/media/base", |
| 18 "//skia", | |
| 19 "//ui/gfx/geometry", | 14 "//ui/gfx/geometry", |
| 20 ] | 15 ] |
| 21 | |
| 22 if (enable_cma) { | |
| 23 sources += [ | |
| 24 "audio_pipeline_proxy.cc", | |
| 25 "audio_pipeline_proxy.h", | |
| 26 "chromecast_media_renderer_factory.cc", | |
| 27 "chromecast_media_renderer_factory.h", | |
| 28 "cma_message_filter_proxy.cc", | |
| 29 "cma_message_filter_proxy.h", | |
| 30 "cma_renderer.cc", | |
| 31 "cma_renderer.h", | |
| 32 "media_channel_proxy.cc", | |
| 33 "media_channel_proxy.h", | |
| 34 "media_pipeline_proxy.cc", | |
| 35 "media_pipeline_proxy.h", | |
| 36 "video_pipeline_proxy.cc", | |
| 37 "video_pipeline_proxy.h", | |
| 38 ] | |
| 39 | |
| 40 deps += [ | |
| 41 "//chromecast/common/media", | |
| 42 "//chromecast/media", | |
| 43 "//content/public/renderer", | |
| 44 "//gpu/command_buffer/client:gles2_interface", | |
| 45 "//gpu/command_buffer/common", | |
| 46 "//ipc", | |
| 47 "//media", | |
| 48 ] | |
| 49 } | |
| 50 } | 16 } |
| OLD | NEW |