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("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
10 | 10 |
11 group("p2p") { | 11 group("p2p") { |
12 public_deps = [ | 12 public_deps = [ |
13 ":rtc_p2p", | 13 ":rtc_p2p", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 config("rtc_p2p_inherited_config") { | 17 config("rtc_p2p_inherited_config") { |
18 defines = [ "FEATURE_ENABLE_VOICEMAIL" ] | 18 defines = [ "FEATURE_ENABLE_VOICEMAIL" ] |
19 } | 19 } |
20 | 20 |
21 rtc_source_set("rtc_p2p") { | 21 rtc_static_library("rtc_p2p") { |
22 sources = [ | 22 sources = [ |
23 "base/asyncstuntcpsocket.cc", | 23 "base/asyncstuntcpsocket.cc", |
24 "base/asyncstuntcpsocket.h", | 24 "base/asyncstuntcpsocket.h", |
25 "base/basicpacketsocketfactory.cc", | 25 "base/basicpacketsocketfactory.cc", |
26 "base/basicpacketsocketfactory.h", | 26 "base/basicpacketsocketfactory.h", |
27 "base/candidate.h", | 27 "base/candidate.h", |
28 "base/common.h", | 28 "base/common.h", |
29 "base/dtlstransport.h", | 29 "base/dtlstransport.h", |
30 "base/dtlstransportchannel.cc", | 30 "base/dtlstransportchannel.cc", |
31 "base/dtlstransportchannel.h", | 31 "base/dtlstransportchannel.h", |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 "quic/quictransport.h", | 135 "quic/quictransport.h", |
136 "quic/quictransportchannel.cc", | 136 "quic/quictransportchannel.cc", |
137 "quic/quictransportchannel.h", | 137 "quic/quictransportchannel.h", |
138 "quic/reliablequicstream.cc", | 138 "quic/reliablequicstream.cc", |
139 "quic/reliablequicstream.h", | 139 "quic/reliablequicstream.h", |
140 ] | 140 ] |
141 public_deps += [ "//third_party/libquic" ] | 141 public_deps += [ "//third_party/libquic" ] |
142 } | 142 } |
143 } | 143 } |
144 | 144 |
145 rtc_source_set("libstunprober") { | 145 rtc_static_library("libstunprober") { |
146 sources = [ | 146 sources = [ |
147 "stunprober/stunprober.cc", | 147 "stunprober/stunprober.cc", |
148 ] | 148 ] |
149 | 149 |
150 if (!build_with_chromium && is_clang) { | 150 if (!build_with_chromium && is_clang) { |
151 # Suppress warnings from Chrome's Clang plugins. | 151 # Suppress warnings from Chrome's Clang plugins. |
152 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 152 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
153 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 153 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
154 } | 154 } |
155 | 155 |
(...skipping 16 matching lines...) Expand all Loading... |
172 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 172 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
173 } | 173 } |
174 | 174 |
175 deps = [ | 175 deps = [ |
176 ":libstunprober", | 176 ":libstunprober", |
177 ":rtc_p2p", | 177 ":rtc_p2p", |
178 "../system_wrappers:field_trial_default", | 178 "../system_wrappers:field_trial_default", |
179 ] | 179 ] |
180 } | 180 } |
181 } | 181 } |
OLD | NEW |