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

Unified Diff: tools/utils.py

Issue 1624593002: Adds targets for simarmv6 and armv6 (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add xcode settings for simarmv6 and v5te Created 4 years, 11 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/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
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':
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698