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

Side by Side 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: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from RECIPE_MODULES.gclient import CONFIG_CTX
6 from slave.recipe_config import BadConf
7 from slave.recipe_modules.gclient.config import ChromeSvnSubURL,\
8 ChromiumSvnSubURL
iannucci 2013/11/18 18:49:26 I'm 'meh' on this, but I really don't have a bette
kjellander_chromium 2013/11/20 14:29:16 Yeah, I guess such paths could be refactored into
9
10
11 @CONFIG_CTX(includes=['chromium', '_webrtc_additional_solutions'])
12 def webrtc_android_apk_try_builder(c):
13 c.target_os = ['android']
iannucci 2013/11/18 18:49:26 I wonder if gclient's config.py should be informed
kjellander_chromium 2013/11/20 14:29:16 I guess it could, but it would confuse a bit as we
14
15 solution = c.solutions.add()
16 solution.name = 'src/third_party/webrtc'
17 solution.url = 'http://webrtc.googlecode.com/svn/trunk/webrtc'
18
19 # Make the Chromium solution build the ToT revision.
20 cr_solution = c.solutions[0]
21 cr_solution.revision = 'HEAD'
22
23 # Must set src/third_party/webrtc to None to avoid an error due to the
24 # separate WebRTC solution we have configured in there.
25 cr_solution.custom_deps['src/third_party/webrtc'] = None
26
27
28 @CONFIG_CTX()
29 def _webrtc_additional_solutions(c):
30 """Helper config for loading additional solutions.
31
32 The webrtc-limited solution contains non-redistributable code.
33 The webrtc.DEPS solution pulls in additional DEPS for building Android tests
34 and running special test setups.
35 """
36 if c.GIT_MODE:
37 raise BadConf('WebRTC only supports svn')
38
39 s = c.solutions.add()
40 s.name = 'webrtc-limited'
41 s.url = ChromeSvnSubURL(c, 'chrome-internal', 'trunk', 'webrtc-limited')
42
43 s = c.solutions.add()
44 s.name = 'webrtc.DEPS'
45 s.url = ChromiumSvnSubURL(c, 'chrome', 'trunk', 'deps', 'third_party',
46 'webrtc', 'webrtc.DEPS')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698