summaryrefslogtreecommitdiffstats
path: root/third_party/cld
diff options
context:
space:
mode:
authorsdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-11 18:29:17 +0000
committersdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-11 18:29:17 +0000
commit4a72f24adf78eef69fb8025b86f293d239a29ccc (patch)
treeb35e8d856ce4a59ff62c30b70828cfffcad02963 /third_party/cld
parentfdb7247c10563097f64dabb789462ba205f03bd6 (diff)
downloadchromium_src-4a72f24adf78eef69fb8025b86f293d239a29ccc.zip
chromium_src-4a72f24adf78eef69fb8025b86f293d239a29ccc.tar.gz
chromium_src-4a72f24adf78eef69fb8025b86f293d239a29ccc.tar.bz2
Add support for arm64 architecture
BUG=314720 R=mad@chromium.org TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/153273006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/cld')
-rw-r--r--third_party/cld/README.chromium3
-rw-r--r--third_party/cld/base/build_config.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/third_party/cld/README.chromium b/third_party/cld/README.chromium
index 35074cc..865ba58 100644
--- a/third_party/cld/README.chromium
+++ b/third_party/cld/README.chromium
@@ -10,3 +10,6 @@ The CLD is used to determine the language of text.
This library is open source Google code. It is currently only
available from the Chromium tree, and not well-documented otherwise.
+
+Local Modifications:
+ * Add support for arm64 architecture
diff --git a/third_party/cld/base/build_config.h b/third_party/cld/base/build_config.h
index 3f64d2c..8282028 100644
--- a/third_party/cld/base/build_config.h
+++ b/third_party/cld/base/build_config.h
@@ -89,6 +89,11 @@
#define ARCH_CPU_ARMEL 1
#define ARCH_CPU_32_BITS 1
#define WCHAR_T_IS_UNSIGNED 1
+#elif defined(__arm64__)
+#define ARCH_CPU_ARM_FAMILY 1
+#define ARCH_CPU_ARM64 1
+#define ARCH_CPU_64_BITS 1
+#define WCHAR_T_IS_UNSIGNED 1
#elif defined(__MIPSEL__)
#define ARCH_CPU_MIPS_FAMILY 1
#define ARCH_CPU_MIPSEL 1