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

Unified Diff: mojo/tools/mopy/config.py

Issue 1540293003: Support for arm64 build. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 4 years, 12 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 | « mojo/tools/mojob.py ('k') | mojo/tools/mopy/gn_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mopy/config.py
diff --git a/mojo/tools/mopy/config.py b/mojo/tools/mopy/config.py
index dfd0ac6076734b16a18e1985e7f1df1430c15a14..506645941c938e06f824c8b50f4332d56b60a2c9 100644
--- a/mojo/tools/mopy/config.py
+++ b/mojo/tools/mopy/config.py
@@ -27,6 +27,7 @@ class Config(object):
ARCH_X86 = "x86"
ARCH_X64 = "x64"
ARCH_ARM = "arm"
+ ARCH_ARM64 = "arm64"
# Valid values for sanitizer (None is also valid):
SANITIZER_ASAN = "asan"
@@ -48,7 +49,7 @@ class Config(object):
Config.OS_IOS, Config.OS_LINUX,
Config.OS_MAC, Config.OS_WINDOWS)
assert target_cpu in (None, Config.ARCH_X86, Config.ARCH_X64,
- Config.ARCH_ARM)
+ Config.ARCH_ARM, Config.ARCH_ARM64)
assert isinstance(is_debug, bool)
assert isinstance(is_official_build, bool)
assert is_clang is None or isinstance(is_clang, bool)
« no previous file with comments | « mojo/tools/mojob.py ('k') | mojo/tools/mopy/gn_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698