Bug 1526737 - Enable moz2d's NEON even if windows/aarch64. r=jrmuizel,dmajor

Bug 1516062 turns on NEON when using gcc and clang. But windows compiler uses
clang-cl, so I would like to turn on it even if windows.

Differential Revision: https://phabricator.services.mozilla.com/D19281

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Makoto Kato 2019-02-12 16:21:26 +00:00
Родитель 0b18c766a9
Коммит e9230ae06d
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -222,8 +222,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
'QuartzSupport.mm',
]
if CONFIG['CC_TYPE'] in ('clang', 'gcc') and (CONFIG['CPU_ARCH'] == 'aarch64' or CONFIG['BUILD_ARM_NEON']):
# MSVC cannot use arm_neon.h.
if CONFIG['CC_TYPE'] in ('clang', 'clang-cl', 'gcc') and (CONFIG['CPU_ARCH'] == 'aarch64' or CONFIG['BUILD_ARM_NEON']):
SOURCES += [
'BlurNEON.cpp',
'LuminanceNEON.cpp',