2013-03-11 11:47:40 -07:00
|
|
|
# -*- 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/.
|
|
|
|
|
2013-06-17 12:21:01 -07:00
|
|
|
LIBRARY_NAME = 'gfxtest'
|
|
|
|
|
2013-11-25 18:48:58 -08:00
|
|
|
SOURCES += [
|
2013-10-23 16:05:43 -07:00
|
|
|
'gfxSurfaceRefCountTest.cpp',
|
|
|
|
'gfxWordCacheTest.cpp',
|
2013-10-23 15:59:50 -07:00
|
|
|
'TestAsyncPanZoomController.cpp',
|
|
|
|
'TestBufferRotation.cpp',
|
|
|
|
'TestColorNames.cpp',
|
|
|
|
'TestLayers.cpp',
|
|
|
|
'TestRegion.cpp',
|
2013-04-25 16:02:13 -07:00
|
|
|
# Hangs on linux in ApplyGdkScreenFontOptions
|
|
|
|
#'gfxFontSelectionTest.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'TestTextures.cpp',
|
2013-04-25 16:02:13 -07:00
|
|
|
# Test works but it doesn't assert anything
|
|
|
|
#'gfxTextRunPerfTest.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'TestTiledLayerBuffer.cpp',
|
2013-06-22 07:33:31 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
# Because of gkmedia on windows we wont find these
|
|
|
|
# symbols in xul.dll.
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows':
|
2013-11-25 18:48:58 -08:00
|
|
|
SOURCES += [ '%s/gfx/2d/unittest/%s' % (TOPSRCDIR, p) for p in [
|
2013-06-22 07:33:31 -07:00
|
|
|
'TestBase.cpp',
|
2013-11-12 13:47:40 -08:00
|
|
|
'TestBugs.cpp',
|
2013-06-22 07:33:31 -07:00
|
|
|
'TestPoint.cpp',
|
|
|
|
'TestScaling.cpp',
|
2013-10-24 15:58:17 -07:00
|
|
|
]]
|
2013-11-25 18:48:58 -08:00
|
|
|
SOURCES += [
|
2013-10-24 15:58:17 -07:00
|
|
|
'TestMoz2D.cpp',
|
|
|
|
'TestRect.cpp',
|
2013-06-22 07:33:31 -07:00
|
|
|
]
|
2013-08-21 23:56:00 -07:00
|
|
|
|
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|
2013-10-03 00:11:13 -07:00
|
|
|
EXPORT_LIBRARY = True
|
|
|
|
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|