mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
MoonchildProductions/UXP#2897: Import upstream libyuv fixes to fix Clang compilation on Loongarch64
This commit is contained in:
parent
59c74b71e2
commit
5dc90752dd
4 changed files with 1377 additions and 156 deletions
|
|
@ -35,6 +35,13 @@ if CONFIG['CPU_ARCH'] == 'aarch64':
|
|||
'source/row_neon64.cc',
|
||||
'source/scale_neon64.cc',
|
||||
]
|
||||
if CONFIG['CPU_ARCH'] == 'loongarch64':
|
||||
libyuv_non_unified_sources += [
|
||||
'source/rotate_lsx.cc',
|
||||
'source/row_lasx.cc',
|
||||
'source/row_lsx.cc',
|
||||
'source/scale_lsx.cc',
|
||||
]
|
||||
|
||||
GYP_DIRS['.'].input = 'libyuv.gyp'
|
||||
GYP_DIRS['.'].variables = gyp_vars
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue