content/canvas/src/Makefile.in
author Gene Lian <clian@mozilla.com>
Fri, 28 Sep 2012 14:02:28 +0800
changeset 108418 cba5ba69091f52840af3d8f738ac43bbcc256e6d
parent 108011 33f80363eab3ef603820cd3cc257005874bb25e2
child 109125 0984909abb53f9513ed1dea302b840281958e3a4
permissions -rw-r--r--
Bug 789973 - B2G system time: adjust system clock after receiving NITZ timestamp (part 1). r=jlebar

# 
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH		= @DEPTH@
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

FAIL_ON_WARNINGS = 1

include $(DEPTH)/config/autoconf.mk

MODULE		= content
LIBRARY_NAME	= gkconcvs_s
LIBXUL_LIBRARY  = 1

EXPORTS = \
	CustomQS_Canvas.h \
	CustomQS_Canvas2D.h \
	WebGLContext.h \
	WebGLElementArrayCache.h \
	$(NULL)

EXPORTS_NAMESPACES = mozilla/dom

EXPORTS_mozilla/dom = \
  ImageData.h \
  $(NULL)

CPPSRCS	= \
	CanvasImageCache.cpp \
	CanvasUtils.cpp \
	nsCanvasRenderingContext2D.cpp \
	nsCanvasRenderingContext2DAzure.cpp \
	DocumentRendererParent.cpp \
	DocumentRendererChild.cpp \
	ImageData.cpp \
	$(NULL)

ifdef MOZ_WEBGL

CPPSRCS += \
	WebGLContext.cpp \
	WebGLContextGL.cpp \
	WebGLContextUtils.cpp \
	WebGLContextReporter.cpp \
	WebGLContextValidate.cpp \
	WebGLExtensionStandardDerivatives.cpp \
	WebGLExtensionTextureFilterAnisotropic.cpp \
	WebGLExtensionLoseContext.cpp \
	WebGLTexelConversions.cpp \
	WebGLExtensionCompressedTextureS3TC.cpp \
	WebGLExtensionCompressedTextureATC.cpp \
	WebGLExtensionCompressedTexturePVRTC.cpp \
	WebGLExtensionDepthTexture.cpp \
	WebGLElementArrayCache.cpp \
	$(NULL)

DEFINES += -DUSE_ANGLE
USE_ANGLE=1

else

CPPSRCS += WebGLContextNotSupported.cpp

endif

# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1

include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

CXXFLAGS	+= $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS)

INCLUDES	+= \
		-I$(srcdir)/../../../layout/xul/base/src \
		-I$(srcdir)/../../../layout/style \
		-I$(srcdir)/../../../layout/generic \
		-I$(srcdir)/../../base/src \
		-I$(srcdir)/../../html/content/src \
		-I$(srcdir)/../../../js/xpconnect/src \
		-I$(srcdir)/../../../dom/base \
		$(NULL)

DEFINES += -D_IMPL_NS_LAYOUT