Chrome will only see stunprober.h and stunprobercontext.h and link with libstunprober.a. It has support for shared and non-shared mode. In shared mode, a socket will be used to ping all resolved IPs once. In non-shared mode, each ping will get a new socket. The thread scheduling will try to run MaybeScheduleStunRequest every 1 ms. When the time is up for next ping, it'll send it out. BUG=4576 R=pthatcher@webrtc.org Review URL: https://webrtc-codereview.appspot.com/51729004 Cr-Commit-Position: refs/heads/master@{#9194}
44 lines
1.5 KiB
Python
44 lines
1.5 KiB
Python
# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
{
|
|
'includes': [ '../build/common.gypi', ],
|
|
'targets': [
|
|
{
|
|
'target_name': 'rtc_p2p_unittest',
|
|
'type': 'none',
|
|
'direct_dependent_settings': {
|
|
'sources': [
|
|
'base/dtlstransportchannel_unittest.cc',
|
|
'base/fakesession.h',
|
|
'base/p2ptransportchannel_unittest.cc',
|
|
'base/port_unittest.cc',
|
|
'base/pseudotcp_unittest.cc',
|
|
'base/relayport_unittest.cc',
|
|
'base/relayserver_unittest.cc',
|
|
'base/stun_unittest.cc',
|
|
'base/stunport_unittest.cc',
|
|
'base/stunrequest_unittest.cc',
|
|
'base/stunserver_unittest.cc',
|
|
'base/testrelayserver.h',
|
|
'base/teststunserver.h',
|
|
'base/testturnserver.h',
|
|
'base/transport_unittest.cc',
|
|
'base/transportdescriptionfactory_unittest.cc',
|
|
'base/turnport_unittest.cc',
|
|
'client/connectivitychecker_unittest.cc',
|
|
'client/fakeportallocator.h',
|
|
'client/portallocator_unittest.cc',
|
|
'stunprober/stunprober_unittest.cc',
|
|
],
|
|
},
|
|
},
|
|
],
|
|
}
|
|
|