| 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 | 404 |
| 405 # TODO(infra,earthdok,glider): Make this a gyp variable. This is also not a | 405 # TODO(infra,earthdok,glider): Make this a gyp variable. This is also not a |
| 406 # good name as only v8 builds release symbolized with -O2 while | 406 # good name as only v8 builds release symbolized with -O2 while |
| 407 # chromium.lkgr uses -O1. | 407 # chromium.lkgr uses -O1. |
| 408 @config_ctx() | 408 @config_ctx() |
| 409 def asan_symbolized(c): | 409 def asan_symbolized(c): |
| 410 c.gyp_env.GYP_DEFINES['release_extra_cflags'] = ( | 410 c.gyp_env.GYP_DEFINES['release_extra_cflags'] = ( |
| 411 '-gline-tables-only -O2 -fno-inline-functions -fno-inline') | 411 '-gline-tables-only -O2 -fno-inline-functions -fno-inline') |
| 412 | 412 |
| 413 @config_ctx() | 413 @config_ctx() |
| 414 def asan_coverage(c): | 414 def sanitizer_coverage(c): |
| 415 c.gyp_env.GYP_DEFINES['asan_coverage'] = 1 | 415 c.gyp_env.GYP_DEFINES['sanitizer_coverage'] = 3 |
| 416 | 416 |
| 417 @config_ctx() | 417 @config_ctx() |
| 418 def no_lsan(c): | 418 def no_lsan(c): |
| 419 c.gyp_env.GYP_DEFINES['lsan'] = 0 | 419 c.gyp_env.GYP_DEFINES['lsan'] = 0 |
| 420 | 420 |
| 421 @config_ctx(deps=['compiler']) | 421 @config_ctx(deps=['compiler']) |
| 422 def msan(c): | 422 def msan(c): |
| 423 if 'clang' not in c.compile_py.compiler: # pragma: no cover | 423 if 'clang' not in c.compile_py.compiler: # pragma: no cover |
| 424 raise BadConf('msan requires clang') | 424 raise BadConf('msan requires clang') |
| 425 c.runtests.swarming_tags |= {'msan:1'} | 425 c.runtests.swarming_tags |= {'msan:1'} |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 def v8_verify_heap(c): | 739 def v8_verify_heap(c): |
| 740 c.gyp_env.GYP_DEFINES['v8_enable_verify_heap'] = 1 | 740 c.gyp_env.GYP_DEFINES['v8_enable_verify_heap'] = 1 |
| 741 | 741 |
| 742 @config_ctx() | 742 @config_ctx() |
| 743 def chromium_perf(c): | 743 def chromium_perf(c): |
| 744 c.compile_py.clobber = False | 744 c.compile_py.clobber = False |
| 745 | 745 |
| 746 @config_ctx() | 746 @config_ctx() |
| 747 def chromium_deterministic_build(c): | 747 def chromium_deterministic_build(c): |
| 748 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 | 748 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 |
| OLD | NEW |