Index: tools/utils.py |
diff --git a/tools/utils.py b/tools/utils.py |
index aaef94c40c3d7cc7352e0d3a48368f36b3c5d53b..f2f07048cbad601508cb6d51cd8baac6c4cdf9b5 100644 |
--- a/tools/utils.py |
+++ b/tools/utils.py |
@@ -52,6 +52,8 @@ def GuessArchitecture(): |
os_id = platform.machine() |
if os_id.startswith('armv5te'): |
return 'armv5te' |
+ elif os_id.startswith('armv6'): |
+ return 'armv6' |
elif os_id.startswith('arm'): |
return 'arm' |
elif os_id.startswith('aarch64'): |
@@ -228,10 +230,12 @@ ARCH_FAMILY = { |
'ia32': 'ia32', |
'x64': 'ia32', |
'arm': 'arm', |
+ 'armv6': 'arm', |
'armv5te': 'arm', |
'arm64': 'arm', |
'mips': 'mips', |
'simarm': 'ia32', |
+ 'simarmv6': 'ia32', |
'simarmv5te': 'ia32', |
'simmips': 'ia32', |
'simarm64': 'ia32', |
@@ -581,6 +585,9 @@ def DartBinary(): |
# TODO(zra): This binary does not exist, yet. Check one in once we have |
# sufficient stability. |
return os.path.join(dart_binary_prefix, system, 'dart-armv5te') |
+ elif arch == 'armv6': |
+ # TODO(zra): Ditto. |
+ return os.path.join(dart_binary_prefix, system, 'dart-armv6') |
elif arch == 'arm': |
return os.path.join(dart_binary_prefix, system, 'dart-arm') |
elif arch == 'arm64': |