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

Side by Side Diff: build/config/compiler/compiler.gni

Issue 1816683002: clang/win: Enable fastbuild=1 by default for now. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops Created 4 years, 9 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 | « build/common.gypi ('k') | 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 9
10 declare_args() { 10 declare_args() {
(...skipping 10 matching lines...) Expand all
21 enable_profiling = false 21 enable_profiling = false
22 } 22 }
23 23
24 # If it wasn't manually set, set to an appropriate default. 24 # If it wasn't manually set, set to an appropriate default.
25 assert(symbol_level >= -1 && symbol_level <= 2, "Invalid symbol_level") 25 assert(symbol_level >= -1 && symbol_level <= 2, "Invalid symbol_level")
26 if (symbol_level == -1) { 26 if (symbol_level == -1) {
27 if (is_android && use_order_profiling) { 27 if (is_android && use_order_profiling) {
28 # With instrumentation enabled, debug info puts libchrome.so over 4gb, which 28 # With instrumentation enabled, debug info puts libchrome.so over 4gb, which
29 # causes the linker to produce an invalid ELF. http://crbug.com/574476 29 # causes the linker to produce an invalid ELF. http://crbug.com/574476
30 symbol_level = 0 30 symbol_level = 0
31 } else if (is_win && is_clang) {
32 # TODO(thakis): Remove this again once building with clang/win and
33 # debug info doesn't make link.exe run for hours.
34 symbol_level = 1
31 } else if (!is_linux || is_debug || is_official_build || is_chromecast) { 35 } else if (!is_linux || is_debug || is_official_build || is_chromecast) {
32 # Linux is slowed by having symbols as part of the target binary, whereas 36 # Linux is slowed by having symbols as part of the target binary, whereas
33 # Mac and Windows have them separate, so in Release Linux, default them off, 37 # Mac and Windows have them separate, so in Release Linux, default them off,
34 # but keep them on for Official builds and Chromecast builds. 38 # but keep them on for Official builds and Chromecast builds.
35 symbol_level = 2 39 symbol_level = 2
36 } else if (using_sanitizer) { 40 } else if (using_sanitizer) {
37 # Sanitizers require symbols for filename suppressions to work. 41 # Sanitizers require symbols for filename suppressions to work.
38 symbol_level = 1 42 symbol_level = 1
39 } else { 43 } else {
40 symbol_level = 0 44 symbol_level = 0
41 } 45 }
42 } 46 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698