Index: scripts/slave/recipe_modules/chromium/config.py |
diff --git a/scripts/slave/recipe_modules/chromium/config.py b/scripts/slave/recipe_modules/chromium/config.py |
index 378841bfba43efb53f55c9d323365be7b391c4cc..9a8e5bfcf14b0bf2430e5d29821c0384bce0bd31 100644 |
--- a/scripts/slave/recipe_modules/chromium/config.py |
+++ b/scripts/slave/recipe_modules/chromium/config.py |
@@ -487,6 +487,7 @@ def _memory_tool(c, tool): |
def trybot_flavor(c): |
fastbuild(c, optional=True) |
dcheck(c, optional=True) |
+ linux_dump_symbols(c) |
@config_ctx() |
def gn_component_build(c): |
@@ -750,6 +751,11 @@ def chromium_pgo_optimize(c): |
c.gyp_env.GYP_DEFINES['chrome_pgo_phase'] = 2 |
@config_ctx() |
+def linux_dump_symbols(c): |
+ if c.TARGET_PLATFORM == 'linux': |
+ c.gyp_env.GYP_DEFINES['linux_dump_symbols'] = 1 |
+ |
+@config_ctx() |
def v8_optimize_medium(c): |
c.gyp_env.GYP_DEFINES['v8_optimized_debug'] = 1 |
c.gyp_env.GYP_DEFINES['v8_enable_slow_dchecks'] = 1 |