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 |
11 group("p2p") { | 11 group("p2p") { |
12 public_deps = [ | 12 public_deps = [ |
13 ":libstunprober", | 13 ":libstunprober", |
14 ":rtc_p2p", | 14 ":rtc_p2p", |
15 ] | 15 ] |
16 } | 16 } |
17 | 17 |
18 config("rtc_p2p_inherited_config") { | 18 config("rtc_p2p_inherited_config") { |
19 defines = [ "FEATURE_ENABLE_VOICEMAIL" ] | 19 defines = [ "FEATURE_ENABLE_VOICEMAIL" ] |
20 } | 20 } |
21 | 21 |
22 rtc_static_library("rtc_p2p") { | 22 rtc_static_library("rtc_p2p") { |
23 sources = [ | 23 sources = [ |
24 "base/asyncstuntcpsocket.cc", | 24 "base/asyncstuntcpsocket.cc", |
25 "base/asyncstuntcpsocket.h", | 25 "base/asyncstuntcpsocket.h", |
26 "base/basicpacketsocketfactory.cc", | 26 "base/basicpacketsocketfactory.cc", |
27 "base/basicpacketsocketfactory.h", | 27 "base/basicpacketsocketfactory.h", |
28 "base/candidate.h", | 28 "base/candidate.h", |
29 "base/common.h", | 29 "base/common.h", |
30 "base/dtlstransportchannel.cc", | 30 "base/dtlstransport.cc", |
31 "base/dtlstransportchannel.h", | 31 "base/dtlstransport.h", |
32 "base/dtlstransportinternal.h", | 32 "base/dtlstransportinternal.h", |
33 "base/icetransportinternal.h", | 33 "base/icetransportinternal.h", |
34 "base/jseptransport.cc", | 34 "base/jseptransport.cc", |
35 "base/jseptransport.h", | 35 "base/jseptransport.h", |
36 "base/p2pconstants.cc", | 36 "base/p2pconstants.cc", |
37 "base/p2pconstants.h", | 37 "base/p2pconstants.h", |
38 "base/p2ptransportchannel.cc", | 38 "base/p2ptransportchannel.cc", |
39 "base/p2ptransportchannel.h", | 39 "base/p2ptransportchannel.h", |
40 "base/packetlossestimator.cc", | 40 "base/packetlossestimator.cc", |
41 "base/packetlossestimator.h", | 41 "base/packetlossestimator.h", |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 testonly = true | 167 testonly = true |
168 | 168 |
169 # Skip restricting visibility on mobile platforms since the tests on those | 169 # Skip restricting visibility on mobile platforms since the tests on those |
170 # gets additional generated targets which would require many lines here to | 170 # gets additional generated targets which would require many lines here to |
171 # cover (which would be confusing to read and hard to maintain). | 171 # cover (which would be confusing to read and hard to maintain). |
172 if (!is_android && !is_ios) { | 172 if (!is_android && !is_ios) { |
173 visibility = [ "..:rtc_unittests" ] | 173 visibility = [ "..:rtc_unittests" ] |
174 } | 174 } |
175 sources = [ | 175 sources = [ |
176 "base/asyncstuntcpsocket_unittest.cc", | 176 "base/asyncstuntcpsocket_unittest.cc", |
177 "base/dtlstransportchannel_unittest.cc", | 177 "base/dtlstransport_unittest.cc", |
178 "base/jseptransport_unittest.cc", | 178 "base/jseptransport_unittest.cc", |
179 "base/p2ptransportchannel_unittest.cc", | 179 "base/p2ptransportchannel_unittest.cc", |
180 "base/packetlossestimator_unittest.cc", | 180 "base/packetlossestimator_unittest.cc", |
181 "base/port_unittest.cc", | 181 "base/port_unittest.cc", |
182 "base/portallocator_unittest.cc", | 182 "base/portallocator_unittest.cc", |
183 "base/pseudotcp_unittest.cc", | 183 "base/pseudotcp_unittest.cc", |
184 "base/relayport_unittest.cc", | 184 "base/relayport_unittest.cc", |
185 "base/relayserver_unittest.cc", | 185 "base/relayserver_unittest.cc", |
186 "base/stun_unittest.cc", | 186 "base/stun_unittest.cc", |
187 "base/stunport_unittest.cc", | 187 "base/stunport_unittest.cc", |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 "//testing/gmock", | 264 "//testing/gmock", |
265 "//testing/gtest", | 265 "//testing/gtest", |
266 ] | 266 ] |
267 if (!build_with_chromium && is_clang) { | 267 if (!build_with_chromium && is_clang) { |
268 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 268 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
269 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 269 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
270 } | 270 } |
271 defines = [ "GTEST_RELATIVE_PATH" ] | 271 defines = [ "GTEST_RELATIVE_PATH" ] |
272 } | 272 } |
273 } | 273 } |
OLD | NEW |