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

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

Issue 75163006: WebRTC Android APK trybot recipe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebased, removed video_engine_tests Created 7 years 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/gclient_config.py
diff --git a/scripts/slave/recipe_modules/webrtc/gclient_config.py b/scripts/slave/recipe_modules/webrtc/gclient_config.py
new file mode 100644
index 0000000000000000000000000000000000000000..e0e31ca30e275107b644c569d695d947cfedcc3e
--- /dev/null
+++ b/scripts/slave/recipe_modules/webrtc/gclient_config.py
@@ -0,0 +1,40 @@
+# Copyright 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 RECIPE_MODULES.gclient import CONFIG_CTX
+from slave.recipe_config import BadConf
+from slave.recipe_modules.gclient.config import ChromeSvnSubURL,\
+ ChromiumSvnSubURL
+
+
+@CONFIG_CTX(includes=['chromium', '_webrtc_additional_solutions'])
+def webrtc_android_apk_try_builder(c):
+ c.target_os = ['android']
+
+ # TODO(kjellander): Switch to use the webrtc_revision gyp variable in DEPS
+ # as soon we've switched over to use the trunk branch instead of the stable
+ # branch (which is about to be retired).
+ c.solutions[0].custom_deps['src/third_party/webrtc'] = (
+ 'http://webrtc.googlecode.com/svn/trunk/webrtc')
+
+
+@CONFIG_CTX()
+def _webrtc_additional_solutions(c):
+ """Helper config for loading additional solutions.
+
+ The webrtc-limited solution contains non-redistributable code.
+ The webrtc.DEPS solution pulls in additional resources needed for running
+ WebRTC-specific test setups.
+ """
+ if c.GIT_MODE:
+ raise BadConf('WebRTC only supports svn')
+
+ s = c.solutions.add()
+ s.name = 'webrtc-limited'
+ s.url = ChromeSvnSubURL(c, 'chrome-internal', 'trunk', 'webrtc-limited')
+
+ s = c.solutions.add()
+ s.name = 'webrtc.DEPS'
+ s.url = ChromiumSvnSubURL(c, 'chrome', 'trunk', 'deps', 'third_party',
+ 'webrtc', 'webrtc.DEPS')

Powered by Google App Engine
This is Rietveld 408576698