| OLD | NEW |
| 1 from recipe_engine.config import config_item_context, ConfigGroup | 1 from recipe_engine.config import config_item_context, ConfigGroup |
| 2 from recipe_engine.config import Single, Static | 2 from recipe_engine.config import Single, Static |
| 3 from recipe_engine.config_types import Path | 3 from recipe_engine.config_types import Path |
| 4 | 4 |
| 5 def BaseConfig(**_kwargs): | 5 def BaseConfig(CHECKOUT_PATH, **_kwargs): |
| 6 return ConfigGroup( | 6 return ConfigGroup( |
| 7 install_emulator_deps_path = Static(Path('[CHECKOUT]', 'build', 'android', | 7 install_emulator_deps_path = Static( |
| 8 'install_emulator_deps.py')), | 8 CHECKOUT_PATH.join('build', 'android', 'install_emulator_deps.py')), |
| 9 avd_script_path = Static(Path('[CHECKOUT]', 'build', 'android', 'avd.py')) | 9 avd_script_path = Static(CHECKOUT_PATH.join('build', 'android', 'avd.py')), |
| 10 ) | 10 ) |
| 11 | 11 |
| 12 config_ctx = config_item_context(BaseConfig) | 12 config_ctx = config_item_context(BaseConfig) |
| 13 | 13 |
| 14 @config_ctx() | 14 @config_ctx() |
| 15 def base_config(c): | 15 def base_config(c): |
| 16 pass | 16 pass |
| OLD | NEW |