зеркало из https://github.com/mozilla/pjs.git
enable building of the cairo pdf and ps surfaces on linux r=vlad
This commit is contained in:
Родитель
90321bfdf3
Коммит
8d6de79510
|
@ -6634,6 +6634,8 @@ if test "$MOZ_SVG_RENDERER_CAIRO" -o "$MOZ_ENABLE_CANVAS" -o "$MOZ_ENABLE_CAIRO_
|
|||
# Define macros for cairo-features.h
|
||||
if test "$MOZ_X11"; then
|
||||
XLIB_SURFACE_FEATURE="#define CAIRO_HAS_XLIB_SURFACE 1"
|
||||
PS_SURFACE_FEATURE="#define CAIRO_HAS_PS_SURFACE 1"
|
||||
PDF_SURFACE_FEATURE="#define CAIRO_HAS_PDF_SURFACE 1"
|
||||
FT_FONT_FEATURE="#define CAIRO_HAS_FT_FONT 1"
|
||||
MOZ_ENABLE_CAIRO_FT=1
|
||||
CAIRO_FT_CFLAGS="$FT2_CFLAGS"
|
||||
|
|
|
@ -95,24 +95,24 @@ CSRCS = \
|
|||
EXPORTS = cairo.h cairo-features.h cairo-platform.h
|
||||
|
||||
|
||||
ifeq ($(MOZ_GFX_TOOLKIT),windows)
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
||||
CSRCS += cairo-win32-font.c \
|
||||
cairo-win32-surface.c
|
||||
EXPORTS += cairo-win32.h
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_GFX_TOOLKIT)))
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
CSRCS += cairo-quartz-surface.c \
|
||||
cairo-atsui-font.c
|
||||
EXPORTS += cairo-quartz.h cairo-atsui.h
|
||||
endif
|
||||
|
||||
ifeq ($(MOZ_GFX_TOOLKIT),beos)
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),beos)
|
||||
CPPSRCS += cairo-beos-surface.cpp
|
||||
EXPORTS += cairo-beos.h
|
||||
endif
|
||||
|
||||
ifdef BUILD_CAIRO_PDF
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
||||
CSRCS += cairo-font-subset.c \
|
||||
cairo-pdf-surface.c \
|
||||
cairo-ps-surface.c
|
||||
|
|
Загрузка…
Ссылка в новой задаче