| 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 | 557 |
| 558 @config_ctx(config_vars={'GIT_MODE': True}) | 558 @config_ctx(config_vars={'GIT_MODE': True}) |
| 559 def infra(c): | 559 def infra(c): |
| 560 soln = c.solutions.add() | 560 soln = c.solutions.add() |
| 561 soln.name = 'infra' | 561 soln.name = 'infra' |
| 562 soln.url = 'https://chromium.googlesource.com/infra/infra.git' | 562 soln.url = 'https://chromium.googlesource.com/infra/infra.git' |
| 563 c.got_revision_mapping['infra'] = 'got_revision' | 563 c.got_revision_mapping['infra'] = 'got_revision' |
| 564 | 564 |
| 565 p = c.patch_projects | 565 p = c.patch_projects |
| 566 p['luci-py'] = ('infra/luci', 'HEAD') | 566 p['luci-py'] = ('infra/luci', 'HEAD') |
| 567 # TODO(phajdan.jr): remove recipes-py when it's not used for project name. |
| 567 p['recipes-py'] = ('infra/recipes-py', 'HEAD') | 568 p['recipes-py'] = ('infra/recipes-py', 'HEAD') |
| 569 p['recipe_engine'] = ('infra/recipes-py', 'HEAD') |
| 568 | 570 |
| 569 @config_ctx(config_vars={'GIT_MODE': True}) | 571 @config_ctx(config_vars={'GIT_MODE': True}) |
| 570 def infra_internal(c): # pragma: no cover | 572 def infra_internal(c): # pragma: no cover |
| 571 soln = c.solutions.add() | 573 soln = c.solutions.add() |
| 572 soln.name = 'infra_internal' | 574 soln.name = 'infra_internal' |
| 573 soln.url = 'https://chrome-internal.googlesource.com/infra/infra_internal.git' | 575 soln.url = 'https://chrome-internal.googlesource.com/infra/infra_internal.git' |
| 574 c.got_revision_mapping['infra_internal'] = 'got_revision' | 576 c.got_revision_mapping['infra_internal'] = 'got_revision' |
| 575 | 577 |
| 576 @config_ctx(includes=['infra']) | 578 @config_ctx(includes=['infra']) |
| 577 def luci_gae(c): | 579 def luci_gae(c): |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 soln = c.solutions.add() | 683 soln = c.solutions.add() |
| 682 soln.name = 'gerrit-test-cq-normal' | 684 soln.name = 'gerrit-test-cq-normal' |
| 683 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' | 685 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' |
| 684 | 686 |
| 685 # TODO(phajdan.jr): Move to proper repo and add coverage. | 687 # TODO(phajdan.jr): Move to proper repo and add coverage. |
| 686 @config_ctx() | 688 @config_ctx() |
| 687 def valgrind(c): # pragma: no cover | 689 def valgrind(c): # pragma: no cover |
| 688 """Add Valgrind binaries to the gclient solution.""" | 690 """Add Valgrind binaries to the gclient solution.""" |
| 689 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ | 691 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ |
| 690 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') | 692 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') |
| OLD | NEW |