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: XPIDL_SOURCES += [ michael@0: 'nsIFontEnumerator.idl', michael@0: 'nsIScriptableRegion.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'gfx' michael@0: michael@0: EXPORTS += [ michael@0: 'FilterSupport.h', michael@0: 'gfxCore.h', michael@0: 'gfxCrashReporterUtils.h', michael@0: 'nsBoundingMetrics.h', michael@0: 'nsColor.h', michael@0: 'nsColorNameList.h', michael@0: 'nsColorNames.h', michael@0: 'nsCoord.h', michael@0: 'nsDeviceContext.h', michael@0: 'nsFont.h', michael@0: 'nsFontMetrics.h', michael@0: 'nsGfxCIID.h', michael@0: 'nsITheme.h', michael@0: 'nsMargin.h', michael@0: 'nsPoint.h', michael@0: 'nsRect.h', michael@0: 'nsRegion.h', michael@0: 'nsRenderingContext.h', michael@0: 'nsSize.h', michael@0: 'nsThemeConstants.h', michael@0: 'nsTransform2D.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'AppUnits.h', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_X11']: michael@0: EXPORTS.mozilla += ['X11Util.h'] michael@0: SOURCES += [ michael@0: 'X11Util.cpp', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'FilterSupport.cpp', michael@0: 'gfxCrashReporterUtils.cpp', michael@0: 'nsColor.cpp', michael@0: 'nsFont.cpp', michael@0: 'nsFontMetrics.cpp', michael@0: 'nsRect.cpp', michael@0: 'nsRegion.cpp', michael@0: 'nsRenderingContext.cpp', michael@0: 'nsScriptableRegion.cpp', michael@0: 'nsThebesFontEnumerator.cpp', michael@0: 'nsThebesGfxFactory.cpp', michael@0: 'nsTransform2D.cpp', michael@0: ] michael@0: michael@0: # nsDeviceContext.cpp cannot be built in unified mode because it pulls in OS X system headers. michael@0: SOURCES += [ michael@0: 'nsDeviceContext.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: FINAL_LIBRARY = 'xul'