1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/src/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,72 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +XPIDL_SOURCES += [ 1.11 + 'nsIFontEnumerator.idl', 1.12 + 'nsIScriptableRegion.idl', 1.13 +] 1.14 + 1.15 +XPIDL_MODULE = 'gfx' 1.16 + 1.17 +EXPORTS += [ 1.18 + 'FilterSupport.h', 1.19 + 'gfxCore.h', 1.20 + 'gfxCrashReporterUtils.h', 1.21 + 'nsBoundingMetrics.h', 1.22 + 'nsColor.h', 1.23 + 'nsColorNameList.h', 1.24 + 'nsColorNames.h', 1.25 + 'nsCoord.h', 1.26 + 'nsDeviceContext.h', 1.27 + 'nsFont.h', 1.28 + 'nsFontMetrics.h', 1.29 + 'nsGfxCIID.h', 1.30 + 'nsITheme.h', 1.31 + 'nsMargin.h', 1.32 + 'nsPoint.h', 1.33 + 'nsRect.h', 1.34 + 'nsRegion.h', 1.35 + 'nsRenderingContext.h', 1.36 + 'nsSize.h', 1.37 + 'nsThemeConstants.h', 1.38 + 'nsTransform2D.h', 1.39 +] 1.40 + 1.41 +EXPORTS.mozilla += [ 1.42 + 'AppUnits.h', 1.43 +] 1.44 + 1.45 +if CONFIG['MOZ_X11']: 1.46 + EXPORTS.mozilla += ['X11Util.h'] 1.47 + SOURCES += [ 1.48 + 'X11Util.cpp', 1.49 + ] 1.50 + 1.51 +UNIFIED_SOURCES += [ 1.52 + 'FilterSupport.cpp', 1.53 + 'gfxCrashReporterUtils.cpp', 1.54 + 'nsColor.cpp', 1.55 + 'nsFont.cpp', 1.56 + 'nsFontMetrics.cpp', 1.57 + 'nsRect.cpp', 1.58 + 'nsRegion.cpp', 1.59 + 'nsRenderingContext.cpp', 1.60 + 'nsScriptableRegion.cpp', 1.61 + 'nsThebesFontEnumerator.cpp', 1.62 + 'nsThebesGfxFactory.cpp', 1.63 + 'nsTransform2D.cpp', 1.64 +] 1.65 + 1.66 +# nsDeviceContext.cpp cannot be built in unified mode because it pulls in OS X system headers. 1.67 +SOURCES += [ 1.68 + 'nsDeviceContext.cpp', 1.69 +] 1.70 + 1.71 +FAIL_ON_WARNINGS = True 1.72 + 1.73 +MSVC_ENABLE_PGO = True 1.74 + 1.75 +FINAL_LIBRARY = 'xul'