michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: LIBRARY_NAME = 'gfxtest' michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'gfxSurfaceRefCountTest.cpp', michael@0: # Disabled on suspicion of causing bug 904227 michael@0: #'gfxWordCacheTest.cpp', michael@0: 'TestAsyncPanZoomController.cpp', michael@0: 'TestBufferRotation.cpp', michael@0: 'TestColorNames.cpp', michael@0: 'TestGfxPrefs.cpp', michael@0: 'TestLayers.cpp', michael@0: 'TestRegion.cpp', michael@0: 'TestSkipChars.cpp', michael@0: # Hangs on linux in ApplyGdkScreenFontOptions michael@0: #'gfxFontSelectionTest.cpp', michael@0: 'TestTextures.cpp', michael@0: # Test works but it doesn't assert anything michael@0: #'gfxTextRunPerfTest.cpp', michael@0: 'TestTiledLayerBuffer.cpp', michael@0: ] michael@0: michael@0: # Because of gkmedia on windows we wont find these michael@0: # symbols in xul.dll. michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows': michael@0: UNIFIED_SOURCES += [ '%s/gfx/2d/unittest/%s' % (TOPSRCDIR, p) for p in [ michael@0: 'TestBase.cpp', michael@0: 'TestBugs.cpp', michael@0: 'TestPoint.cpp', michael@0: 'TestScaling.cpp', michael@0: ]] michael@0: UNIFIED_SOURCES += [ michael@0: 'TestMoz2D.cpp', michael@0: 'TestRect.cpp', michael@0: ] michael@0: michael@0: EXPORT_LIBRARY = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '/gfx/2d', michael@0: '/gfx/2d/unittest', michael@0: '/gfx/layers', michael@0: ] michael@0: michael@0: FINAL_LIBRARY = 'xul-gtest'