File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,14 @@ if (symbol_level == -1) {
211
211
# Use lower symbol level in Simple Chrome build for faster link time.
212
212
# For Simple Chrome, this should take precedence over is_official_build,
213
213
# turned on by --internal.
214
- symbol_level = 1
214
+ if ((target_cpu == " x64" || target_cpu == " x86" ) && ! is_debug ) {
215
+ # For release x86/x64 build, specify symbol_level=0 for faster link time.
216
+ # x86/x64 shows backtraces with symbol_level=0 (arm requires
217
+ # symbol_level=1).
218
+ symbol_level = 0
219
+ } else {
220
+ symbol_level = 1
221
+ }
215
222
} else if ((! is_nacl && ! is_linux && ! is_fuchsia ) || is_debug ||
216
223
is_official_build || is_chromecast ) {
217
224
# Linux builds slower by having symbols as part of the target binary,
You can’t perform that action at this time.
0 commit comments