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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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=['ninja', 'clang', 'goma']) | 216 @config_ctx(includes=['ninja', 'clang', 'goma']) |
217 def chromium_clang(c): | 217 def chromium_clang(c): |
218 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] | 218 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] |
219 | 219 |
220 @config_ctx(includes=['chromium']) | 220 @config_ctx(includes=['chromium']) |
221 def blink(c): | 221 def blink(c): |
222 c.compile_py.default_targets = ['all_webkit'] | 222 c.compile_py.default_targets = ['all_webkit'] |
223 if c.TARGET_PLATFORM == 'win': | 223 if c.TARGET_PLATFORM in ('linux', 'win'): |
224 c.gyp_env.GYP_DEFINES['use_ash'] = 0 | 224 c.gyp_env.GYP_DEFINES['use_ash'] = 0 |
225 c.gyp_env.GYP_DEFINES['use_aura'] = 0 | 225 c.gyp_env.GYP_DEFINES['use_aura'] = 0 |
OLD | NEW |