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

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: Moved field_composer_test with its buddies Created 5 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
« no previous file with comments | « scripts/slave/recipe_modules/v8/api.py ('k') | scripts/slave/recipe_modules/v8/config.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.config import BadConf
6 from slave.recipe_config_types import Path 6 from recipe_engine.config_types import Path
7 from slave import 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
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 def vtunejit(c): 185 def vtunejit(c):
186 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1 186 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1
187 187
188 188
189 @CONFIG_CTX(includes=['v8']) 189 @CONFIG_CTX(includes=['v8'])
190 def x87(c): 190 def x87(c):
191 # TODO(machenbach): Chromium does not support x87 yet. With the current 191 # TODO(machenbach): Chromium does not support x87 yet. With the current
192 # configuration, target_arch can't be set through a parameter as ARCH=intel 192 # configuration, target_arch can't be set through a parameter as ARCH=intel
193 # and BITS=32 is ambigue with x87. 193 # and BITS=32 is ambigue with x87.
194 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87' 194 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87'
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/v8/api.py ('k') | scripts/slave/recipe_modules/v8/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698