gfx/tests/gtest/moz.build
author Benoit Girard <b56girard@gmail.com>
Thu, 25 Apr 2013 19:02:13 -0400
changeset 153418 58aed54902a539f23033a205382c05e582311661
parent 148926 fca96d317e84552cbdc4f14baa2732366b4ae01d
child 156674 043b46d19b1c37a40a8ea651a856908487fb0f41
permissions -rw-r--r--
Bug 865902 - Port old gfx unit tests. r=milan

# -*- 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_CPP_SOURCES += [
    # Hangs on linux in ApplyGdkScreenFontOptions
    #'gfxFontSelectionTest.cpp',
    'gfxSurfaceRefCountTest.cpp',
    # Test works but it doesn't assert anything
    #'gfxTextRunPerfTest.cpp',
    'gfxWordCacheTest.cpp',
    'TestAsyncPanZoomController.cpp',
    'TestLayers.cpp',
    'TestTiledLayerBuffer.cpp',
    'TestRegion.cpp',
    'TestColorNames.cpp',
]

# Because of gkmedia on windows we wont find these
# symbols in xul.dll.
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows':
    GTEST_CPP_SOURCES += [
        'TestBase.cpp',
        'TestMoz2D.cpp',
        'TestRect.cpp',
        'TestPoint.cpp',
        'TestScaling.cpp',
    ]