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 ":libstunprober", | 13 ":libstunprober", |
14 ":rtc_p2p", | 14 ":rtc_p2p", |
15 ] | 15 ] |
16 if (!build_with_chromium) { | |
17 # TODO(kjellander): Move this to examples or tools. | |
18 public_deps += [ ":stun_prober" ] | |
19 } | |
20 } | 16 } |
21 | 17 |
22 config("rtc_p2p_inherited_config") { | 18 config("rtc_p2p_inherited_config") { |
23 defines = [ "FEATURE_ENABLE_VOICEMAIL" ] | 19 defines = [ "FEATURE_ENABLE_VOICEMAIL" ] |
24 } | 20 } |
25 | 21 |
26 rtc_static_library("rtc_p2p") { | 22 rtc_static_library("rtc_p2p") { |
27 sources = [ | 23 sources = [ |
28 "base/asyncstuntcpsocket.cc", | 24 "base/asyncstuntcpsocket.cc", |
29 "base/asyncstuntcpsocket.h", | 25 "base/asyncstuntcpsocket.h", |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 # Suppress warnings from Chrome's Clang plugins. | 148 # Suppress warnings from Chrome's Clang plugins. |
153 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 149 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
154 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 150 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
155 } | 151 } |
156 | 152 |
157 deps = [ | 153 deps = [ |
158 "..:webrtc_common", | 154 "..:webrtc_common", |
159 "../base:rtc_base", | 155 "../base:rtc_base", |
160 ] | 156 ] |
161 } | 157 } |
162 | |
163 if (!build_with_chromium) { | |
164 # Doesn't build within Chrome on Win. | |
165 rtc_executable("stun_prober") { | |
166 sources = [ | |
167 "stunprober/main.cc", | |
168 ] | |
169 | |
170 if (!build_with_chromium && is_clang) { | |
171 # Suppress warnings from Chrome's Clang plugins. | |
172 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
173 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
174 } | |
175 | |
176 deps = [ | |
177 ":libstunprober", | |
178 ":rtc_p2p", | |
179 "../system_wrappers:field_trial_default", | |
180 ] | |
181 } | |
182 } | |
OLD | NEW |