Issue #2354 - Restore ARM32 buildability on Linux. Fix ION breakages due to BigInt changes. Fix breakages from libjpeg, libyuv and libvpx upgrades. Restore ARM(32/64) NEON FPU support in libyuv.

This commit is contained in:
Brian Smith 2023-10-25 19:01:38 +00:00 • committed by roytam1
commit cd66a17327
7 changed files with 35 additions and 25 deletions

View file

@ -20,10 +20,26 @@ libyuv_non_unified_sources = [
'source/scale_common.cc',
'source/scale_uv.cc',
]
if CONFIG['CPU_ARCH'] == 'arm':
libyuv_non_unified_sources += [
'source/compare_neon.cc',
'source/rotate_neon.cc',
'source/row_neon.cc',
'source/scale_neon.cc',
]
if CONFIG['CPU_ARCH'] == 'aarch64':
libyuv_non_unified_sources += [
'source/compare_neon64.cc',
'source/rotate_neon64.cc',
'source/row_neon64.cc',
'source/scale_neon64.cc',
]
GYP_DIRS['.'].input = 'libyuv.gyp'
GYP_DIRS['.'].variables = gyp_vars
GYP_DIRS['.'].sandbox_vars['FINAL_LIBRARY'] = 'xul'
GYP_DIRS['.'].non_unified_sources += libyuv_non_unified_sources
GYP_DIRS['.'].non_unified_sources += sorted(libyuv_non_unified_sources)
# We allow warnings for third-party code that can be updated from upstream.
GYP_DIRS['.'].sandbox_vars['ALLOW_COMPILER_WARNINGS'] = True