Chromium Code Reviews| Index: scripts/slave/recipe_modules/blimp/config.py |
| diff --git a/scripts/slave/recipe_modules/gatekeeper/config.py b/scripts/slave/recipe_modules/blimp/config.py |
| similarity index 50% |
| copy from scripts/slave/recipe_modules/gatekeeper/config.py |
| copy to scripts/slave/recipe_modules/blimp/config.py |
| index bb238ee10a678128634969f1d59e4bcfd817c163..264f853826aabaa5dfb43f1cbc27d4d4c4140306 100644 |
| --- a/scripts/slave/recipe_modules/gatekeeper/config.py |
| +++ b/scripts/slave/recipe_modules/blimp/config.py |
| @@ -3,18 +3,18 @@ |
| # found in the LICENSE file. |
| from recipe_engine.config import config_item_context, ConfigGroup |
| -from recipe_engine.config import Single |
| +from recipe_engine.config import Static |
| +from recipe_engine.config_types import Path |
| - |
| -def BaseConfig(**kwargs): |
| +def BaseConfig(CHECKOUT_PATH, **_kwargs): |
| return ConfigGroup( |
| - use_new_logic = Single(bool), |
| + client_engine_integration_script = Static( |
| + CHECKOUT_PATH.join('blimp', 'tools', |
| + 'client_engine_integration.py')), |
| ) |
| - |
| config_ctx = config_item_context(BaseConfig) |
| - |
| @config_ctx() |
| -def basic(c): |
| - c.use_new_logic = True |
| +def base_config(c): |
| + pass |
|
mikecase (-- gone --)
2016/10/17 23:38:35
Also, if you don't want to deal with this config n
shenghuazhang
2016/10/18 20:39:08
Yeah that would be more explicit with your way.
|