| Index: recipes/chromium.py
|
| diff --git a/recipes/chromium.py b/recipes/chromium.py
|
| index 3933d5be1f947167e09c1a3f53eca90c1f4e2e1b..0f4e8f88eefe4265cef4ff0a1913ef393581085c 100644
|
| --- a/recipes/chromium.py
|
| +++ b/recipes/chromium.py
|
| @@ -24,16 +24,26 @@ class Chromium(recipe_util.Recipe):
|
| solution['custom_vars'] = {'webkit_rev': ''}
|
| spec = {
|
| 'solutions': [solution],
|
| - 'svn_url': 'svn://svn.chromium.org/chrome',
|
| - 'svn_branch': 'trunk/src',
|
| - 'svn_ref': 'git-svn',
|
| - }
|
| - if props.get('submodule_git_svn_spec'):
|
| - spec['submodule_git_svn_spec'] = props['submodule_git_svn_spec']
|
| - return {
|
| - 'type': 'gclient_git_svn',
|
| - 'gclient_git_svn_spec': spec
|
| }
|
| + if props.get('anonymous', 'False') != 'True':
|
| + spec.update({
|
| + 'svn_url': 'svn://svn.chromium.org/chrome',
|
| + 'svn_branch': 'trunk/src',
|
| + 'svn_ref': 'git-svn',
|
| + })
|
| + if props.get('submodule_git_svn_spec'):
|
| + spec.update({
|
| + 'submodule_git_svn_spec': props['submodule_git_svn_spec']
|
| + })
|
| + return {
|
| + 'type': 'gclient_git_svn',
|
| + 'gclient_git_svn_spec': spec
|
| + }
|
| + else:
|
| + return {
|
| + 'type': 'gclient_git',
|
| + 'gclient_git_spec': spec,
|
| + }
|
|
|
| @staticmethod
|
| def expected_root(_props):
|
|
|