gfx/tests/gtest/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/.
     7 LIBRARY_NAME = 'gfxtest'
     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 ]
    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     ]
    42 EXPORT_LIBRARY = True
    44 include('/ipc/chromium/chromium-config.mozbuild')
    46 LOCAL_INCLUDES += [
    47     '/gfx/2d',
    48     '/gfx/2d/unittest',
    49     '/gfx/layers',
    50 ]
    52 FINAL_LIBRARY = 'xul-gtest'

mercurial