gfx/tests/gtest/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/tests/gtest/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,52 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +LIBRARY_NAME = 'gfxtest'
    1.11 +
    1.12 +UNIFIED_SOURCES += [
    1.13 +    'gfxSurfaceRefCountTest.cpp',
    1.14 +    # Disabled on suspicion of causing bug 904227
    1.15 +    #'gfxWordCacheTest.cpp',
    1.16 +    'TestAsyncPanZoomController.cpp',
    1.17 +    'TestBufferRotation.cpp',
    1.18 +    'TestColorNames.cpp',
    1.19 +    'TestGfxPrefs.cpp',
    1.20 +    'TestLayers.cpp',
    1.21 +    'TestRegion.cpp',
    1.22 +    'TestSkipChars.cpp',
    1.23 +    # Hangs on linux in ApplyGdkScreenFontOptions
    1.24 +    #'gfxFontSelectionTest.cpp',
    1.25 +    'TestTextures.cpp',
    1.26 +    # Test works but it doesn't assert anything
    1.27 +    #'gfxTextRunPerfTest.cpp',
    1.28 +    'TestTiledLayerBuffer.cpp',
    1.29 +]
    1.30 +
    1.31 +# Because of gkmedia on windows we wont find these
    1.32 +# symbols in xul.dll.
    1.33 +if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows':
    1.34 +    UNIFIED_SOURCES += [ '%s/gfx/2d/unittest/%s' % (TOPSRCDIR, p) for p in [
    1.35 +        'TestBase.cpp',
    1.36 +        'TestBugs.cpp',
    1.37 +        'TestPoint.cpp',
    1.38 +        'TestScaling.cpp',
    1.39 +    ]]
    1.40 +    UNIFIED_SOURCES += [
    1.41 +        'TestMoz2D.cpp',
    1.42 +        'TestRect.cpp',
    1.43 +    ]
    1.44 +
    1.45 +EXPORT_LIBRARY = True
    1.46 +
    1.47 +include('/ipc/chromium/chromium-config.mozbuild')
    1.48 +
    1.49 +LOCAL_INCLUDES += [
    1.50 +    '/gfx/2d',
    1.51 +    '/gfx/2d/unittest',
    1.52 +    '/gfx/layers',
    1.53 +]
    1.54 +
    1.55 +FINAL_LIBRARY = 'xul-gtest'

mercurial