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

Unified Diff: scripts/slave/recipes/blink_android_trybot.py

Issue 1101673005: Extract functions from path recipe module so that step can depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 8 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/zip/example.py ('k') | scripts/slave/recipes/boringssl.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/blink_android_trybot.py
diff --git a/scripts/slave/recipes/blink_android_trybot.py b/scripts/slave/recipes/blink_android_trybot.py
index 244e74c865c21feaf9af6d73c96c7f4460a4f097..0fae73fa68f1973e7f911bf00f37c4b8259380b9 100644
--- a/scripts/slave/recipes/blink_android_trybot.py
+++ b/scripts/slave/recipes/blink_android_trybot.py
@@ -5,6 +5,7 @@
DEPS = [
'bot_update',
'chromium',
+ 'file',
'gclient',
'path',
'platform',
@@ -35,7 +36,7 @@ def GenSteps(api):
try:
api.gclient.checkout(revert=True)
except api.step.StepFailure:
- api.path.rmcontents('slave build directory',
+ api.file.rmcontents('slave build directory',
api.path['slave_build'])
api.gclient.checkout(revert=False)
api.tryserver.maybe_apply_issue()
@@ -48,7 +49,7 @@ def GenSteps(api):
try:
step_result = api.chromium.compile()
except api.step.StepFailure:
- api.path.rmcontents('slave build directory', api.path['slave_build'])
+ api.file.rmcontents('slave build directory', api.path['slave_build'])
if bot_update_mode:
api.bot_update.ensure_checkout(suffix='clean')
else:
« no previous file with comments | « scripts/slave/recipe_modules/zip/example.py ('k') | scripts/slave/recipes/boringssl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698