| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 pipes | 5 import pipes |
| 6 | 6 |
| 7 from slave.recipe_config import config_item_context, ConfigGroup | 7 from slave.recipe_config import config_item_context, ConfigGroup |
| 8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf | 8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf |
| 9 from slave.recipe_config_types import Path | 9 from slave.recipe_config_types import Path |
| 10 | 10 |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 c.runtests.enable_lsan = True | 410 c.runtests.enable_lsan = True |
| 411 c.runtests.swarming_extra_args += ['--lsan=1'] | 411 c.runtests.swarming_extra_args += ['--lsan=1'] |
| 412 c.runtests.swarming_tags |= {'lsan:1'} | 412 c.runtests.swarming_tags |= {'lsan:1'} |
| 413 | 413 |
| 414 # TODO(infra,earthdok,glider): Make this a gyp variable. This is also not a | 414 # TODO(infra,earthdok,glider): Make this a gyp variable. This is also not a |
| 415 # good name as only v8 builds release symbolized with -O2 while | 415 # good name as only v8 builds release symbolized with -O2 while |
| 416 # chromium.lkgr uses -O1. | 416 # chromium.lkgr uses -O1. |
| 417 @config_ctx() | 417 @config_ctx() |
| 418 def asan_symbolized(c): | 418 def asan_symbolized(c): |
| 419 c.gyp_env.GYP_DEFINES['release_extra_cflags'] = ( | 419 c.gyp_env.GYP_DEFINES['release_extra_cflags'] = ( |
| 420 '-gline-tables-only -O2 -fno-inline-functions -fno-inline') | 420 '-fno-inline-functions -fno-inline') |
| 421 | 421 |
| 422 @config_ctx() | 422 @config_ctx() |
| 423 def sanitizer_coverage(c): | 423 def sanitizer_coverage(c): |
| 424 c.gyp_env.GYP_DEFINES['sanitizer_coverage'] = 3 | 424 c.gyp_env.GYP_DEFINES['sanitizer_coverage'] = 3 |
| 425 | 425 |
| 426 @config_ctx(deps=['compiler']) | 426 @config_ctx(deps=['compiler']) |
| 427 def msan(c): | 427 def msan(c): |
| 428 if 'clang' not in c.compile_py.compiler: # pragma: no cover | 428 if 'clang' not in c.compile_py.compiler: # pragma: no cover |
| 429 raise BadConf('msan requires clang') | 429 raise BadConf('msan requires clang') |
| 430 c.runtests.swarming_tags |= {'msan:1'} | 430 c.runtests.swarming_tags |= {'msan:1'} |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 c.compile_py.goma_dir = None | 778 c.compile_py.goma_dir = None |
| 779 c.gyp_env.GYP_DEFINES['use_goma'] = 0 | 779 c.gyp_env.GYP_DEFINES['use_goma'] = 0 |
| 780 | 780 |
| 781 @config_ctx() | 781 @config_ctx() |
| 782 def chromium_deterministic_build(c): | 782 def chromium_deterministic_build(c): |
| 783 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 | 783 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 |
| 784 | 784 |
| 785 @config_ctx(includes=['chromium_clang']) | 785 @config_ctx(includes=['chromium_clang']) |
| 786 def cast_linux(c): | 786 def cast_linux(c): |
| 787 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 787 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| OLD | NEW |