gfx/tests/gtest/moz.build

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:a0201284f4a3
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7 LIBRARY_NAME = 'gfxtest'
8
9 UNIFIED_SOURCES += [
10 'gfxSurfaceRefCountTest.cpp',
11 # Disabled on suspicion of causing bug 904227
12 #'gfxWordCacheTest.cpp',
13 'TestAsyncPanZoomController.cpp',
14 'TestBufferRotation.cpp',
15 'TestColorNames.cpp',
16 'TestGfxPrefs.cpp',
17 'TestLayers.cpp',
18 'TestRegion.cpp',
19 'TestSkipChars.cpp',
20 # Hangs on linux in ApplyGdkScreenFontOptions
21 #'gfxFontSelectionTest.cpp',
22 'TestTextures.cpp',
23 # Test works but it doesn't assert anything
24 #'gfxTextRunPerfTest.cpp',
25 'TestTiledLayerBuffer.cpp',
26 ]
27
28 # Because of gkmedia on windows we wont find these
29 # symbols in xul.dll.
30 if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows':
31 UNIFIED_SOURCES += [ '%s/gfx/2d/unittest/%s' % (TOPSRCDIR, p) for p in [
32 'TestBase.cpp',
33 'TestBugs.cpp',
34 'TestPoint.cpp',
35 'TestScaling.cpp',
36 ]]
37 UNIFIED_SOURCES += [
38 'TestMoz2D.cpp',
39 'TestRect.cpp',
40 ]
41
42 EXPORT_LIBRARY = True
43
44 include('/ipc/chromium/chromium-config.mozbuild')
45
46 LOCAL_INCLUDES += [
47 '/gfx/2d',
48 '/gfx/2d/unittest',
49 '/gfx/layers',
50 ]
51
52 FINAL_LIBRARY = 'xul-gtest'

mercurial