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

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

Issue 2300413002: GN Templates: Move common_config to the template. (Closed)
Patch Set: Add TODOs + tracking bugs. 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 | « webrtc/modules/video_processing/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
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 "../libjingle/xmllite", 88 "../libjingle/xmllite",
89 ] 89 ]
90 90
91 if (rtc_build_expat) { 91 if (rtc_build_expat) {
92 deps += [ "//third_party/expat" ] 92 deps += [ "//third_party/expat" ]
93 public_deps = [ 93 public_deps = [
94 "//third_party/expat", 94 "//third_party/expat",
95 ] 95 ]
96 } 96 }
97 97
98 configs += [ "..:common_config" ]
99 public_configs = [ 98 public_configs = [
100 "..:common_inherited_config", 99 "..:common_inherited_config",
101 ":rtc_p2p_inherited_config", 100 ":rtc_p2p_inherited_config",
102 ] 101 ]
103 102
104 if (build_with_chromium) { 103 if (build_with_chromium) {
105 if (is_nacl) { 104 if (is_nacl) {
106 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] 105 deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
107 } 106 }
108 } else { 107 } else {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 ] 162 ]
164 } 163 }
165 164
166 if (!build_with_chromium) { 165 if (!build_with_chromium) {
167 # Doesn't build within Chrome on Win. 166 # Doesn't build within Chrome on Win.
168 rtc_executable("stun_prober") { 167 rtc_executable("stun_prober") {
169 sources = [ 168 sources = [
170 "stunprober/main.cc", 169 "stunprober/main.cc",
171 ] 170 ]
172 171
173 configs += [ "..:common_config" ]
174 if (!build_with_chromium && is_clang) { 172 if (!build_with_chromium && is_clang) {
175 # Suppress warnings from Chrome's Clang plugins. 173 # Suppress warnings from Chrome's Clang plugins.
176 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 174 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
177 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 175 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
178 } 176 }
179 177
180 deps = [ 178 deps = [
181 ":libstunprober", 179 ":libstunprober",
182 ":rtc_p2p", 180 ":rtc_p2p",
183 "../system_wrappers:field_trial_default", 181 "../system_wrappers:field_trial_default",
184 ] 182 ]
185 } 183 }
186 } 184 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_processing/BUILD.gn ('k') | webrtc/pc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698