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

Unified Diff: recipes/nacl.py

Issue 824153005: Switching nacl git recipe for fetch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 years, 11 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/nacl.py
diff --git a/recipes/nacl.py b/recipes/nacl.py
index 3d83f44d60ed55c9226583bd68b611bf32942cde..59c824c24f4dfc58d9992d65147beacf6ca15259 100644
--- a/recipes/nacl.py
+++ b/recipes/nacl.py
@@ -19,28 +19,21 @@ class NaCl(recipe_util.Recipe):
solution = {
'name' : 'native_client',
'url' : url,
- 'deps_file' : '.DEPS.git',
+ 'deps_file' : 'DEPS',
'managed' : False,
'custom_deps' : {},
'safesync_url': '',
}
spec = {
'solutions': [solution],
- 'auto': True
}
- if props.get('submodule_git_svn_spec'):
- spec['submodule_git_svn_spec'] = props['submodule_git_svn_spec']
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']
- checkout_type = 'gclient_git_svn'
- if props.get('nosvn'):
- checkout_type = 'gclient_git'
- spec_type = '%s_spec' % checkout_type
return {
- 'type': checkout_type,
- spec_type: spec,
+ 'type': 'gclient_git',
+ 'gclient_git_spec': spec,
}
@staticmethod
« 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