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

Unified Diff: tools/utils.py

Issue 6525028: Cygwin support (Closed)
Patch Set: Address issues Created 9 years, 10 months 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 | « src/platform-cygwin.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/utils.py
diff --git a/tools/utils.py b/tools/utils.py
index 8083091b6d38f7af0461b02f4460be8853fe7bb1..fb94d14186570a739011159cab181f5197e87f59 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -49,6 +49,8 @@ def GuessOS():
return 'linux'
elif id == 'Darwin':
return 'macos'
+ elif id.find('CYGWIN') >= 0:
+ return 'cygwin'
elif id == 'Windows' or id == 'Microsoft':
# On Windows Vista platform.system() can return 'Microsoft' with some
# versions of Python, see http://bugs.python.org/issue1082
« no previous file with comments | « src/platform-cygwin.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698