| 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 import pipes | 5 import pipes |
| 6 | 6 |
| 7 from slave.recipe_config import config_item_context, ConfigGroup | 7 from recipe_engine.config import config_item_context, ConfigGroup |
| 8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf | 8 from recipe_engine.config import Dict, List, Single, Static, Set, BadConf |
| 9 from slave.recipe_config_types import Path | 9 from recipe_engine.config_types import Path |
| 10 | 10 |
| 11 # Because of the way that we use decorators, pylint can't figure out the proper | 11 # Because of the way that we use decorators, pylint can't figure out the proper |
| 12 # type signature of functions annotated with the @config_ctx decorator. | 12 # type signature of functions annotated with the @config_ctx decorator. |
| 13 # pylint: disable=E1123 | 13 # pylint: disable=E1123 |
| 14 | 14 |
| 15 HOST_PLATFORMS = ('linux', 'win', 'mac') | 15 HOST_PLATFORMS = ('linux', 'win', 'mac') |
| 16 TARGET_PLATFORMS = HOST_PLATFORMS + ('ios', 'android', 'chromeos') | 16 TARGET_PLATFORMS = HOST_PLATFORMS + ('ios', 'android', 'chromeos') |
| 17 HOST_TARGET_BITS = (32, 64) | 17 HOST_TARGET_BITS = (32, 64) |
| 18 HOST_ARCHS = ('intel',) | 18 HOST_ARCHS = ('intel',) |
| 19 TARGET_ARCHS = HOST_ARCHS + ('arm', 'mips', 'mipsel') | 19 TARGET_ARCHS = HOST_ARCHS + ('arm', 'mips', 'mipsel') |
| (...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 def chromium_deterministic_build(c): | 830 def chromium_deterministic_build(c): |
| 831 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 | 831 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 |
| 832 | 832 |
| 833 @config_ctx() | 833 @config_ctx() |
| 834 def chromium_mac_sdk_10_10(c): | 834 def chromium_mac_sdk_10_10(c): |
| 835 c.gyp_env.GYP_DEFINES['mac_sdk_min='] = '10.10' | 835 c.gyp_env.GYP_DEFINES['mac_sdk_min='] = '10.10' |
| 836 | 836 |
| 837 @config_ctx(includes=['chromium_clang']) | 837 @config_ctx(includes=['chromium_clang']) |
| 838 def cast_linux(c): | 838 def cast_linux(c): |
| 839 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 839 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| OLD | NEW |