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

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

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Copyright notices Created 5 years, 7 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 slave.recipe_config import BadConf 5 from recipe_engine.recipe_config import BadConf
6 from slave.recipe_config_types import Path 6 from recipe_engine.recipe_config_types import Path
7 from slave import recipe_config 7 from recipe_engine import recipe_config
8 8
9 import DEPS 9 import DEPS
10 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX 10 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
11 11
12 12
13 @CONFIG_CTX() 13 @CONFIG_CTX()
14 def v8(c): 14 def v8(c):
15 targ_arch = c.gyp_env.GYP_DEFINES.get('target_arch') 15 targ_arch = c.gyp_env.GYP_DEFINES.get('target_arch')
16 if not targ_arch: # pragma: no cover 16 if not targ_arch: # pragma: no cover
17 raise recipe_config.BadConf('v8 must have a valid target_arch.') 17 raise recipe_config.BadConf('v8 must have a valid target_arch.')
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 def vtunejit(c): 180 def vtunejit(c):
181 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1 181 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1
182 182
183 183
184 @CONFIG_CTX(includes=['v8']) 184 @CONFIG_CTX(includes=['v8'])
185 def x87(c): 185 def x87(c):
186 # TODO(machenbach): Chromium does not support x87 yet. With the current 186 # TODO(machenbach): Chromium does not support x87 yet. With the current
187 # configuration, target_arch can't be set through a parameter as ARCH=intel 187 # configuration, target_arch can't be set through a parameter as ARCH=intel
188 # and BITS=32 is ambigue with x87. 188 # and BITS=32 is ambigue with x87.
189 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87' 189 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698