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

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

Issue 2226283002: webrtc: 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
Index: scripts/slave/recipe_modules/webrtc/api.py
diff --git a/scripts/slave/recipe_modules/webrtc/api.py b/scripts/slave/recipe_modules/webrtc/api.py
index c082cfa89561b03b168d79ff12ad5a91d246a366..0d0cecf99aa8319639f7f25dc1e29d20e81edb81 100644
--- a/scripts/slave/recipe_modules/webrtc/api.py
+++ b/scripts/slave/recipe_modules/webrtc/api.py
@@ -144,6 +144,10 @@ class WebRTCApi(recipe_api.RecipeApi):
self.m.platform.name).split('-', 1)[0])
def checkout(self, **kwargs):
+ checkout_dir = self.m.chromium_tests.get_checkout_dir({})
+ if checkout_dir:
+ kwargs.setdefault('cwd', checkout_dir)
+
update_step = self.m.bot_update.ensure_checkout(**kwargs)
assert update_step.json.output['did_run']

Powered by Google App Engine
This is Rietveld 408576698