From 7ed629a1580d23b05362c658abe0e598f75ead37 Mon Sep 17 00:00:00 2001 From: Oleg Romashin Date: Tue, 18 May 2010 07:04:21 -0400 Subject: [PATCH] Bug 566133 - gfxSharedImageSurface.cpp is not compiling for other platforms. r=jones.chris.g --- gfx/thebes/public/Makefile.in | 2 ++ gfx/thebes/src/Makefile.in | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gfx/thebes/public/Makefile.in b/gfx/thebes/public/Makefile.in index 7d07e4cf3885..3c30ce3a4574 100644 --- a/gfx/thebes/public/Makefile.in +++ b/gfx/thebes/public/Makefile.in @@ -35,9 +35,11 @@ EXPORTS = gfx3DMatrix.h \ GLContextProvider.h \ $(NULL) +ifdef MOZ_IPC EXPORTS += \ gfxSharedImageSurface.h \ $(NULL) +endif EXPORTS += gfxFontTest.h diff --git a/gfx/thebes/src/Makefile.in b/gfx/thebes/src/Makefile.in index 3a3b0708ea1e..50ae803c4e21 100644 --- a/gfx/thebes/src/Makefile.in +++ b/gfx/thebes/src/Makefile.in @@ -36,6 +36,12 @@ CPPSRCS = \ GLContext.cpp \ $(NULL) +ifdef MOZ_IPC +CPPSRCS += \ + gfxSharedImageSurface.cpp \ + $(NULL) +endif + SHARED_LIBRARY_LIBS += \ ../../layers/$(LIB_PREFIX)layers.$(LIB_SUFFIX) \ $(NULL) @@ -160,7 +166,7 @@ CPPSRCS += gfxDirectFBSurface.cpp endif ifeq ($(MOZ_WIDGET_TOOLKIT),qt) -CPPSRCS += gfxQtPlatform.cpp gfxQPainterSurface.cpp gfxSharedImageSurface.cpp +CPPSRCS += gfxQtPlatform.cpp gfxQPainterSurface.cpp CPPSRCS += gfxXlibSurface.cpp gfxQtNativeRenderer.cpp ifdef MOZ_PANGO CPPSRCS += gfxPangoFonts.cpp