| 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 ChromiumGitURL = DEPS['gclient'].config.ChromiumGitURL |
| 8 | 8 |
| 9 | 9 |
| 10 @CONFIG_CTX() | 10 @CONFIG_CTX() |
| 11 def v8(c): | 11 def v8(c): |
| 12 soln = c.solutions.add() | 12 soln = c.solutions.add() |
| 13 soln.name = 'v8' | 13 soln.name = 'v8' |
| 14 soln.url = 'https://chromium.googlesource.com/v8/v8' | 14 soln.url = ChromiumGitURL(c, 'v8', 'v8') |
| 15 c.got_revision_mapping['v8'] = 'got_revision' | 15 c.got_revision_mapping['v8'] = 'got_revision' |
| 16 # Needed to get the testers to properly sync the right revision. | 16 # Needed to get the testers to properly sync the right revision. |
| 17 # 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 |
| 18 # them instead of this gclient garbage. | 18 # them instead of this gclient garbage. |
| 19 c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision' | 19 c.parent_got_revision_mapping['parent_got_revision'] = 'got_revision' |
| 20 | 20 |
| 21 p = c.patch_projects | 21 p = c.patch_projects |
| 22 p['icu'] = ('v8/third_party/icu', 'HEAD') | 22 p['icu'] = ('v8/third_party/icu', 'HEAD') |
| 23 | 23 |
| 24 | 24 |
| 25 @CONFIG_CTX(includes=['v8']) | 25 @CONFIG_CTX(includes=['v8']) |
| 26 def dynamorio(c): | 26 def dynamorio(c): |
| 27 soln = c.solutions.add() | 27 soln = c.solutions.add() |
| 28 soln.name = 'dynamorio' | 28 soln.name = 'dynamorio' |
| 29 soln.url = 'https://chromium.googlesource.com/external/dynamorio' | 29 soln.url = ChromiumGitURL(c, 'external', 'dynamorio') |
| 30 | 30 |
| 31 | 31 |
| 32 @CONFIG_CTX(includes=['v8']) | 32 @CONFIG_CTX(includes=['v8']) |
| 33 def llvm_compiler_rt(c): | 33 def llvm_compiler_rt(c): |
| 34 c.solutions[0].custom_deps['v8/third_party/llvm/projects/compiler-rt'] = ( | 34 c.solutions[0].custom_deps['v8/third_party/llvm/projects/compiler-rt'] = ( |
| 35 'https://chromium.googlesource.com/external/llvm.org/compiler-rt.git') | 35 ChromiumGitURL(c, 'external', 'llvm.org', 'compiler-rt')) |
| 36 | 36 |
| 37 | 37 |
| 38 @CONFIG_CTX() | 38 @CONFIG_CTX() |
| 39 def node_js(c): | 39 def node_js(c): |
| 40 soln = c.solutions.add() | 40 soln = c.solutions.add() |
| 41 soln.name = 'node.js' | 41 soln.name = 'node.js' |
| 42 soln.url = 'https://chromium.googlesource.com/external/github.com/v8/node' | 42 soln.url = ChromiumGitURL(c, 'external', 'github.com', 'v8', 'node') |
| 43 soln.revision = 'vee-eight-lkgr:HEAD' | 43 soln.revision = 'vee-eight-lkgr:HEAD' |
| 44 c.got_revision_mapping[soln.name] = 'got_node_js_revision' | 44 c.got_revision_mapping[soln.name] = 'got_node_js_revision' |
| 45 | 45 |
| 46 | 46 |
| 47 @CONFIG_CTX(includes=['v8']) | 47 @CONFIG_CTX(includes=['v8']) |
| 48 def v8_valgrind(c): | 48 def v8_valgrind(c): |
| 49 c.solutions[0].custom_deps['v8/third_party/valgrind'] = ( | 49 c.solutions[0].custom_deps['v8/third_party/valgrind'] = ( |
| 50 'https://chromium.googlesource.com/chromium/deps/valgrind/binaries.git') | 50 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries')) |
| OLD | NEW |