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

Side by Side Diff: recipe_modules/gclient/config.py

Issue 1976243002: Add support for WebRTC patches to Chromium trybots (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Changed HEAD to None to make our special case work. Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import types 5 import types
6 6
7 from recipe_engine.config import config_item_context, ConfigGroup, BadConf 7 from recipe_engine.config import config_item_context, ConfigGroup, BadConf
8 from recipe_engine.config import ConfigList, Dict, Single, Static, Set, List 8 from recipe_engine.config import ConfigList, Dict, Single, Static, Set, List
9 9
10 from . import api as gclient_api 10 from . import api as gclient_api
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 p['parent_got_webrtc_revision'] = 'webrtc_revision' 165 p['parent_got_webrtc_revision'] = 'webrtc_revision'
166 166
167 p = c.patch_projects 167 p = c.patch_projects
168 p['v8'] = ('src/v8', 'HEAD') 168 p['v8'] = ('src/v8', 'HEAD')
169 p['buildtools'] = ('src/buildtools', 'HEAD') 169 p['buildtools'] = ('src/buildtools', 'HEAD')
170 p['angle/angle'] = ('src/third_party/angle', None) 170 p['angle/angle'] = ('src/third_party/angle', None)
171 p['blink'] = ('src/third_party/WebKit', None) 171 p['blink'] = ('src/third_party/WebKit', None)
172 p['pdfium'] = ('src/third_party/pdfium', 'HEAD') 172 p['pdfium'] = ('src/third_party/pdfium', 'HEAD')
173 p['skia'] = ('src/third_party/skia', 'HEAD') 173 p['skia'] = ('src/third_party/skia', 'HEAD')
174 p['flac'] = ('src/third_party/flac', 'HEAD') 174 p['flac'] = ('src/third_party/flac', 'HEAD')
175 # TODO(kjellander): Change to the path below to src/third_party/webrtc mapping
176 # to 'HEAD' after http://crbug.com/611808 is fixed.
177 p['webrtc'] = ('src/third_party', None)
175 178
176 @config_ctx(includes=['chromium_bare']) 179 @config_ctx(includes=['chromium_bare'])
177 def chromium_empty(c): 180 def chromium_empty(c):
178 c.solutions[0].deps_file = '' # pragma: no cover 181 c.solutions[0].deps_file = '' # pragma: no cover
179 182
180 @config_ctx(includes=['chromium_bare']) 183 @config_ctx(includes=['chromium_bare'])
181 def chromium(c): 184 def chromium(c):
182 s = c.solutions[0] 185 s = c.solutions[0]
183 s.custom_deps = mirror_only(c, {}) 186 s.custom_deps = mirror_only(c, {})
184 187
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 soln = c.solutions.add() 666 soln = c.solutions.add()
664 soln.name = 'gerrit-test-cq-normal' 667 soln.name = 'gerrit-test-cq-normal'
665 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' 668 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git'
666 669
667 # TODO(phajdan.jr): Move to proper repo and add coverage. 670 # TODO(phajdan.jr): Move to proper repo and add coverage.
668 @config_ctx() 671 @config_ctx()
669 def valgrind(c): # pragma: no cover 672 def valgrind(c): # pragma: no cover
670 """Add Valgrind binaries to the gclient solution.""" 673 """Add Valgrind binaries to the gclient solution."""
671 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ 674 c.solutions[0].custom_deps['src/third_party/valgrind'] = \
672 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') 675 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries')
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698