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

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: 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
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..335d284497f7bac04009c97c3d8d08c3dfab598e 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')

Powered by Google App Engine
This is Rietveld 408576698