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:
Andrew Osmond 2019-05-09 17:13:45 -04:00
parent 086ae9c208
commit 803f797714
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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')