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