Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Side by Side Diff: scripts/slave/recipe_modules/v8/chromium_config.py

Issue 2035633002: V8: Explicitly define presence of valgrind on relevant builder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 from recipe_engine.config import BadConf 5 from recipe_engine.config import BadConf
6 from recipe_engine.config_types import Path 6 from recipe_engine.config_types import Path
7 from recipe_engine import config as recipe_config 7 from recipe_engine import config as recipe_config
8 8
9 import DEPS 9 import DEPS
10 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX 10 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 def enable_slow_dchecks(c): 85 def enable_slow_dchecks(c):
86 c.gyp_env.GYP_DEFINES['v8_enable_slow_dchecks'] = 1 # pragma: no cover 86 c.gyp_env.GYP_DEFINES['v8_enable_slow_dchecks'] = 1 # pragma: no cover
87 87
88 88
89 @CONFIG_CTX(includes=['v8']) 89 @CONFIG_CTX(includes=['v8'])
90 def gcmole(c): 90 def gcmole(c):
91 c.gyp_env.GYP_DEFINES['gcmole'] = 1 91 c.gyp_env.GYP_DEFINES['gcmole'] = 1
92 92
93 93
94 @CONFIG_CTX(includes=['v8']) 94 @CONFIG_CTX(includes=['v8'])
95 def has_valgrind(c):
96 c.gyp_env.GYP_DEFINES['has_valgrind'] = 1
97
98
99 @CONFIG_CTX(includes=['v8'])
95 def coverage(c): 100 def coverage(c):
96 c.gyp_env.GYP_DEFINES['coverage'] = 1 101 c.gyp_env.GYP_DEFINES['coverage'] = 1
97 102
98 103
99 @CONFIG_CTX(includes=['v8']) 104 @CONFIG_CTX(includes=['v8'])
100 def internal_snapshot(c): 105 def internal_snapshot(c):
101 c.gyp_env.GYP_DEFINES['v8_use_external_startup_data'] = 0 106 c.gyp_env.GYP_DEFINES['v8_use_external_startup_data'] = 0
102 107
103 108
104 @CONFIG_CTX(includes=['v8']) 109 @CONFIG_CTX(includes=['v8'])
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 def vtunejit(c): 219 def vtunejit(c):
215 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1 220 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1
216 221
217 222
218 @CONFIG_CTX(includes=['v8']) 223 @CONFIG_CTX(includes=['v8'])
219 def x87(c): 224 def x87(c):
220 # TODO(machenbach): Chromium does not support x87 yet. With the current 225 # TODO(machenbach): Chromium does not support x87 yet. With the current
221 # configuration, target_arch can't be set through a parameter as ARCH=intel 226 # configuration, target_arch can't be set through a parameter as ARCH=intel
222 # and BITS=32 is ambigue with x87. 227 # and BITS=32 is ambigue with x87.
223 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87' 228 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698