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 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 156 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
157 configs -= [ "//build/config/clang:find_bad_constructs" ] | 157 configs -= [ "//build/config/clang:find_bad_constructs" ] |
158 } | 158 } |
159 | 159 |
160 deps = [ | 160 deps = [ |
161 "..:webrtc_common", | 161 "..:webrtc_common", |
162 "../base:rtc_base", | 162 "../base:rtc_base", |
163 ] | 163 ] |
164 } | 164 } |
165 | 165 |
166 executable("stun_prober") { | 166 if (!build_with_chromium) { |
167 sources = [ | 167 # Doesn't build within Chrome on Win. |
168 "stunprober/main.cc", | |
169 ] | |
170 | 168 |
171 configs += [ "..:common_config" ] | 169 executable("stun_prober") { |
172 if (!build_with_chromium && is_clang) { | 170 sources = [ |
173 # Suppress warnings from Chrome's Clang plugins. | 171 "stunprober/main.cc", |
174 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 172 ] |
175 configs -= [ "//build/config/clang:find_bad_constructs" ] | 173 |
| 174 configs += [ "..:common_config" ] |
| 175 if (!build_with_chromium && is_clang) { |
| 176 # Suppress warnings from Chrome's Clang plugins. |
| 177 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 178 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 179 } |
| 180 |
| 181 deps = [ |
| 182 ":libstunprober", |
| 183 ":rtc_p2p", |
| 184 "../system_wrappers:field_trial_default", |
| 185 ] |
176 } | 186 } |
177 | |
178 deps = [ | |
179 ":libstunprober", | |
180 ":rtc_p2p", | |
181 "../system_wrappers:field_trial_default", | |
182 ] | |
183 } | 187 } |
OLD | NEW |