diff options
Diffstat (limited to 'gfx/2d/moz.build')
-rw-r--r-- | gfx/2d/moz.build | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gfx/2d/moz.build b/gfx/2d/moz.build index 4f437d575a..b2d48c8427 100644 --- a/gfx/2d/moz.build +++ b/gfx/2d/moz.build @@ -62,7 +62,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'uikit'): EXPORTS.mozilla.gfx += [ 'MacIOSurface.h', ] - SOURCES += [ + UNIFIED_SOURCES += [ 'NativeFontResourceMac.cpp', 'PathCG.cpp', 'ScaledFontMac.cpp', @@ -94,8 +94,10 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'): ] if CONFIG['MOZ_ENABLE_SKIA']: - SOURCES += [ + UNIFIED_SOURCES += [ 'convolver.cpp', + ] + SOURCES += [ 'DrawTargetSkia.cpp', 'image_operations.cpp', # Uses _USE_MATH_DEFINES 'PathSkia.cpp', @@ -140,7 +142,7 @@ elif CONFIG['CPU_ARCH'].startswith('mips'): 'convolverLS3.cpp', ] -SOURCES += [ +UNIFIED_SOURCES += [ 'BezierUtils.cpp', 'Blur.cpp', 'DataSourceSurface.cpp', @@ -153,7 +155,6 @@ SOURCES += [ 'DrawTargetDual.cpp', 'DrawTargetRecording.cpp', 'DrawTargetTiled.cpp', - 'Factory.cpp', # Need to suppress warnings in Skia header files. 'FilterNodeSoftware.cpp', 'FilterProcessing.cpp', 'FilterProcessingScalar.cpp', @@ -175,6 +176,10 @@ SOURCES += [ 'SourceSurfaceRawData.cpp', ] +SOURCES += [ + 'Factory.cpp', # Need to suppress warnings in Skia header files. +] + if CONFIG['CLANG_CXX']: SOURCES['Factory.cpp'].flags += ['-Wno-implicit-fallthrough'] |