OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../webrtc.gni") | 9 import("../webrtc.gni") |
10 | 10 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 "base/udptransport.h", | 78 "base/udptransport.h", |
79 "client/basicportallocator.cc", | 79 "client/basicportallocator.cc", |
80 "client/basicportallocator.h", | 80 "client/basicportallocator.h", |
81 "client/socketmonitor.cc", | 81 "client/socketmonitor.cc", |
82 "client/socketmonitor.h", | 82 "client/socketmonitor.h", |
83 ] | 83 ] |
84 | 84 |
85 defines = [] | 85 defines = [] |
86 | 86 |
87 deps = [ | 87 deps = [ |
| 88 "../api:libjingle_peerconnection_api", |
| 89 "../api:ortc_api", |
88 "../base:rtc_base", | 90 "../base:rtc_base", |
| 91 "../system_wrappers:field_trial_api", |
89 ] | 92 ] |
90 | 93 |
91 if (rtc_build_expat) { | 94 if (rtc_build_expat) { |
92 deps += [ "//third_party/expat" ] | 95 deps += [ "//third_party/expat" ] |
93 public_deps = [ | 96 public_deps = [ |
94 "//third_party/expat", | 97 "//third_party/expat", |
95 ] | 98 ] |
96 } | 99 } |
97 | 100 |
98 public_configs = [ ":rtc_p2p_inherited_config" ] | 101 public_configs = [ ":rtc_p2p_inherited_config" ] |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 "quic/reliablequicstream.h", | 141 "quic/reliablequicstream.h", |
139 ] | 142 ] |
140 public_deps += [ "//third_party/libquic" ] | 143 public_deps += [ "//third_party/libquic" ] |
141 } | 144 } |
142 } | 145 } |
143 | 146 |
144 if (rtc_include_tests) { | 147 if (rtc_include_tests) { |
145 rtc_source_set("p2p_test_utils") { | 148 rtc_source_set("p2p_test_utils") { |
146 testonly = true | 149 testonly = true |
147 sources = [ | 150 sources = [ |
| 151 "base/fakecandidatepair.h", |
148 "base/fakedtlstransport.h", | 152 "base/fakedtlstransport.h", |
149 "base/fakeicetransport.h", | 153 "base/fakeicetransport.h", |
150 "base/fakepackettransport.h", | 154 "base/fakepackettransport.h", |
151 "base/fakeportallocator.h", | 155 "base/fakeportallocator.h", |
152 "base/faketransportcontroller.h", | 156 "base/faketransportcontroller.h", |
153 "base/mockicetransport.h", | 157 "base/mockicetransport.h", |
154 "base/testrelayserver.h", | 158 "base/testrelayserver.h", |
155 "base/teststunserver.h", | 159 "base/teststunserver.h", |
156 "base/testturnserver.h", | 160 "base/testturnserver.h", |
157 ] | 161 ] |
158 | |
159 deps = [ | 162 deps = [ |
160 ":rtc_p2p", | 163 ":rtc_p2p", |
| 164 "../api:ortc_api", |
| 165 "../base:rtc_base", |
| 166 "../base:rtc_base_approved", |
| 167 "../base:rtc_base_tests_utils", |
| 168 "../test:test_support", |
161 "//testing/gmock", | 169 "//testing/gmock", |
162 ] | 170 ] |
163 | |
164 if (!build_with_chromium && is_clang) { | |
165 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | |
166 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
167 } | |
168 } | 171 } |
169 | 172 |
170 rtc_source_set("rtc_p2p_unittests") { | 173 rtc_source_set("rtc_p2p_unittests") { |
171 testonly = true | 174 testonly = true |
172 sources = [ | 175 sources = [ |
173 "base/asyncstuntcpsocket_unittest.cc", | 176 "base/asyncstuntcpsocket_unittest.cc", |
174 "base/dtlstransportchannel_unittest.cc", | 177 "base/dtlstransportchannel_unittest.cc", |
175 "base/jseptransport_unittest.cc", | 178 "base/jseptransport_unittest.cc", |
176 "base/p2ptransportchannel_unittest.cc", | 179 "base/p2ptransportchannel_unittest.cc", |
177 "base/packetlossestimator_unittest.cc", | 180 "base/packetlossestimator_unittest.cc", |
(...skipping 20 matching lines...) Expand all Loading... |
198 "quic/quicsession_unittest.cc", | 201 "quic/quicsession_unittest.cc", |
199 "quic/quictransport_unittest.cc", | 202 "quic/quictransport_unittest.cc", |
200 "quic/quictransportchannel_unittest.cc", | 203 "quic/quictransportchannel_unittest.cc", |
201 "quic/reliablequicstream_unittest.cc", | 204 "quic/reliablequicstream_unittest.cc", |
202 ] | 205 ] |
203 } | 206 } |
204 deps = [ | 207 deps = [ |
205 ":p2p_test_utils", | 208 ":p2p_test_utils", |
206 ":rtc_p2p", | 209 ":rtc_p2p", |
207 "../api:fakemetricsobserver", | 210 "../api:fakemetricsobserver", |
| 211 "../api:ortc_api", |
| 212 "../base:rtc_base", |
| 213 "../base:rtc_base_approved", |
| 214 "../base:rtc_base_tests_utils", |
| 215 "../test:test_support", |
208 "//testing/gmock", | 216 "//testing/gmock", |
209 "//testing/gtest", | 217 "//testing/gtest", |
210 ] | 218 ] |
211 if (!build_with_chromium && is_clang) { | 219 if (!build_with_chromium && is_clang) { |
212 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 220 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
213 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 221 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
214 } | 222 } |
215 defines = [ "GTEST_RELATIVE_PATH" ] | 223 defines = [ "GTEST_RELATIVE_PATH" ] |
216 } | 224 } |
217 } | 225 } |
218 | 226 |
219 rtc_static_library("libstunprober") { | 227 rtc_static_library("libstunprober") { |
220 sources = [ | 228 sources = [ |
221 "stunprober/stunprober.cc", | 229 "stunprober/stunprober.cc", |
222 ] | 230 ] |
223 | 231 |
224 if (!build_with_chromium && is_clang) { | 232 if (!build_with_chromium && is_clang) { |
225 # Suppress warnings from Chrome's Clang plugins. | 233 # Suppress warnings from Chrome's Clang plugins. |
226 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 234 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 235 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
228 } | 236 } |
229 | 237 |
230 deps = [ | 238 deps = [ |
| 239 ":rtc_p2p", |
231 "..:webrtc_common", | 240 "..:webrtc_common", |
232 "../base:rtc_base", | 241 "../base:rtc_base", |
233 ] | 242 ] |
234 } | 243 } |
235 | 244 |
236 if (rtc_include_tests) { | 245 if (rtc_include_tests) { |
237 rtc_source_set("libstunprober_unittests") { | 246 rtc_source_set("libstunprober_unittests") { |
238 testonly = true | 247 testonly = true |
239 sources = [ | 248 sources = [ |
240 "stunprober/stunprober_unittest.cc", | 249 "stunprober/stunprober_unittest.cc", |
241 ] | 250 ] |
242 deps = [ | 251 deps = [ |
243 ":libstunprober", | 252 ":libstunprober", |
| 253 ":p2p_test_utils", |
| 254 ":rtc_p2p", |
| 255 "../base:rtc_base", |
| 256 "../base:rtc_base_tests_utils", |
244 "//testing/gmock", | 257 "//testing/gmock", |
245 "//testing/gtest", | 258 "//testing/gtest", |
246 ] | 259 ] |
247 if (!build_with_chromium && is_clang) { | 260 if (!build_with_chromium && is_clang) { |
248 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 261 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
249 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 262 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
250 } | 263 } |
251 defines = [ "GTEST_RELATIVE_PATH" ] | 264 defines = [ "GTEST_RELATIVE_PATH" ] |
252 } | 265 } |
253 } | 266 } |
OLD | NEW |