Chromium Code Reviews| Index: recipes/blink.py |
| diff --git a/recipes/blink.py b/recipes/blink.py |
| index fba16fb1564c474166e8d67862c46f8afbce3469..3390dcfa2fb6370b25cacf3e730ce14e886b1485 100644 |
| --- a/recipes/blink.py |
| +++ b/recipes/blink.py |
| @@ -13,17 +13,19 @@ class Blink(recipe_util.Recipe): |
| @staticmethod |
| def fetch_spec(props): |
| - submodule_spec = { |
| - 'third_party/WebKit': { |
| - 'svn_url': 'svn://svn.chromium.org/blink/trunk', |
| - 'svn_branch': 'trunk', |
| - 'svn_ref': 'master', |
| + new_props = ['--webkit_rev=ToT'] |
| + if props.get('anonymous', 'False') != 'True': |
|
Dirk Pranke
2013/04/06 01:45:25
I saw the comment, but clearly at some point this
|
| + submodule_spec = { |
| + 'third_party/WebKit': { |
| + 'svn_url': 'svn://svn.chromium.org/blink/trunk', |
| + 'svn_branch': 'trunk', |
| + 'svn_ref': 'master', |
| + } |
| } |
| - } |
| + new_props += ['--submodule_git_svn_spec=' + json.dumps(submodule_spec)] |
| return {'alias': { |
| 'recipe': 'chromium', |
| - 'props': ['--webkit_rev=ToT', |
| - '--submodule_git_svn_spec=' + json.dumps(submodule_spec)] |
| + 'props': new_props, |
| } |
| } |