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

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

Issue 1930883002: V8: Turn xcode builder into xcode-ninja builder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 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 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 @CONFIG_CTX(includes=['ninja']) 115 @CONFIG_CTX(includes=['ninja'])
116 def v8_ninja(c): 116 def v8_ninja(c):
117 c.gyp_env.GYP_GENERATORS.add('ninja') 117 c.gyp_env.GYP_GENERATORS.add('ninja')
118 118
119 if c.HOST_PLATFORM == 'win' and c.TARGET_BITS == 64: 119 if c.HOST_PLATFORM == 'win' and c.TARGET_BITS == 64:
120 # Windows requires 64-bit builds to be in <dir>_x64 with ninja. See 120 # Windows requires 64-bit builds to be in <dir>_x64 with ninja. See
121 # crbug.com/470681. 121 # crbug.com/470681.
122 c.build_config_fs = c.BUILD_CONFIG + '_x64' 122 c.build_config_fs = c.BUILD_CONFIG + '_x64'
123 123
124 124
125 @CONFIG_CTX(includes=['ninja'])
126 def v8_xcode_ninja(c):
127 c.gyp_env.GYP_GENERATORS.add('ninja')
128 c.gyp_env.GYP_GENERATORS.add('xcode-ninja')
129
130
125 # Work-around for obtaining the right build dir on linux slave that trigger 131 # Work-around for obtaining the right build dir on linux slave that trigger
126 # windows 64 bit swarming jobs. 132 # windows 64 bit swarming jobs.
127 @CONFIG_CTX(includes=['v8']) 133 @CONFIG_CTX(includes=['v8'])
128 def use_windows_swarming_slaves(c): 134 def use_windows_swarming_slaves(c):
129 if c.TARGET_BITS == 64: 135 if c.TARGET_BITS == 64:
130 c.build_config_fs = c.BUILD_CONFIG + '_x64' 136 c.build_config_fs = c.BUILD_CONFIG + '_x64'
131 137
132 138
133 @CONFIG_CTX(includes=['v8', 'dcheck']) 139 @CONFIG_CTX(includes=['v8', 'dcheck'])
134 def no_dcheck(c): 140 def no_dcheck(c):
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 def vtunejit(c): 209 def vtunejit(c):
204 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1 210 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1
205 211
206 212
207 @CONFIG_CTX(includes=['v8']) 213 @CONFIG_CTX(includes=['v8'])
208 def x87(c): 214 def x87(c):
209 # TODO(machenbach): Chromium does not support x87 yet. With the current 215 # TODO(machenbach): Chromium does not support x87 yet. With the current
210 # configuration, target_arch can't be set through a parameter as ARCH=intel 216 # configuration, target_arch can't be set through a parameter as ARCH=intel
211 # and BITS=32 is ambigue with x87. 217 # and BITS=32 is ambigue with x87.
212 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87' 218 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87'
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/v8/builders.py ('k') | scripts/slave/recipes/v8.expected/full_client_v8_V8_Mac64___xcode.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698