2013-03-11 11:47:40 -07:00
|
|
|
#
|
|
|
|
# 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@ $(srcdir)/$(DEPTH)/gfx/2d/unittest
|
|
|
|
relativesrcdir = @relativesrcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
# Create a GTest library
|
|
|
|
MODULE_NAME = gfxtest
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(topsrcdir)/gfx/layers \
|
|
|
|
-I$(topsrcdir)/gfx/2d \
|
|
|
|
-I$(topsrcdir)/gfx/2d/unittest \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
GTEST_CPPSRCS = \
|
2013-04-25 12:54:59 -07:00
|
|
|
TestLayers.cpp \
|
2013-03-11 11:47:40 -07:00
|
|
|
TestTiledLayerBuffer.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# Because of gkmedia on windows we wont find these
|
|
|
|
# symbols in xul.dll.
|
|
|
|
ifneq ($(MOZ_WIDGET_TOOLKIT),windows)
|
|
|
|
GTEST_CPPSRCS += \
|
|
|
|
TestMoz2D.cpp \
|
|
|
|
TestBase.cpp \
|
|
|
|
TestPoint.cpp \
|
|
|
|
TestScaling.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|