summaryrefslogtreecommitdiff
path: root/gfx/2d/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/2d/moz.build')
-rw-r--r--gfx/2d/moz.build20
1 files changed, 1 insertions, 19 deletions
diff --git a/gfx/2d/moz.build b/gfx/2d/moz.build
index 4f437d575a..7a80b1de2e 100644
--- a/gfx/2d/moz.build
+++ b/gfx/2d/moz.build
@@ -58,16 +58,7 @@ EXPORTS.mozilla.gfx += [
EXPORTS.mozilla.gfx += ['ssse3-scaler.h']
-if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'uikit'):
- EXPORTS.mozilla.gfx += [
- 'MacIOSurface.h',
- ]
- SOURCES += [
- 'NativeFontResourceMac.cpp',
- 'PathCG.cpp',
- 'ScaledFontMac.cpp',
- ]
-elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
+if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
SOURCES += [
'DrawTargetD2D1.cpp',
'ExtendInputEffectD2D1.cpp',
@@ -181,15 +172,6 @@ if CONFIG['CLANG_CXX']:
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wno-error=shadow']
-if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
- EXPORTS.mozilla.gfx += [
- 'QuartzSupport.h',
- ]
- SOURCES += [
- 'MacIOSurface.cpp',
- 'QuartzSupport.mm',
- ]
-
if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['BUILD_ARM_NEON']:
SOURCES += ['BlurNEON.cpp']
SOURCES['BlurNEON.cpp'].flags += CONFIG['NEON_FLAGS']