Chromium Code Reviews| Index: recipes/breakpad.py |
| diff --git a/recipes/mojo.py b/recipes/breakpad.py |
| similarity index 67% |
| copy from recipes/mojo.py |
| copy to recipes/breakpad.py |
| index f7316ace9299b1066e1b315ba165fdf6fd372280..de4316bdced7c298f17a5597ec8d7ce9072b7d06 100644 |
| --- a/recipes/mojo.py |
| +++ b/recipes/breakpad.py |
| @@ -1,4 +1,4 @@ |
| -# Copyright 2014 The Chromium Authors. All rights reserved. |
| +# Copyright (c) 2015 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,17 +9,14 @@ import recipe_util # pylint: disable=F0401 |
| # This class doesn't need an __init__ method, so we disable the warning |
| # pylint: disable=W0232 |
| -class Mojo(recipe_util.Recipe): |
| - """Basic Recipe class for Mojo.""" |
| - |
| +class Breakpad(recipe_util.Recipe): |
| @staticmethod |
| def fetch_spec(props): |
| - url = 'https://github.com/domokit/mojo.git' |
| + url = 'https://chromium.googlesource.com/breakpad/breakpad.git' |
| solution = { |
| - 'name' :'src', |
| - 'url' : url, |
| - 'deps_file': 'DEPS', |
| - 'managed' : False, |
| + 'name': 'src', |
|
iannucci
2015/08/31 19:05:35
"src"
ugh, I hate gclient :(
|
| + 'url': url, |
| + 'managed': False, |
| 'custom_deps': {}, |
| 'safesync_url': '', |
| } |
| @@ -28,6 +25,8 @@ class Mojo(recipe_util.Recipe): |
| } |
| if props.get('target_os'): |
| spec['target_os'] = props['target_os'].split(',') |
| + if props.get('target_os_only'): |
| + spec['target_os_only'] = props['target_os_only'] |
| return { |
| 'type': 'gclient_git', |
| 'gclient_git_spec': spec, |
| @@ -39,7 +38,7 @@ class Mojo(recipe_util.Recipe): |
| def main(argv=None): |
| - return Mojo().handle_args(argv) |
| + return Breakpad().handle_args(argv) |
| if __name__ == '__main__': |