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

Unified Diff: build/get_syzygy_binaries.py

Issue 341183002: Fixed build on Windows with Cygwin (get_syzygy_binaries script). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/get_syzygy_binaries.py
diff --git a/build/get_syzygy_binaries.py b/build/get_syzygy_binaries.py
index b68964dcb42672f80b879cca7a82e122c834e572..05e8072d3dfa48458b7076b53b7f8a85fc3effc9 100755
--- a/build/get_syzygy_binaries.py
+++ b/build/get_syzygy_binaries.py
@@ -300,6 +300,8 @@ def _InstallBinaries(options, deleted={}):
archive.extract(entry.filename, fulldir)
md5 = _Md5(fullpath)
contents[relpath] = md5
+ if sys.platform == 'cygwin':
+ os.chmod(fullpath, os.stat(fullpath).st_mode | stat.S_IXUSR)
return state
@@ -359,7 +361,7 @@ def _ParseCommandLine():
def main():
# We only care about Windows platforms, as the Syzygy binaries aren't used
# elsewhere.
- if sys.platform != 'win32':
+ if sys.platform not in ('win32', 'cygwin'):
return
options = _ParseCommandLine()
« 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