mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1551084 - Part 2. Make QCMS transform files use C++. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D30819 --HG-- rename : gfx/qcms/transform-altivec.c => gfx/qcms/transform-altivec.cpp rename : gfx/qcms/transform-sse1.c => gfx/qcms/transform-sse1.cpp rename : gfx/qcms/transform-sse2.c => gfx/qcms/transform-sse2.cpp rename : gfx/qcms/transform.c => gfx/qcms/transform.cpp
This commit is contained in:
parent
086ae9c208
commit
803f797714
2
CLOBBER
2
CLOBBER
@ -22,4 +22,4 @@
|
||||
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
|
||||
# don't change CLOBBER for WebIDL changes any more.
|
||||
|
||||
Merge day clobber
|
||||
Bug 1551084 - Part 2. Make QCMS transform files use C++. r=miko
|
||||
|
@ -13,7 +13,7 @@ SOURCES += [
|
||||
'chain.c',
|
||||
'iccread.c',
|
||||
'matrix.c',
|
||||
'transform.c',
|
||||
'transform.cpp',
|
||||
'transform_util.c',
|
||||
]
|
||||
|
||||
@ -36,16 +36,16 @@ elif CONFIG['HAVE_ALTIVEC']:
|
||||
use_altivec = True
|
||||
|
||||
if use_sse1:
|
||||
SOURCES += ['transform-sse1.c']
|
||||
SOURCES['transform-sse1.c'].flags += CONFIG['SSE_FLAGS']
|
||||
SOURCES += ['transform-sse1.cpp']
|
||||
SOURCES['transform-sse1.cpp'].flags += CONFIG['SSE_FLAGS']
|
||||
|
||||
if use_sse2:
|
||||
SOURCES += ['transform-sse2.cpp']
|
||||
SOURCES['transform-sse2.cpp'].flags += CONFIG['SSE2_FLAGS']
|
||||
|
||||
if use_altivec:
|
||||
SOURCES += ['transform-altivec.c']
|
||||
SOURCES['transform-altivec.c'].flags += ['-maltivec']
|
||||
SOURCES += ['transform-altivec.cpp']
|
||||
SOURCES['transform-altivec.cpp'].flags += ['-maltivec']
|
||||
|
||||
include('/tools/fuzzing/libfuzzer-config.mozbuild')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user