Bug 1025689 - Disable some libopus ARM features on < ARMv6. r=rillian

This commit is contained in:
Mike Hommey 2014-08-21 07:44:31 +09:00
parent e6a7afaf9b
commit df8f6a49e4

View File

@ -28,10 +28,11 @@ if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['GNU_AS']:
DEFINES['OPUS_ARM_ASM'] = True
DEFINES['OPUS_ARM_EXTERNAL_ASM'] = True
DEFINES['OPUS_ARM_INLINE_ASM'] = True
DEFINES['OPUS_ARM_INLINE_EDSP'] = True
DEFINES['OPUS_ARM_MAY_HAVE_EDSP'] = True
DEFINES['OPUS_ARM_MAY_HAVE_MEDIA'] = True
DEFINES['OPUS_ARM_MAY_HAVE_NEON'] = True
if int(CONFIG['ARM_ARCH']) >= 6:
DEFINES['OPUS_ARM_INLINE_EDSP'] = True
DEFINES['OPUS_ARM_MAY_HAVE_EDSP'] = True
DEFINES['OPUS_ARM_MAY_HAVE_MEDIA'] = True
DEFINES['OPUS_ARM_MAY_HAVE_NEON'] = True
if CONFIG['MOZ_DEBUG']:
DEFINES['ENABLE_ASSERTIONS'] = True