gfx/tests/gtest/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 11 Jul 2014 19:06:55 +0900
changeset 214374 d59df02050b3d9e147cb0f82fb9d0bd443c805a6
parent 194964 93739bb5245736fe2c09626c5f3519633b4dbc71
child 217243 44a3b35352e99d279787eaed8cdc2b67d0f9ca81
permissions -rw-r--r--
Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal

# -*- 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/.

LIBRARY_NAME = 'gfxtest'

UNIFIED_SOURCES += [
    'gfxSurfaceRefCountTest.cpp',
    # Disabled on suspicion of causing bug 904227
    #'gfxWordCacheTest.cpp',
    'TestAsyncPanZoomController.cpp',
    'TestBufferRotation.cpp',
    'TestColorNames.cpp',
    'TestGfxPrefs.cpp',
    'TestLayers.cpp',
    'TestRegion.cpp',
    'TestSkipChars.cpp',
    # Hangs on linux in ApplyGdkScreenFontOptions
    #'gfxFontSelectionTest.cpp',
    'TestTextures.cpp',
    # Test works but it doesn't assert anything
    #'gfxTextRunPerfTest.cpp',
    'TestTiledLayerBuffer.cpp',
]

# Because of gkmedia on windows we wont find these
# symbols in xul.dll.
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows':
    UNIFIED_SOURCES += [ '%s/gfx/2d/unittest/%s' % (TOPSRCDIR, p) for p in [
        'TestBase.cpp',
        'TestBugs.cpp',
        'TestPoint.cpp',
        'TestScaling.cpp',
    ]]
    UNIFIED_SOURCES += [
        'TestMoz2D.cpp',
        'TestRect.cpp',
    ]

include('/ipc/chromium/chromium-config.mozbuild')

LOCAL_INCLUDES += [
    '/gfx/2d',
    '/gfx/2d/unittest',
    '/gfx/layers',
]

FINAL_LIBRARY = 'xul-gtest'