Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: webrtc/p2p/BUILD.gn

Issue 1979933002: Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add externalhmac.{h,cc} files for Chromium build Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/pc/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2016 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 import("../build/webrtc.gni")
10
11 group("p2p") {
12 deps = [
13 ":rtc_p2p",
14 ]
15 }
16
17 config("rtc_p2p_inherited_config") {
18 defines = [ "FEATURE_ENABLE_VOICEMAIL" ]
19 }
20
21 source_set("rtc_p2p") {
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/dtlstransportchannel.cc",
30 "base/dtlstransportchannel.h",
31 "base/p2pconstants.cc",
32 "base/p2pconstants.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
87 defines = [ "FEATURE_ENABLE_SSL" ]
88
89 deps = [
90 "../base:rtc_base",
91 "../libjingle/xmllite",
92 ]
93
94 if (rtc_build_expat) {
95 deps += [ "//third_party/expat" ]
96 public_deps = [
97 "//third_party/expat",
98 ]
99 }
100
101 configs += [ "..:common_config" ]
102 public_configs = [
103 "..:common_inherited_config",
104 ":rtc_p2p_inherited_config",
105 ]
106
107 if (!build_with_chromium) {
108 defines += [
109 "FEATURE_ENABLE_VOICEMAIL",
110 "FEATURE_ENABLE_PSTN",
111 ]
112
113 if (is_clang) {
114 # Suppress warnings from Chrome's Clang plugins.
115 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
116 configs -= [ "//build/config/clang:find_bad_constructs" ]
117 }
118 }
119
120 if (rtc_use_quic) {
121 deps = [
122 "//third_party/libquic",
123 ]
124 sources += [
125 "quic/quicconnectionhelper.cc",
126 "quic/quicconnectionhelper.h",
127 "quic/quicsession.cc",
128 "quic/quicsession.h",
129 "quic/quictransport.cc",
130 "quic/quictransport.h",
131 "quic/quictransportchannel.cc",
132 "quic/quictransportchannel.h",
133 "quic/reliablequicstream.cc",
134 "quic/reliablequicstream.h",
135 ]
136 public_deps += [ "//third_party/libquic" ]
137 }
138 }
139
140 source_set("libstunprober") {
141 sources = [
142 "stunprober/stunprober.cc",
143 ]
144
145 if (!build_with_chromium && is_clang) {
146 # Suppress warnings from Chrome's Clang plugins.
147 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
148 configs -= [ "//build/config/clang:find_bad_constructs" ]
149 }
150
151 deps = [
152 "..:webrtc_common",
153 "../base:rtc_base",
154 ]
155 }
OLDNEW
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/pc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698