Chromium Code Reviews| Index: pylib/gyp/win_tool.py |
| =================================================================== |
| --- pylib/gyp/win_tool.py (revision 1839) |
| +++ pylib/gyp/win_tool.py (working copy) |
| @@ -48,7 +48,8 @@ |
| for arg in args: |
| m = _LINK_EXE_OUT_ARG.match(arg) |
| if m: |
| - endpoint_name = '%s_%d' % (m.group('out'), os.getpid()) |
| + endpoint_name = re.sub(r'\W+', '', |
| + '%s_%d' % (m.group('out'), os.getpid())) |
| break |
| if endpoint_name is None: |