| OLD | NEW |
| (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 |
| 9 |
| 10 |
| 11 @CONFIG_CTX(includes=['chromium', '_webrtc_additional_solutions']) |
| 12 def webrtc_android_apk_try_builder(c): |
| 13 c.target_os = ['android'] |
| 14 |
| 15 # TODO(kjellander): Switch to use the webrtc_revision gyp variable in DEPS |
| 16 # as soon we've switched over to use the trunk branch instead of the stable |
| 17 # branch (which is about to be retired). |
| 18 c.solutions[0].custom_deps['src/third_party/webrtc'] = ( |
| 19 'http://webrtc.googlecode.com/svn/trunk/webrtc') |
| 20 |
| 21 |
| 22 @CONFIG_CTX() |
| 23 def _webrtc_additional_solutions(c): |
| 24 """Helper config for loading additional solutions. |
| 25 |
| 26 The webrtc-limited solution contains non-redistributable code. |
| 27 The webrtc.DEPS solution pulls in additional resources needed for running |
| 28 WebRTC-specific test setups. |
| 29 """ |
| 30 if c.GIT_MODE: |
| 31 raise BadConf('WebRTC only supports svn') |
| 32 |
| 33 s = c.solutions.add() |
| 34 s.name = 'webrtc-limited' |
| 35 s.url = ChromeSvnSubURL(c, 'chrome-internal', 'trunk', 'webrtc-limited') |
| 36 |
| 37 s = c.solutions.add() |
| 38 s.name = 'webrtc.DEPS' |
| 39 s.url = ChromiumSvnSubURL(c, 'chrome', 'trunk', 'deps', 'third_party', |
| 40 'webrtc', 'webrtc.DEPS') |
| OLD | NEW |