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-28 11:10:33 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-23 16:05:43 -07:00
|
|
|
'gfxSurfaceRefCountTest.cpp',
|
2013-12-05 08:36:04 -08:00
|
|
|
# Disabled on suspicion of causing bug 904227
|
|
|
|
#'gfxWordCacheTest.cpp',
|
2013-10-23 15:59:50 -07:00
|
|
|
'TestAsyncPanZoomController.cpp',
|
|
|
|
'TestBufferRotation.cpp',
|
|
|
|
'TestColorNames.cpp',
|
2014-03-04 09:26:33 -08:00
|
|
|
'TestGfxPrefs.cpp',
|
2013-10-23 15:59:50 -07:00
|
|
|
'TestLayers.cpp',
|
|
|
|
'TestRegion.cpp',
|
2014-01-10 01:42:04 -08:00
|
|
|
'TestSkipChars.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-28 11:10:33 -08:00
|
|
|
UNIFIED_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-28 11:10:33 -08:00
|
|
|
UNIFIED_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
|
|
|
|
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')
|
|
|
|
|
2013-11-28 06:10:38 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/gfx/2d',
|
|
|
|
'/gfx/2d/unittest',
|
|
|
|
'/gfx/layers',
|
|
|
|
]
|
|
|
|
|
2014-03-31 04:21:38 -07:00
|
|
|
FINAL_LIBRARY = 'xul-gtest'
|