diff options
Diffstat (limited to 'gfx/thebes/moz.build')
-rw-r--r-- | gfx/thebes/moz.build | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/gfx/thebes/moz.build b/gfx/thebes/moz.build index be28f4e51c..1d3cf3bc93 100644 --- a/gfx/thebes/moz.build +++ b/gfx/thebes/moz.build @@ -57,7 +57,24 @@ EXPORTS.mozilla.gfx += [ 'PrintTargetThebes.h', ] -if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']: +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': + EXPORTS += [ + 'gfxPlatformMac.h', + 'gfxQuartzNativeDrawing.h', + 'gfxQuartzSurface.h', + ] + EXPORTS.mozilla.gfx += [ + 'PrintTargetCG.h', + ] + SOURCES += [ + 'gfxCoreTextShaper.cpp', + 'gfxMacFont.cpp', + 'gfxPlatformMac.cpp', + 'gfxQuartzNativeDrawing.cpp', + 'gfxQuartzSurface.cpp', + 'PrintTargetCG.cpp', + ] +elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']: EXPORTS += [ 'gfxFontconfigFonts.h', 'gfxFT2FontBase.h', @@ -165,7 +182,11 @@ SOURCES += [ 'VsyncSource.cpp', ] -if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': + SOURCES += [ + 'gfxMacPlatformFontList.mm', + ] +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': SOURCES += [ 'D3D11Checks.cpp', 'DeviceManagerDx.cpp', |