Index: build/config/compiler/compiler.gni |
diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni |
index d5db930dab419abdc41ceaf4e148f5a7239c759b..5dc77f51c3459299d9cf9c847d8b49714648a08d 100644 |
--- a/build/config/compiler/compiler.gni |
+++ b/build/config/compiler/compiler.gni |
@@ -18,8 +18,9 @@ declare_args() { |
assert(symbol_level >= -1 && symbol_level <= 2, "Invalid symbol_level") |
if (symbol_level == -1) { |
# Linux is slowed by having symbols as part of the target binary, whereas |
- # Mac and Windows have them separate, so in Release Linux, default them off. |
- if (is_debug || !is_linux) { |
+ # Mac and Windows have them separate, so in Release Linux, default them off, |
+ # but keep them on for Official builds. |
+ if (is_debug || !is_linux || is_official_build)) { |
brettw
2015/09/29 21:12:29
Theoretically this needs //build/config/chrome_bui
|
symbol_level = 2 |
} else if (is_asan || is_lsan || is_tsan || is_msan) { |
# Sanitizers require symbols for filename suppressions to work. |