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 types | 5 import types |
6 | 6 |
7 from recipe_engine.config import config_item_context, ConfigGroup, BadConf | 7 from recipe_engine.config import config_item_context, ConfigGroup, BadConf |
8 from recipe_engine.config import ConfigList, Dict, Single, Static, Set, List | 8 from recipe_engine.config import ConfigList, Dict, Single, Static, Set, List |
9 | 9 |
10 from . import api as gclient_api | 10 from . import api as gclient_api |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 s.url = ('https://chrome-internal.googlesource.com/' | 414 s.url = ('https://chrome-internal.googlesource.com/' |
415 'chrome/tools/build_limited/scripts/slave.git') | 415 'chrome/tools/build_limited/scripts/slave.git') |
416 c.got_revision_mapping['build_internal/scripts/slave'] = 'got_revision' | 416 c.got_revision_mapping['build_internal/scripts/slave'] = 'got_revision' |
417 # We do not use 'includes' here, because we want build_internal to be the | 417 # We do not use 'includes' here, because we want build_internal to be the |
418 # first solution in the list as run_presubmit computes upstream revision | 418 # first solution in the list as run_presubmit computes upstream revision |
419 # from the first solution. | 419 # from the first solution. |
420 build(c) | 420 build(c) |
421 c.got_revision_mapping['build'] = 'got_build_revision' | 421 c.got_revision_mapping['build'] = 'got_build_revision' |
422 | 422 |
423 @config_ctx() | 423 @config_ctx() |
| 424 def master_deps(c): |
| 425 s = c.solutions.add() |
| 426 s.name = 'build_internal/master.DEPS' |
| 427 s.url = ('https://chrome-internal.googlesource.com/' |
| 428 'chrome/tools/build/master.DEPS.git') |
| 429 c.got_revision_mapping['build_internal/master.DEPS'] = 'got_revision' |
| 430 |
| 431 @config_ctx() |
424 def slave_deps(c): | 432 def slave_deps(c): |
425 s = c.solutions.add() | 433 s = c.solutions.add() |
426 s.name = 'build_internal/slave.DEPS' | 434 s.name = 'build_internal/slave.DEPS' |
427 s.url = ('https://chrome-internal.googlesource.com/' | 435 s.url = ('https://chrome-internal.googlesource.com/' |
428 'chrome/tools/build/slave.DEPS.git') | 436 'chrome/tools/build/slave.DEPS.git') |
429 c.got_revision_mapping['build_internal/slave.DEPS'] = 'got_revision' | 437 c.got_revision_mapping['build_internal/slave.DEPS'] = 'got_revision' |
430 | 438 |
431 @config_ctx() | 439 @config_ctx() |
432 def internal_deps(c): | 440 def internal_deps(c): |
433 s = c.solutions.add() | 441 s = c.solutions.add() |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 soln = c.solutions.add() | 642 soln = c.solutions.add() |
635 soln.name = 'gerrit-test-cq-normal' | 643 soln.name = 'gerrit-test-cq-normal' |
636 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' | 644 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' |
637 | 645 |
638 # TODO(phajdan.jr): Move to proper repo and add coverage. | 646 # TODO(phajdan.jr): Move to proper repo and add coverage. |
639 @config_ctx() | 647 @config_ctx() |
640 def valgrind(c): # pragma: no cover | 648 def valgrind(c): # pragma: no cover |
641 """Add Valgrind binaries to the gclient solution.""" | 649 """Add Valgrind binaries to the gclient solution.""" |
642 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ | 650 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ |
643 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') | 651 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') |
OLD | NEW |