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

Unified Diff: tools/utils.py

Issue 1408783005: Change default build and test architecture to x64. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 7b203aac978e948d1876e7b4d252a16d2b7b4d32..a6e7f5181c9ab850ab2433461307519d18095d71 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -58,12 +58,12 @@ def GuessArchitecture():
return 'arm64'
elif os_id.startswith('mips'):
return 'mips'
+ elif '64' in os_id:
+ return 'x64'
elif (not os_id) or (not re.match('(x|i[3-6])86', os_id) is None):
return 'ia32'
elif os_id == 'i86pc':
return 'ia32'
- elif '64' in os_id:
- return 'x64'
else:
guess_os = GuessOS()
print "Warning: Guessing architecture %s based on os %s\n"\
« 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