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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 sources -= [ | 156 sources -= [ |
157 "sender/external_video_encoder.cc", | 157 "sender/external_video_encoder.cc", |
158 "sender/external_video_encoder.h", | 158 "sender/external_video_encoder.h", |
159 "sender/video_encoder_impl.cc", | 159 "sender/video_encoder_impl.cc", |
160 "sender/video_encoder_impl.h", | 160 "sender/video_encoder_impl.h", |
161 "sender/vp8_encoder.cc", | 161 "sender/vp8_encoder.cc", |
162 "sender/vp8_encoder.h", | 162 "sender/vp8_encoder.h", |
163 ] | 163 ] |
164 } | 164 } |
165 | 165 |
166 libs = [] | |
167 | |
168 # iOS and OS X encoders | 166 # iOS and OS X encoders |
169 if (is_ios || is_mac) { | 167 if (is_ios || is_mac) { |
170 sources += [ | 168 sources += [ |
171 "sender/h264_vt_encoder.cc", | 169 "sender/h264_vt_encoder.cc", |
172 "sender/h264_vt_encoder.h", | 170 "sender/h264_vt_encoder.h", |
173 ] | 171 ] |
174 | |
175 libs += [ | |
176 "CoreVideo.framework", | |
177 ] | |
178 } | |
179 | |
180 if (is_mac) { | |
181 # Required by audio_encoder.cc. | |
182 libs += [ | |
183 "AudioToolbox.framework", | |
184 ] | |
185 } | 172 } |
186 } | 173 } |
187 | 174 |
188 source_set("receiver") { | 175 source_set("receiver") { |
189 sources = [ | 176 sources = [ |
190 "cast_receiver.h", | 177 "cast_receiver.h", |
191 "receiver/audio_decoder.cc", | 178 "receiver/audio_decoder.cc", |
192 "receiver/audio_decoder.h", | 179 "receiver/audio_decoder.h", |
193 "receiver/cast_receiver_impl.cc", | 180 "receiver/cast_receiver_impl.cc", |
194 "receiver/cast_receiver_impl.h", | 181 "receiver/cast_receiver_impl.h", |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 "test/utility/tap_proxy.cc", | 405 "test/utility/tap_proxy.cc", |
419 ] | 406 ] |
420 | 407 |
421 deps = [ | 408 deps = [ |
422 ":test_support", | 409 ":test_support", |
423 "//base", | 410 "//base", |
424 "//media", | 411 "//media", |
425 ] | 412 ] |
426 } | 413 } |
427 } | 414 } |
OLD | NEW |