| Index: recipes/depot_tools.py
|
| diff --git a/recipes/chromium.py b/recipes/depot_tools.py
|
| similarity index 77%
|
| copy from recipes/chromium.py
|
| copy to recipes/depot_tools.py
|
| index 4eac6bdbb712dbb2b258a5987a27eab7f2c4570a..249144c250eb0722b03ae6f6bd189148fb10e3bb 100644
|
| --- a/recipes/chromium.py
|
| +++ b/recipes/depot_tools.py
|
| @@ -1,4 +1,4 @@
|
| -# Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +# Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| @@ -9,12 +9,12 @@ import recipe_util # pylint: disable=F0401
|
|
|
| # This class doesn't need an __init__ method, so we disable the warning
|
| # pylint: disable=W0232
|
| -class Chromium(recipe_util.Recipe):
|
| - """Basic Recipe class for Chromium."""
|
| +class DepotTools(recipe_util.Recipe):
|
| + """Basic Recipe class for DepotTools."""
|
|
|
| @staticmethod
|
| def fetch_spec(props):
|
| - url = 'https://chromium.googlesource.com/chromium/src.git'
|
| + url = 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
|
| solution = { 'name' :'src',
|
| 'url' : url,
|
| 'deps_file': '.DEPS.git',
|
| @@ -22,12 +22,10 @@ class Chromium(recipe_util.Recipe):
|
| 'custom_deps': {},
|
| 'safesync_url': '',
|
| }
|
| - if props.get('webkit_rev', '') == 'ToT':
|
| - solution['custom_vars'] = {'webkit_rev': ''}
|
| spec = {
|
| 'solutions': [solution],
|
| 'svn_url': 'svn://svn.chromium.org/chrome',
|
| - 'svn_branch': 'trunk/src',
|
| + 'svn_branch': 'trunk/tools/depot_tools',
|
| 'svn_ref': 'git-svn',
|
| }
|
| if props.get('submodule_git_svn_spec'):
|
| @@ -51,7 +49,7 @@ class Chromium(recipe_util.Recipe):
|
|
|
|
|
| def main(argv=None):
|
| - return Chromium().handle_args(argv)
|
| + return DepotTools().handle_args(argv)
|
|
|
|
|
| if __name__ == '__main__':
|
|
|