Chromium Code Reviews| Index: gn.py |
| =================================================================== |
| --- gn.py (revision 238894) |
| +++ gn.py (working copy) |
| @@ -43,7 +43,7 @@ |
| def RunGN(sourceroot): |
| # The binaries in platform-specific subdirectories in src/tools/gn/bin. |
| gnpath = sourceroot + '/tools/gn/bin/' |
| - if sys.platform == 'win32': |
| + if sys.platform in ['win32', 'cygwin']: |
|
M-A Ruel
2013/12/05 14:37:58
if sys.platform in ('cygwin', 'win32'):
|
| gnpath += 'win/gn.exe' |
| elif sys.platform.startswith('linux'): |
| gnpath += 'linux/gn' |