OLD | NEW |
| (Empty) |
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 'sources': [ | |
20 'base/asyncstuntcpsocket.cc', | |
21 'base/asyncstuntcpsocket.h', | |
22 'base/basicpacketsocketfactory.cc', | |
23 'base/basicpacketsocketfactory.h', | |
24 'base/candidate.h', | |
25 'base/common.h', | |
26 'base/dtlstransport.h', | |
27 'base/dtlstransportchannel.cc', | |
28 'base/dtlstransportchannel.h', | |
29 'base/p2pconstants.cc', | |
30 'base/p2pconstants.h', | |
31 'base/p2ptransport.cc', | |
32 'base/p2ptransport.h', | |
33 'base/p2ptransportchannel.cc', | |
34 'base/p2ptransportchannel.h', | |
35 'base/packettransportinterface.h', | |
36 'base/packetsocketfactory.h', | |
37 'base/port.cc', | |
38 'base/port.h', | |
39 'base/portallocator.cc', | |
40 'base/portallocator.h', | |
41 'base/portinterface.h', | |
42 'base/pseudotcp.cc', | |
43 'base/pseudotcp.h', | |
44 'base/relayport.cc', | |
45 'base/relayport.h', | |
46 'base/session.cc', | |
47 'base/session.h', | |
48 'base/sessiondescription.cc', | |
49 'base/sessiondescription.h', | |
50 'base/stun.cc', | |
51 'base/stun.h', | |
52 'base/stunport.cc', | |
53 'base/stunport.h', | |
54 'base/stunrequest.cc', | |
55 'base/stunrequest.h', | |
56 'base/tcpport.cc', | |
57 'base/tcpport.h', | |
58 'base/transport.cc', | |
59 'base/transport.h', | |
60 'base/transportchannel.cc', | |
61 'base/transportchannel.h', | |
62 'base/transportchannelimpl.h', | |
63 'base/transportcontroller.cc', | |
64 'base/transportcontroller.h', | |
65 'base/transportdescription.cc', | |
66 'base/transportdescription.h', | |
67 'base/transportdescriptionfactory.cc', | |
68 'base/transportdescriptionfactory.h', | |
69 'base/transportinfo.h', | |
70 'base/turnport.cc', | |
71 'base/turnport.h', | |
72 'base/udpport.h', | |
73 'base/udptransportchannel.cc', | |
74 'base/udptransportchannel.h', | |
75 'client/basicportallocator.cc', | |
76 'client/basicportallocator.h', | |
77 'client/socketmonitor.cc', | |
78 'client/socketmonitor.h', | |
79 ], | |
80 'direct_dependent_settings': { | |
81 'defines': [ | |
82 'FEATURE_ENABLE_VOICEMAIL', | |
83 ], | |
84 }, | |
85 'conditions': [ | |
86 ['build_with_chromium==0', { | |
87 'sources': [ | |
88 'base/relayserver.cc', | |
89 'base/relayserver.h', | |
90 'base/stunserver.cc', | |
91 'base/stunserver.h', | |
92 'base/turnserver.cc', | |
93 'base/turnserver.h', | |
94 ], | |
95 'defines': [ | |
96 'FEATURE_ENABLE_VOICEMAIL', | |
97 'FEATURE_ENABLE_PSTN', | |
98 ], | |
99 }], | |
100 ['use_quic==1', { | |
101 'dependencies': [ | |
102 '<(DEPTH)/third_party/libquic/libquic.gyp:libquic', | |
103 ], | |
104 'sources': [ | |
105 'quic/quicconnectionhelper.cc', | |
106 'quic/quicconnectionhelper.h', | |
107 'quic/quicsession.cc', | |
108 'quic/quicsession.h', | |
109 'quic/quictransport.cc', | |
110 'quic/quictransport.h', | |
111 'quic/quictransportchannel.cc', | |
112 'quic/quictransportchannel.h', | |
113 'quic/reliablequicstream.cc', | |
114 'quic/reliablequicstream.h', | |
115 ], | |
116 'export_dependent_settings': [ | |
117 '<(DEPTH)/third_party/libquic/libquic.gyp:libquic', | |
118 ], | |
119 }], | |
120 ], | |
121 }, | |
122 { | |
123 'target_name': 'libstunprober', | |
124 'type': 'static_library', | |
125 'dependencies': [ | |
126 '<(webrtc_root)/base/base.gyp:rtc_base', | |
127 '<(webrtc_root)/common.gyp:webrtc_common', | |
128 ], | |
129 'sources': [ | |
130 'stunprober/stunprober.cc', | |
131 ], | |
132 }, | |
133 ], # targets | |
134 } | |
135 | |
OLD | NEW |