Index: recipes/chromium.py |
diff --git a/recipes/chromium.py b/recipes/chromium.py |
index 3933d5be1f947167e09c1a3f53eca90c1f4e2e1b..b9156ed926c8cbd484dd1641e7c260fc95dfc2fa 100644 |
--- a/recipes/chromium.py |
+++ b/recipes/chromium.py |
@@ -30,9 +30,13 @@ class Chromium(recipe_util.Recipe): |
} |
if props.get('submodule_git_svn_spec'): |
spec['submodule_git_svn_spec'] = props['submodule_git_svn_spec'] |
+ checkout_type = 'gclient_git_svn' |
+ if props.get('nosvn'): |
agable
2013/04/11 18:00:18
Due to current options processing (which I'm in th
|
+ checkout_type = 'gclient_git' |
+ spec_type = '%s_spec' % checkout_type |
return { |
- 'type': 'gclient_git_svn', |
- 'gclient_git_svn_spec': spec |
+ 'type': checkout_type, |
+ spec_type: spec |
} |
@staticmethod |