summaryrefslogtreecommitdiff
path: root/gfx/2d/moz.build
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-08 16:50:40 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-08 16:50:40 +0000
commit00c5c3e7c2ed8b627fe1af2496945b583ea8d29a (patch)
treedb89a071c364318fa6c2007917715623d8d5fdec /gfx/2d/moz.build
parentb8cebb4993a27b3aaaa08550c6ae4f20cdca8819 (diff)
downloaduxp-re-unify.tar.gz
Re-unify most of gfxre-unify
Diffstat (limited to 'gfx/2d/moz.build')
-rw-r--r--gfx/2d/moz.build13
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']