| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 types | 5 import types |
| 6 | 6 |
| 7 from slave.recipe_config import config_item_context, ConfigGroup, Single | 7 from recipe_engine.config import config_item_context, ConfigGroup, Single |
| 8 from slave.recipe_config_types import Path | 8 from recipe_engine.config_types import Path |
| 9 from . import api as syzygy_api | 9 from . import api as syzygy_api |
| 10 | 10 |
| 11 | 11 |
| 12 def BaseConfig(**dummy_kwargs): | 12 def BaseConfig(**dummy_kwargs): |
| 13 return ConfigGroup( | 13 return ConfigGroup( |
| 14 official_build = Single(bool, empty_val=False, required=False), | 14 official_build = Single(bool, empty_val=False, required=False), |
| 15 unittests_gypi = Single(Path, required=False), | 15 unittests_gypi = Single(Path, required=False), |
| 16 version_file = Single(Path, required=False), | 16 version_file = Single(Path, required=False), |
| 17 ) | 17 ) |
| 18 | 18 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 c.official_build = True | 37 c.official_build = True |
| 38 c.unittests_gypi = Path('[CHECKOUT]', 'syzygy', 'unittests.gypi') | 38 c.unittests_gypi = Path('[CHECKOUT]', 'syzygy', 'unittests.gypi') |
| 39 c.version_file = Path('[CHECKOUT]', 'syzygy', 'SYZYGY_VERSION') | 39 c.version_file = Path('[CHECKOUT]', 'syzygy', 'SYZYGY_VERSION') |
| 40 | 40 |
| 41 | 41 |
| 42 @config_ctx() | 42 @config_ctx() |
| 43 def kasko_official(c): | 43 def kasko_official(c): |
| 44 c.official_build = True | 44 c.official_build = True |
| 45 c.unittests_gypi = Path('[CHECKOUT]', 'syzygy', 'kasko', 'unittests.gypi') | 45 c.unittests_gypi = Path('[CHECKOUT]', 'syzygy', 'kasko', 'unittests.gypi') |
| 46 c.version_file = Path('[CHECKOUT]', 'syzygy', 'kasko', 'VERSION') | 46 c.version_file = Path('[CHECKOUT]', 'syzygy', 'kasko', 'VERSION') |
| OLD | NEW |