mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
44 lines
980 B
Makefile
44 lines
980 B
Makefile
#
|
|
# 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 = \
|
|
TestLayers.cpp \
|
|
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
|
|
|