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

Side by Side Diff: scripts/slave/recipe_modules/webrtc/gclient_config.py

Issue 1111413005: Some changes to allow recipes and modules to live noncentrally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Review comments Created 5 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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'
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/webrtc/chromium_config.py ('k') | scripts/slave/recipe_modules/webrtc/test_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698