mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
46 lines
1.2 KiB
Python
46 lines
1.2 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# 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/.
|
|
|
|
MODULE = 'gfxtest'
|
|
|
|
LIBRARY_NAME = 'gfxtest'
|
|
|
|
GTEST_SOURCES += [
|
|
'gfxSurfaceRefCountTest.cpp',
|
|
'gfxWordCacheTest.cpp',
|
|
'TestAsyncPanZoomController.cpp',
|
|
'TestBufferRotation.cpp',
|
|
'TestColorNames.cpp',
|
|
'TestLayers.cpp',
|
|
'TestRegion.cpp',
|
|
# Hangs on linux in ApplyGdkScreenFontOptions
|
|
#'gfxFontSelectionTest.cpp',
|
|
'TestTextures.cpp',
|
|
# Test works but it doesn't assert anything
|
|
#'gfxTextRunPerfTest.cpp',
|
|
'TestTiledLayerBuffer.cpp',
|
|
]
|
|
|
|
# Because of gkmedia on windows we wont find these
|
|
# symbols in xul.dll.
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows':
|
|
GTEST_SOURCES += [ '%s/gfx/2d/unittest/%s' % (TOPSRCDIR, p) for p in [
|
|
'TestBase.cpp',
|
|
'TestPoint.cpp',
|
|
'TestScaling.cpp',
|
|
]]
|
|
GTEST_SOURCES += [
|
|
'TestMoz2D.cpp',
|
|
'TestRect.cpp',
|
|
]
|
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
EXPORT_LIBRARY = True
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|