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

Side by Side Diff: scripts/slave/recipe_modules/v8/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 CONFIG_CTX = DEPS['gclient'].CONFIG_CTX
6 from slave.recipe_config import BadConf 7 from slave.recipe_config import BadConf
7 8
8 9
9 # TODO(machenbach): This is copied from gclient's config.py and should be 10 # TODO(machenbach): This is copied from gclient's config.py and should be
10 # unified somehow. 11 # unified somehow.
11 def ChromiumSvnSubURL(c, *pieces): 12 def ChromiumSvnSubURL(c, *pieces):
12 BASES = ('https://src.chromium.org', 13 BASES = ('https://src.chromium.org',
13 'svn://svn-mirror.golo.chromium.org') 14 'svn://svn-mirror.golo.chromium.org')
14 return '/'.join((BASES[c.USE_MIRROR],) + pieces) 15 return '/'.join((BASES[c.USE_MIRROR],) + pieces)
15 16
(...skipping 22 matching lines...) Expand all
38 def dynamorio(c): 39 def dynamorio(c):
39 soln = c.solutions.add() 40 soln = c.solutions.add()
40 soln.name = 'dynamorio' 41 soln.name = 'dynamorio'
41 soln.url = 'https://chromium.googlesource.com/external/dynamorio' 42 soln.url = 'https://chromium.googlesource.com/external/dynamorio'
42 43
43 44
44 @CONFIG_CTX(includes=['v8']) 45 @CONFIG_CTX(includes=['v8'])
45 def mozilla_tests(c): 46 def mozilla_tests(c):
46 c.solutions[0].custom_deps['v8/test/mozilla/data'] = ChromiumSvnSubURL( 47 c.solutions[0].custom_deps['v8/test/mozilla/data'] = ChromiumSvnSubURL(
47 c, 'chrome', 'trunk', 'deps', 'third_party', 'mozilla-tests') 48 c, 'chrome', 'trunk', 'deps', 'third_party', 'mozilla-tests')
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/v8/chromium_config.py ('k') | scripts/slave/recipe_modules/v8/test_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698