Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: scripts/slave/recipe_modules/emulator/config.py

Issue 1923883003: build: use class path bases, not strings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/emulator/api.py ('k') | scripts/slave/recipe_modules/libyuv/chromium_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698