Commit 885361a6 authored by iannucci@chromium.org's avatar iannucci@chromium.org

Add expect_tests and testing_support to infra recipe.

For more better access :)

R=eseidel@chromium.org, stip@chromium.org
BUG=

Review URL: https://codereview.chromium.org/466923002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@290190 0039d316-1c4b-4281-b951-d872f2087c98
parent a5a945a1
...@@ -13,16 +13,21 @@ class Infra(recipe_util.Recipe): ...@@ -13,16 +13,21 @@ class Infra(recipe_util.Recipe):
"""Basic Recipe class for the Infrastructure repositories.""" """Basic Recipe class for the Infrastructure repositories."""
@staticmethod @staticmethod
def fetch_spec(props): def fetch_spec(_props):
url = 'https://chromium.googlesource.com/infra/infra.git' solution = lambda name, path_infix = None: {
solution = { 'name' : name,
'name' : 'infra', 'url' : 'https://chromium.googlesource.com/infra/%s%s.git' % (
'url' : url, path_infix + '/' if path_infix else '', name
'deps_file': 'DEPS', ),
'managed' : False, 'deps_file': 'DEPS',
'managed' : False,
} }
spec = { spec = {
'solutions': [solution], 'solutions': [
solution('infra'),
solution('expect_tests', 'testing'),
solution('testing_support', 'testing'),
],
} }
return { return {
'type': 'gclient_git', 'type': 'gclient_git',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment