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 28 matching lines...) Expand all Loading... |
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 -= [ | 48 sources -= [ |
| 49 "webrtc_connection_to_client.cc", |
49 "webrtc_transport.cc", | 50 "webrtc_transport.cc", |
50 "webrtc_video_capturer_adapter.cc", | 51 "webrtc_video_capturer_adapter.cc", |
| 52 "webrtc_video_stream.cc", |
51 ] | 53 ] |
52 } | 54 } |
53 } | 55 } |
54 } | 56 } |
55 | 57 |
56 source_set("test_support") { | 58 source_set("test_support") { |
57 testonly = true | 59 testonly = true |
58 | 60 |
59 sources = [ | 61 sources = [ |
60 "fake_authenticator.cc", | 62 "fake_authenticator.cc", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 "negotiating_authenticator_unittest.cc", | 111 "negotiating_authenticator_unittest.cc", |
110 "pairing_registry_unittest.cc", | 112 "pairing_registry_unittest.cc", |
111 "port_range_unittest.cc", | 113 "port_range_unittest.cc", |
112 "ppapi_module_stub.cc", | 114 "ppapi_module_stub.cc", |
113 "pseudotcp_adapter_unittest.cc", | 115 "pseudotcp_adapter_unittest.cc", |
114 "session_config_unittest.cc", | 116 "session_config_unittest.cc", |
115 "ssl_hmac_channel_authenticator_unittest.cc", | 117 "ssl_hmac_channel_authenticator_unittest.cc", |
116 "third_party_authenticator_unittest.cc", | 118 "third_party_authenticator_unittest.cc", |
117 "v2_authenticator_unittest.cc", | 119 "v2_authenticator_unittest.cc", |
118 "video_frame_pump_unittest.cc", | 120 "video_frame_pump_unittest.cc", |
| 121 "webrtc_connection_to_client_unittest.cc", |
119 "webrtc_transport_unittest.cc", | 122 "webrtc_transport_unittest.cc", |
120 ] | 123 ] |
121 | 124 |
122 deps = [ | 125 deps = [ |
123 ":test_support", | 126 ":test_support", |
124 "//testing/gmock", | 127 "//testing/gmock", |
125 "//testing/gtest", | 128 "//testing/gtest", |
126 ] | 129 ] |
127 } | 130 } |
OLD | NEW |