Chromium Code Reviews| Index: build/landmines.py |
| =================================================================== |
| --- build/landmines.py (revision 206100) |
| +++ build/landmines.py (working copy) |
| @@ -69,7 +69,7 @@ |
| @memoize() |
| def gyp_msvs_version(): |
| val = os.environ.get('GYP_MSVS_VERSION', '') |
| - return int(val) if val else None |
| + return val if val else None |
|
iannucci
2013/06/13 18:12:44
Actually, you can just make this
return os.enviro
robliao
2013/06/13 18:27:31
Done.
|
| @memoize() |
| def distributor(): |
| @@ -154,7 +154,7 @@ |
| if platform() == 'mac': |
| add('Switching from bundle to unbundled dylib (issue 14743002).') |
| if (platform() == 'win' and builder() == 'ninja' and |
| - gyp_msvs_version() == 2012 and |
| + gyp_msvs_version() == '2012' and |
| gyp_defines().get('target_arch') == 'x64' and |
| gyp_defines().get('dcheck_always_on') == '1'): |
| add("Switched win x64 trybots from VS2010 to VS2012.") |