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

Unified Diff: scripts/slave/recipe_modules/generator_script/example.py

Issue 24737002: Add Paths as first-class types in configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: license Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/slave/recipe_modules/generator_script/api.py ('k') | scripts/slave/recipe_modules/git/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/generator_script/example.py
diff --git a/scripts/slave/recipe_modules/generator_script/example.py b/scripts/slave/recipe_modules/generator_script/example.py
index c7ca2302b9868efe32fd06af782a711bf132ef9e..8ccadae30d3958b70b98de06e0f049df0d90a8eb 100644
--- a/scripts/slave/recipe_modules/generator_script/example.py
+++ b/scripts/slave/recipe_modules/generator_script/example.py
@@ -9,7 +9,7 @@ DEPS = [
def GenSteps(api):
- api.path.add_checkout(api.path.slave_build())
+ api.path.set_dynamic_path('checkout', api.path.slave_build)
yield api.generator_script('bogus')
yield api.generator_script('bogus.py')
« no previous file with comments | « scripts/slave/recipe_modules/generator_script/api.py ('k') | scripts/slave/recipe_modules/git/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698