|
|
@ -26,19 +26,12 @@ class Chromium(recipe_util.Recipe):
|
|
|
|
solution['custom_vars'] = {'webkit_rev': ''}
|
|
|
|
solution['custom_vars'] = {'webkit_rev': ''}
|
|
|
|
spec = {
|
|
|
|
spec = {
|
|
|
|
'solutions': [solution],
|
|
|
|
'solutions': [solution],
|
|
|
|
'svn_url': 'svn://svn.chromium.org/chrome',
|
|
|
|
|
|
|
|
'svn_branch': 'trunk/src',
|
|
|
|
|
|
|
|
'svn_ref': 'master',
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if props.get('submodule_git_svn_spec'):
|
|
|
|
|
|
|
|
spec['submodule_git_svn_spec'] = props['submodule_git_svn_spec']
|
|
|
|
|
|
|
|
if props.get('target_os'):
|
|
|
|
if props.get('target_os'):
|
|
|
|
spec['target_os'] = props['target_os'].split(',')
|
|
|
|
spec['target_os'] = props['target_os'].split(',')
|
|
|
|
if props.get('target_os_only'):
|
|
|
|
if props.get('target_os_only'):
|
|
|
|
spec['target_os_only'] = props['target_os_only']
|
|
|
|
spec['target_os_only'] = props['target_os_only']
|
|
|
|
checkout_type = 'gclient_git_svn'
|
|
|
|
checkout_type = 'gclient_git'
|
|
|
|
if props.get('nosvn'):
|
|
|
|
|
|
|
|
checkout_type = 'gclient_git'
|
|
|
|
|
|
|
|
spec_type = '%s_spec' % checkout_type
|
|
|
|
spec_type = '%s_spec' % checkout_type
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
'type': checkout_type,
|
|
|
|
'type': checkout_type,
|
|
|
|