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 component("cast") { | 5 component("cast") { |
6 deps = [ | 6 deps = [ |
7 ":sender", | 7 ":sender", |
8 ":receiver", | 8 ":receiver", |
9 ] | 9 ] |
10 } | 10 } |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 ] | 131 ] |
132 | 132 |
133 deps = [ | 133 deps = [ |
134 ":common", | 134 ":common", |
135 ":net", | 135 ":net", |
136 "//media", | 136 "//media", |
137 "//media:shared_memory_support", | 137 "//media:shared_memory_support", |
138 "//third_party/libvpx", | 138 "//third_party/libvpx", |
139 "//third_party/opus", | 139 "//third_party/opus", |
140 ] | 140 ] |
| 141 |
| 142 # use a restricted subset of media and no software codecs on iOS |
| 143 if (is_ios) { |
| 144 deps += [ "//media:media_for_cast_ios" ] |
| 145 deps -= [ |
| 146 "//media", |
| 147 "//third_party/libvpx", |
| 148 "//third_party/opus", |
| 149 ] |
| 150 sources -= [ |
| 151 "sender/external_video_encoder.h", |
| 152 "sender/external_video_encoder.cc", |
| 153 "sender/video_encoder_impl.h", |
| 154 "sender/video_encoder_impl.cc", |
| 155 "sender/vp8_encoder.cc", |
| 156 "sender/vp8_encoder.h", |
| 157 ] |
| 158 } |
141 } | 159 } |
142 | 160 |
143 source_set("receiver") { | 161 source_set("receiver") { |
144 sources = [ | 162 sources = [ |
145 "cast_receiver.h", | 163 "cast_receiver.h", |
146 "receiver/audio_decoder.cc", | 164 "receiver/audio_decoder.cc", |
147 "receiver/audio_decoder.h", | 165 "receiver/audio_decoder.h", |
148 "receiver/cast_receiver_impl.cc", | 166 "receiver/cast_receiver_impl.cc", |
149 "receiver/cast_receiver_impl.h", | 167 "receiver/cast_receiver_impl.h", |
150 "receiver/frame_receiver.cc", | 168 "receiver/frame_receiver.cc", |
151 "receiver/frame_receiver.h", | 169 "receiver/frame_receiver.h", |
152 "receiver/video_decoder.cc", | 170 "receiver/video_decoder.cc", |
153 "receiver/video_decoder.h", | 171 "receiver/video_decoder.h", |
154 ] | 172 ] |
155 | 173 |
156 deps = [ | 174 deps = [ |
157 ":common", | 175 ":common", |
158 ":net", | 176 ":net", |
159 "//media", | 177 "//media", |
160 "//media:shared_memory_support", | 178 "//media:shared_memory_support", |
| 179 "//third_party/libvpx", |
161 "//third_party/opus", | 180 "//third_party/opus", |
162 "//third_party/libvpx", | |
163 "//ui/gfx", | 181 "//ui/gfx", |
164 ] | 182 ] |
| 183 |
| 184 # use a restricted subset of media and no software codecs on iOS |
| 185 if (is_ios) { |
| 186 deps += [ "//media:media_for_cast_ios" ] |
| 187 deps -= [ |
| 188 "//media", |
| 189 "//third_party/libvpx", |
| 190 "//third_party/opus", |
| 191 ] |
| 192 } |
165 } | 193 } |
166 | 194 |
167 source_set("test_support") { | 195 source_set("test_support") { |
168 testonly = true | 196 testonly = true |
169 sources = [ | 197 sources = [ |
170 # TODO(hclam): FFmpeg. | 198 # TODO(hclam): FFmpeg. |
171 # "test/fake_media_source.cc", | 199 # "test/fake_media_source.cc", |
172 # "test/fake_media_source.h", | 200 # "test/fake_media_source.h", |
173 "test/fake_single_thread_task_runner.cc", | 201 "test/fake_single_thread_task_runner.cc", |
174 "test/fake_single_thread_task_runner.h", | 202 "test/fake_single_thread_task_runner.h", |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 sources = [ | 335 sources = [ |
308 "test/utility/udp_proxy_main.cc", | 336 "test/utility/udp_proxy_main.cc", |
309 ] | 337 ] |
310 | 338 |
311 deps = [ | 339 deps = [ |
312 ":test_support", | 340 ":test_support", |
313 "//base", | 341 "//base", |
314 "//net", | 342 "//net", |
315 ] | 343 ] |
316 } | 344 } |
OLD | NEW |