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("//remoting/remoting_srcs.gni") | 6 import("//remoting/remoting_srcs.gni") |
7 | 7 |
8 source_set("protocol") { | 8 source_set("protocol") { |
9 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources, | 9 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources, |
10 ".", | 10 ".", |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 if (enable_webrtc) { | 39 if (enable_webrtc) { |
40 deps += [ | 40 deps += [ |
41 # TODO(GYP): crbug.com/481633. We should probably not have to depend on | 41 # TODO(GYP): crbug.com/481633. We should probably not have to depend on |
42 # libjingle_webrtc; that should be pulled in automatically by | 42 # libjingle_webrtc; that should be pulled in automatically by |
43 # libpeerconnection instead. | 43 # libpeerconnection instead. |
44 "//third_party/libjingle:libjingle_webrtc", | 44 "//third_party/libjingle:libjingle_webrtc", |
45 "//third_party/libjingle:libpeerconnection", | 45 "//third_party/libjingle:libpeerconnection", |
46 ] | 46 ] |
47 } else { | 47 } else { |
48 sources -= [ "webrtc_transport.cc" ] | 48 sources -= [ |
| 49 "webrtc_transport.cc", |
| 50 "webrtc_video_capturer_adapter.cc", |
| 51 ] |
49 } | 52 } |
50 } | 53 } |
51 } | 54 } |
52 | 55 |
53 source_set("test_support") { | 56 source_set("test_support") { |
54 testonly = true | 57 testonly = true |
55 | 58 |
56 sources = [ | 59 sources = [ |
57 "fake_authenticator.cc", | 60 "fake_authenticator.cc", |
58 "fake_authenticator.h", | 61 "fake_authenticator.h", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "video_frame_pump_unittest.cc", | 116 "video_frame_pump_unittest.cc", |
114 "webrtc_transport_unittest.cc", | 117 "webrtc_transport_unittest.cc", |
115 ] | 118 ] |
116 | 119 |
117 deps = [ | 120 deps = [ |
118 ":test_support", | 121 ":test_support", |
119 "//testing/gmock", | 122 "//testing/gmock", |
120 "//testing/gtest", | 123 "//testing/gtest", |
121 ] | 124 ] |
122 } | 125 } |
OLD | NEW |