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

Unified Diff: scripts/slave/recipes/webrtc/ios.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/recipes/webrtc/ios.py
diff --git a/scripts/slave/recipes/webrtc/ios.py b/scripts/slave/recipes/webrtc/ios.py
index c16d6bd38280bef6de8989a4825b09c0a333453e..166fd3dd26200a5ae7a67db8ba0d5c987291d8cd 100644
--- a/scripts/slave/recipes/webrtc/ios.py
+++ b/scripts/slave/recipes/webrtc/ios.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
DEPS = [
+ 'chromium_tests',
'depot_tools/bot_update',
'depot_tools/gclient',
'ios',
@@ -17,8 +18,12 @@ def RunSteps(api):
api.gclient.set_config('webrtc_ios')
api.ios.host_info()
- api.bot_update.ensure_checkout()
- api.path['checkout'] = api.path['slave_build'].join('src')
+
+ checkout_kwargs = {'force': True}
+ checkout_dir = api.chromium_tests.get_checkout_dir({})
+ if checkout_dir:
+ checkout_kwargs['cwd'] = checkout_dir
+ api.bot_update.ensure_checkout(**checkout_kwargs)
build_config_base_dir = api.path['checkout'].join(
'webrtc',
@@ -46,6 +51,7 @@ def GenTests(api):
buildnumber='0',
mastername='chromium.fake',
slavename='fake-vm',
+ path_config='kitchen',
)
+ api.ios.make_test_build_config({
'xcode version': 'fake xcode version',
@@ -80,6 +86,7 @@ def GenTests(api):
buildnumber='0',
mastername='chromium.fake',
slavename='fake-vm',
+ path_config='kitchen',
)
+ api.ios.make_test_build_config({
'xcode version': 'fake xcode version',
@@ -105,6 +112,7 @@ def GenTests(api):
buildnumber='0',
mastername='chromium.fake',
slavename='fake-vm',
+ path_config='kitchen',
)
+ api.ios.make_test_build_config({
'xcode version': 'fake xcode version',
@@ -129,6 +137,7 @@ def GenTests(api):
buildnumber='0',
mastername='chromium.fake',
slavename='fake-vm',
+ path_config='kitchen',
)
+ api.ios.make_test_build_config({
'xcode version': 'fake xcode version',
@@ -155,6 +164,7 @@ def GenTests(api):
buildnumber='0',
mastername='chromium.fake',
slavename='fake-vm',
+ path_config='kitchen',
)
+ api.ios.make_test_build_config({
'xcode version': 'fake xcode version',
@@ -192,6 +202,7 @@ def GenTests(api):
buildnumber='0',
mastername='chromium.fake',
slavename='fake-vm',
+ path_config='kitchen',
)
+ api.ios.make_test_build_config({
'xcode version': 'fake xcode version',

Powered by Google App Engine
This is Rietveld 408576698