| 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 slave.recipe_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): This is copied from gclient's config.py and should be |
| 11 # unified somehow. | 11 # unified somehow. |
| 12 def ChromiumSvnSubURL(c, *pieces): | 12 def ChromiumSvnSubURL(c, *pieces): |
| 13 BASES = ('https://src.chromium.org', | 13 BASES = ('https://src.chromium.org', |
| 14 'svn://svn-mirror.golo.chromium.org') | 14 'svn://svn-mirror.golo.chromium.org') |
| 15 return '/'.join((BASES[c.USE_MIRROR],) + pieces) | 15 return '/'.join((BASES[c.USE_MIRROR],) + pieces) |
| 16 | 16 |
| 17 | 17 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 39 def dynamorio(c): | 39 def dynamorio(c): |
| 40 soln = c.solutions.add() | 40 soln = c.solutions.add() |
| 41 soln.name = 'dynamorio' | 41 soln.name = 'dynamorio' |
| 42 soln.url = 'https://chromium.googlesource.com/external/dynamorio' | 42 soln.url = 'https://chromium.googlesource.com/external/dynamorio' |
| 43 | 43 |
| 44 | 44 |
| 45 @CONFIG_CTX(includes=['v8']) | 45 @CONFIG_CTX(includes=['v8']) |
| 46 def mozilla_tests(c): | 46 def mozilla_tests(c): |
| 47 c.solutions[0].custom_deps['v8/test/mozilla/data'] = ChromiumSvnSubURL( | 47 c.solutions[0].custom_deps['v8/test/mozilla/data'] = ChromiumSvnSubURL( |
| 48 c, 'chrome', 'trunk', 'deps', 'third_party', 'mozilla-tests') | 48 c, 'chrome', 'trunk', 'deps', 'third_party', 'mozilla-tests') |
| OLD | NEW |