| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 recipe_engine.config import config_item_context, ConfigGroup | 5 from recipe_engine.config import config_item_context, ConfigGroup |
| 6 from recipe_engine.config import Single | 6 from recipe_engine.config import Static |
| 7 from recipe_engine.config_types import Path |
| 7 | 8 |
| 8 | 9 def BaseConfig(CHECKOUT_PATH, **_kwargs): |
| 9 def BaseConfig(**kwargs): | |
| 10 return ConfigGroup( | 10 return ConfigGroup( |
| 11 use_new_logic = Single(bool), | 11 client_engine_integration_script = Static( |
| 12 CHECKOUT_PATH.join('blimp', 'tools', |
| 13 'client_engine_integration.py')), |
| 12 ) | 14 ) |
| 13 | 15 |
| 14 | |
| 15 config_ctx = config_item_context(BaseConfig) | 16 config_ctx = config_item_context(BaseConfig) |
| 16 | 17 |
| 17 | |
| 18 @config_ctx() | 18 @config_ctx() |
| 19 def basic(c): | 19 def base_config(c): |
| 20 c.use_new_logic = True | 20 pass |
| OLD | NEW |