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

Unified Diff: masters/master.client.webrtc/master_android_cfg.py

Issue 2222163004: convert most webrtc builders to 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: masters/master.client.webrtc/master_android_cfg.py
diff --git a/masters/master.client.webrtc/master_android_cfg.py b/masters/master.client.webrtc/master_android_cfg.py
index 4b22714c407ed85a2b5707c2117116d17b173dd4..1927ba326e8bc0993447caafccbdac94badd08e2 100644
--- a/masters/master.client.webrtc/master_android_cfg.py
+++ b/masters/master.client.webrtc/master_android_cfg.py
@@ -4,9 +4,20 @@
from buildbot.schedulers.basic import SingleBranchScheduler
-from master.factory import annotator_factory
+from master.factory import remote_run_factory
+
+import master_site_config
+ActiveMaster = master_site_config.WebRTC
+
+
+def m_remote_run(recipe, **kwargs):
+ return remote_run_factory.RemoteRunFactory(
+ active_master=ActiveMaster,
+ repository='https://chromium.googlesource.com/chromium/tools/build.git',
+ recipe=recipe,
+ factory_properties={'path_config': 'kitchen'},
+ **kwargs)
-m_annotator = annotator_factory.AnnotatorFactory()
def Update(c):
c['schedulers'].extend([
@@ -52,7 +63,7 @@ def Update(c):
c['builders'].extend([
{
'name': spec['name'],
- 'factory': m_annotator.BaseFactory('webrtc/standalone'),
+ 'factory': m_remote_run('webrtc/standalone'),
'notify_on_missing': True,
'category': 'android',
'slavebuilddir': spec.get('slavebuilddir', 'android'),

Powered by Google App Engine
This is Rietveld 408576698