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

Unified Diff: tools/utils.py

Issue 192593003: Add checked-in binary for mips architecture to tools/testing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « tools/testing/bin/linux/dart-mips ('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 a8ad21d307fbff86d5acc8971f3ade9c49d612f2..81c07fbb9a1a93cd9f1d9985fab7b9a79a23cb01 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -50,6 +50,8 @@ def GuessArchitecture():
id = platform.machine()
if id.startswith('arm'):
return 'arm'
+ elif id.startswith('mips'):
+ return 'mips'
elif (not id) or (not re.match('(x|i[3-6])86', id) is None):
return 'ia32'
elif id == 'i86pc':
@@ -503,6 +505,8 @@ def DartBinary():
system = GuessOS()
if arch == 'arm':
return os.path.join(dart_binary_prefix, system, 'dart-arm')
+ elif arch == 'mips':
+ return os.path.join(dart_binary_prefix, system, 'dart-mips')
else:
return os.path.join(dart_binary_prefix, system, 'dart')
« no previous file with comments | « tools/testing/bin/linux/dart-mips ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698