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

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

Issue 2303783002: Do not build stun_prober within Chrome on gn. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698