Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: recipes/breakpad.py

Issue 1325603003: Add breakpad fetch recipe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698