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

Unified Diff: third_party/binutils/download.py

Issue 263483003: Linux: Handle GYP_DEFINES="host_arch=x86_64" in third_party/binutils/download.py. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 8 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: third_party/binutils/download.py
===================================================================
--- third_party/binutils/download.py (revision 267064)
+++ third_party/binutils/download.py (working copy)
@@ -42,7 +42,11 @@
gyp_host_arch = re.search(
'host_arch=([^ ]*)', os.environ.get('GYP_DEFINES', ''))
if gyp_host_arch:
- return gyp_host_arch.group(1)
+ arch = gyp_host_arch.group(1)
+ # This matches detect_host_arch.py.
+ if arch == 'x86_64':
+ return 'x64'
+ return arch
return subprocess.check_output(['python', DETECT_HOST_ARCH]).strip()
« 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