| Index: recipe_modules/gclient/api.py
|
| diff --git a/recipe_modules/gclient/api.py b/recipe_modules/gclient/api.py
|
| index 7565fed62b3892c592abc10494f181779a8a6172..66576b6cdc6f73f9746ca2fbbdca00da6789613e 100644
|
| --- a/recipe_modules/gclient/api.py
|
| +++ b/recipe_modules/gclient/api.py
|
| @@ -375,5 +375,11 @@ class GclientApi(recipe_api.RecipeApi):
|
| assert patch_project is None or isinstance(patch_project, basestring)
|
| cfg = gclient_config or self.c
|
| path, revision = cfg.patch_projects.get(patch_project, (None, None))
|
| +
|
| + # TODO(kjellander): Remove this hack when http://crbug.com/611808 is fixed.
|
| + if patch_project == 'webrtc' and path == 'src/third_party':
|
| + assert revision == 'HEAD', 'revision was %s' % revision
|
| + path = 'src/third_party/webrtc'
|
| +
|
| if path and revision and path not in cfg.revisions:
|
| cfg.revisions[path] = revision
|
|
|