Chromium Code Reviews| Index: pylib/gyp/input.py |
| =================================================================== |
| --- pylib/gyp/input.py (revision 1106) |
| +++ pylib/gyp/input.py (working copy) |
| @@ -736,7 +736,7 @@ |
| output = replacement[:] |
| else: |
| # Split it the same way sh would split arguments. |
| - output = shlex.split(str(replacement)) |
| + output = shlex.split(str(replacement).replace('\\', '\\\\')) |
|
Mark Mentovai
2011/12/14 17:53:54
Are you sure that this is right? Seems perverse. T
tony
2011/12/14 18:41:39
Backslash is only special when being passed to a c
|
| else: |
| # Expanding in string context. |
| encoded_replacement = '' |