| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from RECIPE_MODULES.gclient import CONFIG_CTX | 5 import DEPS |
| 6 from slave.recipe_modules.gclient.config import ChromeInternalGitURL,\ | 6 CONFIG_CTX = DEPS['gclient'].CONFIG_CTX |
| 7 ChromiumGitURL | 7 ChromeInternalGitURL = DEPS['gclient'].config.ChromeInternalGitURL |
| 8 ChromiumGitURL = DEPS['gclient'].config.ChromiumGitURL |
| 8 | 9 |
| 9 | 10 |
| 10 @CONFIG_CTX(includes=['_webrtc', '_webrtc_limited']) | 11 @CONFIG_CTX(includes=['_webrtc', '_webrtc_limited']) |
| 11 def webrtc(c): | 12 def webrtc(c): |
| 12 pass | 13 pass |
| 13 | 14 |
| 14 @CONFIG_CTX(includes=['webrtc']) | 15 @CONFIG_CTX(includes=['webrtc']) |
| 15 def webrtc_ios(c): | 16 def webrtc_ios(c): |
| 16 # WebRTC for iOS depends on the src/third_party/openmax_dl in Chromium, which | 17 # WebRTC for iOS depends on the src/third_party/openmax_dl in Chromium, which |
| 17 # is set to None for iOS. Because of this, sync Mac as well to get it. | 18 # is set to None for iOS. Because of this, sync Mac as well to get it. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 @CONFIG_CTX() | 73 @CONFIG_CTX() |
| 73 def _webrtc_limited(c): | 74 def _webrtc_limited(c): |
| 74 """Helper config for loading the webrtc-limited solution. | 75 """Helper config for loading the webrtc-limited solution. |
| 75 | 76 |
| 76 The webrtc-limited solution contains non-redistributable code. | 77 The webrtc-limited solution contains non-redistributable code. |
| 77 """ | 78 """ |
| 78 s = c.solutions.add() | 79 s = c.solutions.add() |
| 79 s.name = 'webrtc-limited' | 80 s.name = 'webrtc-limited' |
| 80 s.url = ChromeInternalGitURL(c, 'chrome', 'deps', 'webrtc-limited') | 81 s.url = ChromeInternalGitURL(c, 'chrome', 'deps', 'webrtc-limited') |
| 81 s.deps_file = 'DEPS' | 82 s.deps_file = 'DEPS' |
| OLD | NEW |