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

Side by Side Diff: webrtc/build/webrtc.gni

Issue 2334593002: GN: Revert to default compiler optimizations for Win Release. (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) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 # normally shouldn't need to include this in your target as it's automatically 183 # normally shouldn't need to include this in your target as it's automatically
184 # included when using the rtc_* templates. It set the defines, include paths and 184 # included when using the rtc_* templates. It set the defines, include paths and
185 # compilation warnings that should be propagated to dependents of the targets 185 # compilation warnings that should be propagated to dependents of the targets
186 # depending on the target having this config. 186 # depending on the target having this config.
187 rtc_common_inherited_config = webrtc_root + ":common_inherited_config" 187 rtc_common_inherited_config = webrtc_root + ":common_inherited_config"
188 188
189 # Common configs to remove or add in all rtc targets. 189 # Common configs to remove or add in all rtc targets.
190 rtc_remove_configs = [] 190 rtc_remove_configs = []
191 rtc_add_configs = [ rtc_common_config ] 191 rtc_add_configs = [ rtc_common_config ]
192 192
193 if (!is_debug && is_win) {
194 rtc_remove_configs += [ "//build/config/compiler:default_optimization" ]
195 rtc_add_configs += [ "//build/config/compiler:optimize_max" ]
196 }
197
198 set_defaults("rtc_test") { 193 set_defaults("rtc_test") {
199 configs = rtc_add_configs 194 configs = rtc_add_configs
200 suppressed_configs = [] 195 suppressed_configs = []
201 } 196 }
202 197
203 set_defaults("rtc_source_set") { 198 set_defaults("rtc_source_set") {
204 configs = rtc_add_configs 199 configs = rtc_add_configs
205 suppressed_configs = [] 200 suppressed_configs = []
206 } 201 }
207 202
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 ]) 307 ])
313 configs += invoker.configs 308 configs += invoker.configs
314 configs -= rtc_remove_configs 309 configs -= rtc_remove_configs
315 configs -= invoker.suppressed_configs 310 configs -= invoker.suppressed_configs
316 public_configs = [ rtc_common_inherited_config ] 311 public_configs = [ rtc_common_inherited_config ]
317 if (defined(invoker.public_configs)) { 312 if (defined(invoker.public_configs)) {
318 public_configs += invoker.public_configs 313 public_configs += invoker.public_configs
319 } 314 }
320 } 315 }
321 } 316 }
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