GN: On Linux still fallback to GCC for ARM64 build.

We don't have clang arm64 toolchain.

BUG=
R=kustermann@google.com, sortie@google.com

Review-Url: https://codereview.chromium.org/2867733002 .
This commit is contained in:
Vyacheslav Egorov 2017-05-08 11:30:27 +02:00
parent c2ba323ad4
commit c162e0f011

View file

@ -170,6 +170,8 @@ def ToGnArgs(args, mode, arch, target_os):
# a clang-based sanitizer is specified.
has_clang = (host_os != 'win'
and not gn_args['target_cpu'].startswith('mips')
and not ((gn_args['target_os'] == 'linux') and
(gn_args['target_cpu'] == 'arm64'))
and not ((gn_args['target_os'] == 'linux')
and (gn_args['host_cpu'] == 'x86')
and not args.asan