Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(808)

Unified Diff: gn.py

Issue 104763003: Detect cygwin as Win32 for the purposes of running GN and downloading from google storage. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « download_from_google_storage.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gn.py
===================================================================
--- gn.py (revision 238993)
+++ 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 ('cygwin', 'win32'):
gnpath += 'win/gn.exe'
elif sys.platform.startswith('linux'):
gnpath += 'linux/gn'
« no previous file with comments | « download_from_google_storage.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698