summaryrefslogtreecommitdiffstats
path: root/tools/cr
diff options
context:
space:
mode:
authoranton@chromium.org <anton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-25 17:23:06 +0000
committeranton@chromium.org <anton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-25 17:23:06 +0000
commitf03079f2fd200d9b726c70acec9cdfd8772adb26 (patch)
treeafe906984b0057fe6c0d5a432c3f6716f3fccb9c /tools/cr
parentaa7b03053e1e660c17b9433be9140df570117f2c (diff)
downloadchromium_src-f03079f2fd200d9b726c70acec9cdfd8772adb26.zip
chromium_src-f03079f2fd200d9b726c70acec9cdfd8772adb26.tar.gz
chromium_src-f03079f2fd200d9b726c70acec9cdfd8772adb26.tar.bz2
Add support for arm64 as a CR architecture.
BUG=354405 Review URL: https://codereview.chromium.org/211163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/cr')
-rw-r--r--tools/cr/cr/base/arch.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/cr/cr/base/arch.py b/tools/cr/cr/base/arch.py
index dfc9e16..4973b44 100644
--- a/tools/cr/cr/base/arch.py
+++ b/tools/cr/cr/base/arch.py
@@ -68,3 +68,14 @@ class Arm32Arch(Arch):
@property
def enabled(self):
return cr.AndroidPlatform.GetInstance().is_active
+
+
+class Arm64Arch(Arch):
+
+ ACTIVE = cr.Config.From(
+ CR_ENVSETUP_ARCH='arm64',
+ )
+
+ @property
+ def enabled(self):
+ return cr.AndroidPlatform.GetInstance().is_active