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 import("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
6 | 6 |
7 source_set("backend") { | 7 source_set("backend") { |
8 sources = [ | 8 sources = [ |
9 "audio_decoder_wrapper.cc", | 9 "audio_decoder_wrapper.cc", |
10 "audio_decoder_wrapper.h", | 10 "audio_decoder_wrapper.h", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 } | 47 } |
48 | 48 |
49 # Default implementation of media backend used on desktop. | 49 # Default implementation of media backend used on desktop. |
50 source_set("default") { | 50 source_set("default") { |
51 sources = [ | 51 sources = [ |
52 "audio_decoder_default.cc", | 52 "audio_decoder_default.cc", |
53 "audio_decoder_default.h", | 53 "audio_decoder_default.h", |
54 "cast_media_default.cc", | 54 "cast_media_default.cc", |
55 "media_pipeline_backend_default.cc", | 55 "media_pipeline_backend_default.cc", |
56 "media_pipeline_backend_default.h", | 56 "media_pipeline_backend_default.h", |
| 57 "media_sink_default.cc", |
| 58 "media_sink_default.h", |
57 "video_decoder_default.cc", | 59 "video_decoder_default.cc", |
58 "video_decoder_default.h", | 60 "video_decoder_default.h", |
59 ] | 61 ] |
60 | 62 |
61 deps = [ | 63 deps = [ |
62 "//base", | 64 "//base", |
63 "//chromecast/base", | 65 "//chromecast/base", |
64 "//chromecast/public/media", | 66 "//chromecast/public/media", |
| 67 "//media", |
65 ] | 68 ] |
66 } | 69 } |
67 | 70 |
68 # Dummy implementation of media backend used on chromecast devices. | 71 # Dummy implementation of media backend used on chromecast devices. |
69 # Must not depend on anything outside //chromecast/public. | 72 # Must not depend on anything outside //chromecast/public. |
70 source_set("dummy") { | 73 source_set("dummy") { |
71 sources = [ | 74 sources = [ |
72 "cast_media_dummy.cc", | 75 "cast_media_dummy.cc", |
73 ] | 76 ] |
74 | 77 |
75 deps = [ | 78 deps = [ |
76 "//chromecast/public", | 79 "//chromecast/public", |
77 ] | 80 ] |
78 } | 81 } |
79 | 82 |
80 # Implementation of video decoder that discards decoder buffers. | 83 # Implementation of video decoder that discards decoder buffers. |
81 # Used on audio platforms for media streams containing video. | 84 # Used on audio platforms for media streams containing video. |
82 source_set("null") { | 85 source_set("null") { |
83 sources = [ | 86 sources = [ |
84 "video_decoder_null.cc", | 87 "video_decoder_null.cc", |
85 "video_decoder_null.h", | 88 "video_decoder_null.h", |
86 ] | 89 ] |
87 | 90 |
88 deps = [ | 91 deps = [ |
89 "//base", | 92 "//base", |
90 "//chromecast/public/media", | 93 "//chromecast/public/media", |
91 ] | 94 ] |
92 } | 95 } |
OLD | NEW |