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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 component("cast") { | 7 component("cast") { |
8 deps = [ | 8 deps = [ |
9 ":sender", | 9 ":sender", |
10 ":receiver", | 10 ":receiver", |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "sender/video_sender.h", | 137 "sender/video_sender.h", |
138 "sender/vp8_encoder.cc", | 138 "sender/vp8_encoder.cc", |
139 "sender/vp8_encoder.h", | 139 "sender/vp8_encoder.h", |
140 ] | 140 ] |
141 | 141 |
142 deps = [ | 142 deps = [ |
143 ":common", | 143 ":common", |
144 ":net", | 144 ":net", |
145 "//media", | 145 "//media", |
146 "//media:shared_memory_support", | 146 "//media:shared_memory_support", |
147 "//third_party/libvpx", | 147 "//third_party/libvpx_new", |
148 "//third_party/opus", | 148 "//third_party/opus", |
149 "//ui/gfx/geometry", | 149 "//ui/gfx/geometry", |
150 ] | 150 ] |
151 | 151 |
152 # use a restricted subset of media and no software codecs on iOS | 152 # use a restricted subset of media and no software codecs on iOS |
153 if (is_ios) { | 153 if (is_ios) { |
154 deps += [ "//media:media_for_cast_ios" ] | 154 deps += [ "//media:media_for_cast_ios" ] |
155 deps -= [ | 155 deps -= [ |
156 "//media", | 156 "//media", |
157 "//third_party/libvpx", | 157 "//third_party/libvpx_new", |
158 "//third_party/opus", | 158 "//third_party/opus", |
159 ] | 159 ] |
160 sources -= [ | 160 sources -= [ |
161 "sender/external_video_encoder.cc", | 161 "sender/external_video_encoder.cc", |
162 "sender/external_video_encoder.h", | 162 "sender/external_video_encoder.h", |
163 "sender/video_encoder_impl.cc", | 163 "sender/video_encoder_impl.cc", |
164 "sender/video_encoder_impl.h", | 164 "sender/video_encoder_impl.h", |
165 "sender/vp8_encoder.cc", | 165 "sender/vp8_encoder.cc", |
166 "sender/vp8_encoder.h", | 166 "sender/vp8_encoder.h", |
167 ] | 167 ] |
(...skipping 26 matching lines...) Expand all Loading... |
194 "receiver/frame_receiver.h", | 194 "receiver/frame_receiver.h", |
195 "receiver/video_decoder.cc", | 195 "receiver/video_decoder.cc", |
196 "receiver/video_decoder.h", | 196 "receiver/video_decoder.h", |
197 ] | 197 ] |
198 | 198 |
199 deps = [ | 199 deps = [ |
200 ":common", | 200 ":common", |
201 ":net", | 201 ":net", |
202 "//media", | 202 "//media", |
203 "//media:shared_memory_support", | 203 "//media:shared_memory_support", |
204 "//third_party/libvpx", | 204 "//third_party/libvpx_new", |
205 "//third_party/opus", | 205 "//third_party/opus", |
206 "//ui/gfx", | 206 "//ui/gfx", |
207 ] | 207 ] |
208 | 208 |
209 # use a restricted subset of media and no software codecs on iOS | 209 # use a restricted subset of media and no software codecs on iOS |
210 if (is_ios) { | 210 if (is_ios) { |
211 deps += [ "//media:media_for_cast_ios" ] | 211 deps += [ "//media:media_for_cast_ios" ] |
212 deps -= [ | 212 deps -= [ |
213 "//media", | 213 "//media", |
214 "//third_party/libvpx", | 214 "//third_party/libvpx_new", |
215 "//third_party/opus", | 215 "//third_party/opus", |
216 ] | 216 ] |
217 } | 217 } |
218 } | 218 } |
219 | 219 |
220 static_library("test_support") { | 220 static_library("test_support") { |
221 testonly = true | 221 testonly = true |
222 sources = [ | 222 sources = [ |
223 # TODO(hclam): FFmpeg. | 223 # TODO(hclam): FFmpeg. |
224 # "test/fake_media_source.cc", | 224 # "test/fake_media_source.cc", |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 "test/utility/tap_proxy.cc", | 430 "test/utility/tap_proxy.cc", |
431 ] | 431 ] |
432 | 432 |
433 deps = [ | 433 deps = [ |
434 ":test_support", | 434 ":test_support", |
435 "//base", | 435 "//base", |
436 "//media", | 436 "//media", |
437 ] | 437 ] |
438 } | 438 } |
439 } | 439 } |
OLD | NEW |