|
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/. |
|
6 |
|
7 XPIDL_SOURCES += [ |
|
8 'nsIFontEnumerator.idl', |
|
9 'nsIScriptableRegion.idl', |
|
10 ] |
|
11 |
|
12 XPIDL_MODULE = 'gfx' |
|
13 |
|
14 EXPORTS += [ |
|
15 'FilterSupport.h', |
|
16 'gfxCore.h', |
|
17 'gfxCrashReporterUtils.h', |
|
18 'nsBoundingMetrics.h', |
|
19 'nsColor.h', |
|
20 'nsColorNameList.h', |
|
21 'nsColorNames.h', |
|
22 'nsCoord.h', |
|
23 'nsDeviceContext.h', |
|
24 'nsFont.h', |
|
25 'nsFontMetrics.h', |
|
26 'nsGfxCIID.h', |
|
27 'nsITheme.h', |
|
28 'nsMargin.h', |
|
29 'nsPoint.h', |
|
30 'nsRect.h', |
|
31 'nsRegion.h', |
|
32 'nsRenderingContext.h', |
|
33 'nsSize.h', |
|
34 'nsThemeConstants.h', |
|
35 'nsTransform2D.h', |
|
36 ] |
|
37 |
|
38 EXPORTS.mozilla += [ |
|
39 'AppUnits.h', |
|
40 ] |
|
41 |
|
42 if CONFIG['MOZ_X11']: |
|
43 EXPORTS.mozilla += ['X11Util.h'] |
|
44 SOURCES += [ |
|
45 'X11Util.cpp', |
|
46 ] |
|
47 |
|
48 UNIFIED_SOURCES += [ |
|
49 'FilterSupport.cpp', |
|
50 'gfxCrashReporterUtils.cpp', |
|
51 'nsColor.cpp', |
|
52 'nsFont.cpp', |
|
53 'nsFontMetrics.cpp', |
|
54 'nsRect.cpp', |
|
55 'nsRegion.cpp', |
|
56 'nsRenderingContext.cpp', |
|
57 'nsScriptableRegion.cpp', |
|
58 'nsThebesFontEnumerator.cpp', |
|
59 'nsThebesGfxFactory.cpp', |
|
60 'nsTransform2D.cpp', |
|
61 ] |
|
62 |
|
63 # nsDeviceContext.cpp cannot be built in unified mode because it pulls in OS X system headers. |
|
64 SOURCES += [ |
|
65 'nsDeviceContext.cpp', |
|
66 ] |
|
67 |
|
68 FAIL_ON_WARNINGS = True |
|
69 |
|
70 MSVC_ENABLE_PGO = True |
|
71 |
|
72 FINAL_LIBRARY = 'xul' |