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

Unified Diff: scripts/slave/recipe_modules/ios/api.py

Issue 2226683002: ios: prepare for running under remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | scripts/slave/recipes/ios/try.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/ios/api.py
diff --git a/scripts/slave/recipe_modules/ios/api.py b/scripts/slave/recipe_modules/ios/api.py
index dda574af2cff86fa84934bc8158e18541d29dd2a..676dcadbe8d9d159eb69a70c62714ecc0f14a2b7 100644
--- a/scripts/slave/recipe_modules/ios/api.py
+++ b/scripts/slave/recipe_modules/ios/api.py
@@ -40,9 +40,12 @@ class iOSApi(recipe_api.RecipeApi):
"""Checks out Chromium."""
kwargs.setdefault('force', True)
self.m.gclient.set_config('ios')
- update_step = self.m.bot_update.ensure_checkout(**kwargs)
- self.m.path['checkout'] = self.m.path['slave_build'].join('src')
- return update_step
+
+ checkout_dir = self.m.chromium_tests.get_checkout_dir({})
+ if checkout_dir:
+ kwargs.setdefault('cwd', checkout_dir)
+
+ return self.m.bot_update.ensure_checkout(**kwargs)
@property
def compiler(self):
« no previous file with comments | « no previous file | scripts/slave/recipes/ios/try.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698