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

Unified Diff: build/detect_v8_host_arch.py

Issue 371923006: Add mips64 port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove clobbered test-assembler-mips from CL. Created 6 years, 5 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 | « Makefile ('k') | build/standalone.gypi » ('j') | src/base/cpu.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/detect_v8_host_arch.py
diff --git a/build/detect_v8_host_arch.py b/build/detect_v8_host_arch.py
index f66383b5c5fdbeadeebf216ee538fd8ddb1d6b98..85c6f79852a02ae096232b3e2552168c22f0fa12 100644
--- a/build/detect_v8_host_arch.py
+++ b/build/detect_v8_host_arch.py
@@ -41,7 +41,6 @@ def DoMain(_):
"""Hook to be called from gyp without starting a separate python
interpreter."""
host_arch = platform.machine()
danno 2014/07/08 09:01:19 nit: please add extraneously removed line back in.
dusmil 2014/07/08 11:03:41 Done.
-
# Convert machine type to format recognized by gyp.
if re.match(r'i.86', host_arch) or host_arch == 'i86pc':
host_arch = 'ia32'
@@ -51,6 +50,8 @@ def DoMain(_):
host_arch = 'arm'
elif host_arch == 'aarch64':
host_arch = 'arm64'
+ elif host_arch == 'mips64':
+ host_arch = 'mips64el'
elif host_arch.startswith('mips'):
host_arch = 'mipsel'
« no previous file with comments | « Makefile ('k') | build/standalone.gypi » ('j') | src/base/cpu.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698