Chromium Code Reviews| Index: pylib/gyp/msvs_emulation.py |
| diff --git a/pylib/gyp/msvs_emulation.py b/pylib/gyp/msvs_emulation.py |
| index 3c9fe50a0b0c8dc2614c4ef9d5433782f2aa6a63..1782be3ef91008d3a362534120e1941a631dad84 100644 |
| --- a/pylib/gyp/msvs_emulation.py |
| +++ b/pylib/gyp/msvs_emulation.py |
| @@ -202,7 +202,8 @@ class MsvsSettings(object): |
| def AdjustLibraries(self, libraries): |
| """Strip -l from library if it's specified with that.""" |
| - return [lib[2:] if lib.startswith('-l') else lib for lib in libraries] |
| + libs = [lib[2:] if lib.startswith('-l') else lib for lib in libraries] |
|
scottmg
2013/09/27 20:38:47
nit; extra space before list comprehension
|
| + return [lib + '.lib' if not lib.endswith('.lib') else lib for lib in libs] |
| def _GetAndMunge(self, field, path, default, prefix, append, map): |
| """Retrieve a value from |field| at |path| or return |default|. If |