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

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

Issue 2290453002: V8: Remove legacy mozilla svn download (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 3 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 import DEPS 5 import DEPS
6 CONFIG_CTX = DEPS['gclient'].CONFIG_CTX 6 CONFIG_CTX = DEPS['gclient'].CONFIG_CTX
7 from recipe_engine.config import BadConf 7 from recipe_engine.config import BadConf
8 8
9 9
10 # TODO(machenbach): This is copied from gclient's config.py and should be 10 # TODO(machenbach): Remove this.
11 # unified somehow.
12 def ChromiumSvnSubURL(c, *pieces):
13 BASES = ('https://src.chromium.org',
14 'svn://svn-mirror.golo.chromium.org')
15 return '/'.join((BASES[c.USE_MIRROR],) + pieces)
16
17
18 # TODO(machenbach): Remove the method above in favor of this one.
19 def ChromiumSvnTrunkURL(c, *pieces): 11 def ChromiumSvnTrunkURL(c, *pieces):
20 BASES = ('https://src.chromium.org/svn/trunk', 12 BASES = ('https://src.chromium.org/svn/trunk',
21 'svn://svn-mirror.golo.chromium.org/chrome/trunk') 13 'svn://svn-mirror.golo.chromium.org/chrome/trunk')
22 return '/'.join((BASES[c.USE_MIRROR],) + pieces) 14 return '/'.join((BASES[c.USE_MIRROR],) + pieces)
23 15
24 16
25 @CONFIG_CTX() 17 @CONFIG_CTX()
26 def v8(c): 18 def v8(c):
27 soln = c.solutions.add() 19 soln = c.solutions.add()
28 soln.name = 'v8' 20 soln.name = 'v8'
(...skipping 15 matching lines...) Expand all
44 soln.name = 'dynamorio' 36 soln.name = 'dynamorio'
45 soln.url = 'https://chromium.googlesource.com/external/dynamorio' 37 soln.url = 'https://chromium.googlesource.com/external/dynamorio'
46 38
47 39
48 @CONFIG_CTX(includes=['v8']) 40 @CONFIG_CTX(includes=['v8'])
49 def llvm_compiler_rt(c): 41 def llvm_compiler_rt(c):
50 c.solutions[0].custom_deps['v8/third_party/llvm/projects/compiler-rt'] = ( 42 c.solutions[0].custom_deps['v8/third_party/llvm/projects/compiler-rt'] = (
51 'https://chromium.googlesource.com/external/llvm.org/compiler-rt.git') 43 'https://chromium.googlesource.com/external/llvm.org/compiler-rt.git')
52 44
53 45
54 @CONFIG_CTX(includes=['v8'])
55 def mozilla_tests(c):
56 c.solutions[0].custom_deps['v8/test/mozilla/data'] = ChromiumSvnSubURL(
57 c, 'chrome', 'trunk', 'deps', 'third_party', 'mozilla-tests')
58
59
60 @CONFIG_CTX() 46 @CONFIG_CTX()
61 def node_js(c): 47 def node_js(c):
62 soln = c.solutions.add() 48 soln = c.solutions.add()
63 soln.name = 'node.js' 49 soln.name = 'node.js'
64 soln.url = 'https://chromium.googlesource.com/external/github.com/v8/node' 50 soln.url = 'https://chromium.googlesource.com/external/github.com/v8/node'
65 soln.revision = 'vee-eight-lkgr:HEAD' 51 soln.revision = 'vee-eight-lkgr:HEAD'
66 c.got_revision_mapping[soln.name] = 'got_node_js_revision' 52 c.got_revision_mapping[soln.name] = 'got_node_js_revision'
67 53
68 54
69 @CONFIG_CTX(includes=['v8']) 55 @CONFIG_CTX(includes=['v8'])
70 def v8_valgrind(c): 56 def v8_valgrind(c):
71 c.solutions[0].custom_deps['v8/third_party/valgrind'] = ( 57 c.solutions[0].custom_deps['v8/third_party/valgrind'] = (
72 'https://chromium.googlesource.com/chromium/deps/valgrind/binaries.git') 58 'https://chromium.googlesource.com/chromium/deps/valgrind/binaries.git')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698