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

Unified Diff: tools/utils.py

Issue 311413002: Changes for running tests on arm64 hardware. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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
« runtime/vm/runtime_entry_arm64.cc ('K') | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/utils.py
===================================================================
--- tools/utils.py (revision 37032)
+++ tools/utils.py (working copy)
@@ -50,6 +50,8 @@
id = platform.machine()
if id.startswith('arm'):
return 'arm'
+ elif id.startswith('aarch64'):
+ return 'arm64'
elif id.startswith('mips'):
return 'mips'
elif (not id) or (not re.match('(x|i[3-6])86', id) is None):
@@ -528,6 +530,8 @@
system = GuessOS()
if arch == 'arm':
return os.path.join(dart_binary_prefix, system, 'dart-arm')
+ elif arch == 'arm64':
+ return os.path.join(dart_binary_prefix, system, 'dart-arm64')
elif arch == 'mips':
return os.path.join(dart_binary_prefix, system, 'dart-mips')
else:
« runtime/vm/runtime_entry_arm64.cc ('K') | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698