• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS.  All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9{
10  'includes': [ '../build/common.gypi', ],
11  'targets': [
12    {
13      'target_name': 'rtc_p2p',
14      'type': 'static_library',
15      'dependencies': [
16        '<(webrtc_root)/base/base.gyp:rtc_base',
17        '<(webrtc_root)/common.gyp:webrtc_common',
18      ],
19      'cflags_cc!': [
20        '-Wnon-virtual-dtor',
21      ],
22      'sources': [
23        'base/asyncstuntcpsocket.cc',
24        'base/asyncstuntcpsocket.h',
25        'base/basicpacketsocketfactory.cc',
26        'base/basicpacketsocketfactory.h',
27        'base/candidate.h',
28        'base/common.h',
29        'base/constants.cc',
30        'base/constants.h',
31        'base/dtlstransportchannel.cc',
32        'base/dtlstransportchannel.h',
33        'base/p2ptransport.cc',
34        'base/p2ptransport.h',
35        'base/p2ptransportchannel.cc',
36        'base/p2ptransportchannel.h',
37        'base/packetsocketfactory.h',
38        'base/port.cc',
39        'base/port.h',
40        'base/portallocator.cc',
41        'base/portallocator.h',
42        'base/portinterface.h',
43        'base/pseudotcp.cc',
44        'base/pseudotcp.h',
45        'base/relayport.cc',
46        'base/relayport.h',
47        'base/relayserver.cc',
48        'base/relayserver.h',
49        'base/sessiondescription.cc',
50        'base/sessiondescription.h',
51        'base/sessionid.h',
52        'base/stun.cc',
53        'base/stun.h',
54        'base/stunport.cc',
55        'base/stunport.h',
56        'base/stunrequest.cc',
57        'base/stunrequest.h',
58        'base/stunserver.cc',
59        'base/stunserver.h',
60        'base/tcpport.cc',
61        'base/tcpport.h',
62        'base/transport.cc',
63        'base/transport.h',
64        'base/transportchannel.cc',
65        'base/transportchannel.h',
66        'base/transportchannelimpl.h',
67        'base/transportcontroller.cc',
68        'base/transportcontroller.h',
69        'base/transportdescription.cc',
70        'base/transportdescription.h',
71        'base/transportdescriptionfactory.cc',
72        'base/transportdescriptionfactory.h',
73        'base/transportinfo.h',
74        'base/turnport.cc',
75        'base/turnport.h',
76        'base/turnserver.cc',
77        'base/turnserver.h',
78        'base/udpport.h',
79        'client/basicportallocator.cc',
80        'client/basicportallocator.h',
81        'client/httpportallocator.cc',
82        'client/httpportallocator.h',
83        'client/socketmonitor.cc',
84        'client/socketmonitor.h',
85      ],
86      'direct_dependent_settings': {
87        'cflags_cc!': [
88          '-Wnon-virtual-dtor',
89        ],
90        'defines': [
91          'FEATURE_ENABLE_VOICEMAIL',
92        ],
93      },
94      'conditions': [
95        ['build_with_chromium==0', {
96          'defines': [
97            'FEATURE_ENABLE_VOICEMAIL',
98            'FEATURE_ENABLE_PSTN',
99          ],
100        }],
101      ],
102    },
103    {
104      'target_name': 'libstunprober',
105      'type': 'static_library',
106      'dependencies': [
107        '<(webrtc_root)/base/base.gyp:rtc_base',
108        '<(webrtc_root)/common.gyp:webrtc_common',
109      ],
110      'cflags_cc!': [
111        '-Wnon-virtual-dtor',
112      ],
113      'sources': [
114        'stunprober/stunprober.cc',
115      ],
116    },
117    {
118      'target_name': 'stun_prober',
119      'type': 'executable',
120      'dependencies': [
121        'libstunprober',
122        'rtc_p2p'
123      ],
124      'cflags_cc!': [
125        '-Wnon-virtual-dtor',
126      ],
127      'sources': [
128        'stunprober/main.cc',
129      ],
130    }],
131}
132
133