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 from slave.recipe_config import config_item_context, ConfigGroup | 5 from slave.recipe_config import config_item_context, ConfigGroup |
6 from slave.recipe_config import Dict, Single, Static, Set, BadConf | 6 from slave.recipe_config import Dict, Single, Static, Set, BadConf |
7 from slave.recipe_config_types import Path | 7 from slave.recipe_config_types import Path |
8 | 8 |
9 # Because of the way that we use decorators, pylint can't figure out the proper | 9 # Because of the way that we use decorators, pylint can't figure out the proper |
10 # type signature of functions annotated with the @config_ctx decorator. | 10 # type signature of functions annotated with the @config_ctx decorator. |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
209 dcheck(c, optional=True) | 209 dcheck(c, optional=True) |
210 | 210 |
211 #### 'Full' configurations | 211 #### 'Full' configurations |
212 @config_ctx(includes=['ninja', 'default_compiler', 'goma']) | 212 @config_ctx(includes=['ninja', 'default_compiler', 'goma']) |
213 def chromium(c): | 213 def chromium(c): |
214 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] | 214 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] |
215 | 215 |
216 @config_ctx(includes=['chromium']) | 216 @config_ctx(includes=['chromium']) |
217 def blink(c): | 217 def blink(c): |
218 c.compile_py.default_targets = ['all_webkit'] | 218 c.compile_py.default_targets = ['all_webkit'] |
219 if c.TARGET_PLATFORM == 'win': | 219 if c.TARGET_PLATFORM == 'win' or c.TARGET_PLATFORM == 'linux': |
iannucci
2013/10/02 21:31:40
maybe?
if c.TARGET_PLATFORM in ('win', 'linux'):
| |
220 c.gyp_env.GYP_DEFINES['use_ash'] = 0 | 220 c.gyp_env.GYP_DEFINES['use_ash'] = 0 |
221 c.gyp_env.GYP_DEFINES['use_aura'] = 0 | 221 c.gyp_env.GYP_DEFINES['use_aura'] = 0 |
OLD | NEW |