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

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

Issue 17390019: Add Android device testers for WebRTC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebased Created 7 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
new file mode 100644
index 0000000000000000000000000000000000000000..fe810c7fe90ba5a8fa59c9cbc87ed282cc2ac40c
--- /dev/null
+++ b/masters/master.client.webrtc/master_android_cfg.py
@@ -0,0 +1,82 @@
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from master import master_config
+from master.factory import chromium_factory
+
+defaults = {}
+
+helper = master_config.Helper(defaults)
+B = helper.Builder
+F = helper.Factory
+S = helper.Scheduler
+T = helper.Triggerable
+
+
+def android():
+ return chromium_factory.ChromiumFactory('', 'linux2', nohooks_on_update=True,
+ target_os='android')
+
+defaults['category'] = 'android'
+
+android_dbg_archive = master_config.GetGSUtilUrl('chromium-webrtc',
+ 'android_dbg')
+android_rel_archive = master_config.GetGSUtilUrl('chromium-webrtc',
+ 'android_rel')
+
+scheduler = 'webrtc_android_scheduler'
+S(scheduler, branch='trunk', treeStableTimer=0)
+
+T('android_trigger_dbg')
+T('android_trigger_rel')
+
+builder_gclient_env = {'GYP_DEFINES': 'include_tests=1 enable_tracing=1'}
+
+B('Android Builder (dbg)', 'f_android_dbg', scheduler=scheduler,
+ notify_on_missing=True)
+F('f_android_dbg', android().ChromiumWebRTCAndroidFactory(
+ target='Debug',
+ annotation_script='src/build/android/buildbot/bb_run_bot.py',
+ factory_properties={
+ 'android_bot_id': 'webrtc-builder-dbg',
+ 'build_url': android_dbg_archive,
+ 'trigger': 'android_trigger_dbg',
+ 'gclient_env': builder_gclient_env,
Isaac (away) 2013/08/27 06:15:27 I don't think this property is read. The annotati
kjellander_chromium 2013/08/27 08:14:42 Right, this was left from the early stages, before
+ }))
+
+B('Android Tests (dbg)', 'f_android_dbg_tests', scheduler='android_trigger_dbg',
+ notify_on_missing=True)
+F('f_android_dbg_tests', android().ChromiumWebRTCAndroidFactory(
+ target='Debug',
+ annotation_script='src/build/android/buildbot/bb_run_bot.py',
+ factory_properties={
+ 'android_bot_id': 'webrtc-tests',
Isaac (away) 2013/08/27 06:15:27 webrtc-tests-dbg
kjellander_chromium 2013/08/27 08:14:42 Done.
+ 'build_url': android_dbg_archive,
+ }))
+
+B('Android Builder', 'f_android_rel', scheduler=scheduler,
+ notify_on_missing=True)
+F('f_android_rel', android().ChromiumWebRTCAndroidFactory(
+ target='Release',
+ annotation_script='src/build/android/buildbot/bb_run_bot.py',
+ factory_properties={
+ 'android_bot_id': 'webrtc-builder-rel',
+ 'build_url': android_rel_archive,
+ 'trigger': 'android_trigger_rel',
+ 'gclient_env': builder_gclient_env,
Isaac (away) 2013/08/27 06:15:27 remove prop
kjellander_chromium 2013/08/27 08:14:42 Done.
+ }))
+
+B('Android Tests', 'f_android_rel_tests', scheduler='android_trigger_rel',
+ notify_on_missing=True)
+F('f_android_rel_tests', android().ChromiumWebRTCAndroidFactory(
+ target='Release',
+ annotation_script='src/build/android/buildbot/bb_run_bot.py',
+ factory_properties={
+ 'android_bot_id': 'webrtc-tests',
Isaac (away) 2013/08/27 06:15:27 webrtc-tests-rel
kjellander_chromium 2013/08/27 08:14:42 Done.
+ 'build_url': android_rel_archive,
+ }))
+
+
+def Update(c):
+ return helper.Update(c)

Powered by Google App Engine
This is Rietveld 408576698