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

Unified Diff: recipes/chromium.py

Issue 13910005: Add the --nosvn property to the chromium solution. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: updates Created 7 years, 8 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 | « fetch.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « fetch.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698