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

Unified Diff: build/gyp_chromium

Issue 106243002: Treat cygwin the same as Windows when selecting the GN binary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/gyp_chromium
diff --git a/build/gyp_chromium b/build/gyp_chromium
index 05bc3fa09eb86b2e16a18616b9d69a3e7232b56f..342ceb2eab906b3545ac411e02bc3838065453b3 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -146,7 +146,7 @@ def RunGN(supplemental_includes):
# The binaries in platform-specific subdirectories in src/tools/gn/bin.
gnpath = SRC_DIR + '/tools/gn/bin/'
- if sys.platform == 'win32':
+ if sys.platform in [ 'win32', 'cygwin' ]:
M-A Ruel 2013/12/05 14:38:31 if sys.platform in ('cygwin', 'win32'):
gnpath += 'win/gn.exe'
elif sys.platform.startswith('linux'):
# On Linux we have 32-bit and 64-bit versions.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698