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_configs_util import config_item_context, ConfigGroup | 5 from slave.recipe_config import config_item_context, ConfigGroup |
6 from slave.recipe_configs_util import Dict, Single, Static, Set, BadConf | 6 from slave.recipe_config import Dict, Single, Static, Set, BadConf |
7 | 7 |
8 # Because of the way that we use decorators, pylint can't figure out the proper | 8 # Because of the way that we use decorators, pylint can't figure out the proper |
9 # type signature of functions annotated with the @config_ctx decorator. | 9 # type signature of functions annotated with the @config_ctx decorator. |
10 # pylint: disable=E1123 | 10 # pylint: disable=E1123 |
11 | 11 |
12 HOST_PLATFORMS = ('linux', 'win', 'mac') | 12 HOST_PLATFORMS = ('linux', 'win', 'mac') |
13 TARGET_PLATFORMS = HOST_PLATFORMS + ('ios', 'android', 'chromeos') | 13 TARGET_PLATFORMS = HOST_PLATFORMS + ('ios', 'android', 'chromeos') |
14 HOST_TARGET_BITS = (32, 64) | 14 HOST_TARGET_BITS = (32, 64) |
15 HOST_ARCHS = ('intel',) | 15 HOST_ARCHS = ('intel',) |
16 TARGET_ARCHS = HOST_ARCHS + ('arm', 'mips') | 16 TARGET_ARCHS = HOST_ARCHS + ('arm', 'mips') |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 @config_ctx(includes=['ninja', 'default_compiler', 'goma']) | 210 @config_ctx(includes=['ninja', 'default_compiler', 'goma']) |
211 def chromium(c): | 211 def chromium(c): |
212 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] | 212 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] |
213 | 213 |
214 @config_ctx(includes=['chromium']) | 214 @config_ctx(includes=['chromium']) |
215 def blink(c): | 215 def blink(c): |
216 c.compile_py.default_targets = ['all_webkit'] | 216 c.compile_py.default_targets = ['all_webkit'] |
217 if c.TARGET_PLATFORM == 'win': | 217 if c.TARGET_PLATFORM == 'win': |
218 c.gyp_env.GYP_DEFINES['use_ash'] = 0 | 218 c.gyp_env.GYP_DEFINES['use_ash'] = 0 |
219 c.gyp_env.GYP_DEFINES['use_aura'] = 0 | 219 c.gyp_env.GYP_DEFINES['use_aura'] = 0 |
OLD | NEW |