| 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 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): Remove this. | |
| 11 def ChromiumSvnTrunkURL(c, *pieces): | |
| 12 BASES = ('https://src.chromium.org/svn/trunk', | |
| 13 'svn://svn-mirror.golo.chromium.org/chrome/trunk') | |
| 14 return '/'.join((BASES[c.USE_MIRROR],) + pieces) | |
| 15 | |
| 16 | |
| 17 @CONFIG_CTX() | 10 @CONFIG_CTX() |
| 18 def v8(c): | 11 def v8(c): |
| 19 soln = c.solutions.add() | 12 soln = c.solutions.add() |
| 20 soln.name = 'v8' | 13 soln.name = 'v8' |
| 21 soln.url = 'https://chromium.googlesource.com/v8/v8' | 14 soln.url = 'https://chromium.googlesource.com/v8/v8' |
| 22 soln.custom_vars = {'chromium_trunk': ChromiumSvnTrunkURL(c)} | |
| 23 c.got_revision_mapping['v8'] = 'got_revision' | 15 c.got_revision_mapping['v8'] = 'got_revision' |
| 24 # Needed to get the testers to properly sync the right revision. | 16 # Needed to get the testers to properly sync the right revision. |
| 25 # TODO(infra): Upload full buildspecs for every build to isolate and then use | 17 # TODO(infra): Upload full buildspecs for every build to isolate and then use |
| 26 # them instead of this gclient garbage. | 18 # them instead of this gclient garbage. |
| 27 c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision' | 19 c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision' |
| 28 | 20 |
| 29 p = c.patch_projects | 21 p = c.patch_projects |
| 30 p['icu'] = ('v8/third_party/icu', 'HEAD') | 22 p['icu'] = ('v8/third_party/icu', 'HEAD') |
| 31 | 23 |
| 32 | 24 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 49 soln.name = 'node.js' | 41 soln.name = 'node.js' |
| 50 soln.url = 'https://chromium.googlesource.com/external/github.com/v8/node' | 42 soln.url = 'https://chromium.googlesource.com/external/github.com/v8/node' |
| 51 soln.revision = 'vee-eight-lkgr:HEAD' | 43 soln.revision = 'vee-eight-lkgr:HEAD' |
| 52 c.got_revision_mapping[soln.name] = 'got_node_js_revision' | 44 c.got_revision_mapping[soln.name] = 'got_node_js_revision' |
| 53 | 45 |
| 54 | 46 |
| 55 @CONFIG_CTX(includes=['v8']) | 47 @CONFIG_CTX(includes=['v8']) |
| 56 def v8_valgrind(c): | 48 def v8_valgrind(c): |
| 57 c.solutions[0].custom_deps['v8/third_party/valgrind'] = ( | 49 c.solutions[0].custom_deps['v8/third_party/valgrind'] = ( |
| 58 'https://chromium.googlesource.com/chromium/deps/valgrind/binaries.git') | 50 'https://chromium.googlesource.com/chromium/deps/valgrind/binaries.git') |
| OLD | NEW |