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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
7 | 7 |
8 static_library("protocol") { | 8 static_library("protocol") { |
9 sources = [ | 9 sources = [ |
10 "audio_decode_scheduler.cc", | 10 "audio_decode_scheduler.cc", |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 "webrtc_transport.h", | 235 "webrtc_transport.h", |
236 "webrtc_video_renderer_adapter.cc", | 236 "webrtc_video_renderer_adapter.cc", |
237 "webrtc_video_renderer_adapter.h", | 237 "webrtc_video_renderer_adapter.h", |
238 "webrtc_video_stream.cc", | 238 "webrtc_video_stream.cc", |
239 "webrtc_video_stream.h", | 239 "webrtc_video_stream.h", |
240 ] | 240 ] |
241 | 241 |
242 if (enable_webrtc) { | 242 if (enable_webrtc) { |
243 deps += [ | 243 deps += [ |
244 "//third_party/libjingle/webrtc:libjingle_webrtc", | 244 "//third_party/libjingle/webrtc:libjingle_webrtc", |
245 "//third_party/webrtc/libjingle/xmllite", | 245 "//third_party/libjingle_xmpp/xmllite", |
246 "//third_party/webrtc/libjingle/xmpp", | 246 "//third_party/libjingle_xmpp/xmpp", |
247 ] | 247 ] |
248 } else { | 248 } else { |
249 sources -= [ | 249 sources -= [ |
250 "webrtc_connection_to_client.cc", | 250 "webrtc_connection_to_client.cc", |
251 "webrtc_transport.cc", | 251 "webrtc_transport.cc", |
252 "webrtc_video_stream.cc", | 252 "webrtc_video_stream.cc", |
253 ] | 253 ] |
254 } | 254 } |
255 } | 255 } |
256 } | 256 } |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 "webrtc_transport_unittest.cc", | 334 "webrtc_transport_unittest.cc", |
335 ] | 335 ] |
336 | 336 |
337 deps = [ | 337 deps = [ |
338 ":test_support", | 338 ":test_support", |
339 "//net:test_support", | 339 "//net:test_support", |
340 "//testing/gmock", | 340 "//testing/gmock", |
341 "//testing/gtest", | 341 "//testing/gtest", |
342 ] | 342 ] |
343 } | 343 } |
OLD | NEW |