|
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 EXPORTS += [ |
|
8 'nsCanvasFrame.h', |
|
9 'nsDirection.h', |
|
10 'nsFrameIdList.h', |
|
11 'nsFrameList.h', |
|
12 'nsFrameSelection.h', |
|
13 'nsFrameState.h', |
|
14 'nsFrameStateBits.h', |
|
15 'nsHTMLParts.h', |
|
16 'nsHTMLReflowMetrics.h', |
|
17 'nsHTMLReflowState.h', |
|
18 'nsIAnonymousContentCreator.h', |
|
19 'nsIFrame.h', |
|
20 'nsIFrameInlines.h', |
|
21 'nsIFrameUtil.h', |
|
22 'nsILineIterator.h', |
|
23 'nsIObjectFrame.h', |
|
24 'nsIPageSequenceFrame.h', |
|
25 'nsIScrollableFrame.h', |
|
26 'nsIScrollbarOwner.h', |
|
27 'nsIScrollPositionListener.h', |
|
28 'nsIStatefulFrame.h', |
|
29 'nsObjectFrame.h', |
|
30 'nsQueryFrame.h', |
|
31 'nsSubDocumentFrame.h', |
|
32 'ScrollbarActivity.h', |
|
33 'Selection.h', |
|
34 'WritingModes.h', |
|
35 ] |
|
36 |
|
37 EXPORTS.mozilla.dom += [ |
|
38 'Selection.h', |
|
39 ] |
|
40 |
|
41 EXPORTS.mozilla.layout += [ |
|
42 'FrameChildList.h', |
|
43 ] |
|
44 |
|
45 UNIFIED_SOURCES += [ |
|
46 'FrameChildList.cpp', |
|
47 'MathMLTextRunFactory.cpp', |
|
48 'nsAbsoluteContainingBlock.cpp', |
|
49 'nsBlockFrame.cpp', |
|
50 'nsBlockReflowContext.cpp', |
|
51 'nsBlockReflowState.cpp', |
|
52 'nsBRFrame.cpp', |
|
53 'nsBulletFrame.cpp', |
|
54 'nsCanvasFrame.cpp', |
|
55 'nsColumnSetFrame.cpp', |
|
56 'nsContainerFrame.cpp', |
|
57 'nsFirstLetterFrame.cpp', |
|
58 'nsFlexContainerFrame.cpp', |
|
59 'nsFloatManager.cpp', |
|
60 'nsFontInflationData.cpp', |
|
61 'nsFrame.cpp', |
|
62 'nsFrameList.cpp', |
|
63 'nsFrameSetFrame.cpp', |
|
64 'nsFrameState.cpp', |
|
65 'nsFrameUtil.cpp', |
|
66 'nsGfxScrollFrame.cpp', |
|
67 'nsGridContainerFrame.cpp', |
|
68 'nsHTMLCanvasFrame.cpp', |
|
69 'nsHTMLReflowMetrics.cpp', |
|
70 'nsHTMLReflowState.cpp', |
|
71 'nsImageFrame.cpp', |
|
72 'nsImageMap.cpp', |
|
73 'nsInlineFrame.cpp', |
|
74 'nsIntervalSet.cpp', |
|
75 'nsLeafFrame.cpp', |
|
76 'nsLineBox.cpp', |
|
77 'nsPageContentFrame.cpp', |
|
78 'nsPageFrame.cpp', |
|
79 'nsPlaceholderFrame.cpp', |
|
80 'nsSelection.cpp', |
|
81 'nsSimplePageSequenceFrame.cpp', |
|
82 'nsSplittableFrame.cpp', |
|
83 'nsSubDocumentFrame.cpp', |
|
84 'nsTextFrame.cpp', |
|
85 'nsTextFrameUtils.cpp', |
|
86 'nsTextRunTransformations.cpp', |
|
87 'nsVideoFrame.cpp', |
|
88 'nsViewportFrame.cpp', |
|
89 'ScrollbarActivity.cpp', |
|
90 'StickyScrollContainer.cpp', |
|
91 'TextOverflow.cpp', |
|
92 ] |
|
93 |
|
94 # nsLineLayout.cpp needs to be built separately because it uses plarena.h. |
|
95 # nsObjectFrame.cpp needs to be built separately because of name clashes in the OS X headers. |
|
96 SOURCES += [ |
|
97 'nsLineLayout.cpp', |
|
98 'nsObjectFrame.cpp', |
|
99 ] |
|
100 |
|
101 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
|
102 UNIFIED_SOURCES += [ |
|
103 'nsPluginUtilsOSX.mm', |
|
104 ] |
|
105 |
|
106 FAIL_ON_WARNINGS = not CONFIG['_MSC_VER'] |
|
107 |
|
108 MSVC_ENABLE_PGO = True |
|
109 |
|
110 include('/ipc/chromium/chromium-config.mozbuild') |
|
111 |
|
112 FINAL_LIBRARY = 'gklayout' |
|
113 |
|
114 LOCAL_INCLUDES += [ |
|
115 '../../content/base/src', |
|
116 '../../content/html/content/src', |
|
117 '../../content/xul/content/src', |
|
118 '../../dom/base', |
|
119 '../../dom/plugins/base', |
|
120 '../base', |
|
121 '../forms', |
|
122 '../style', |
|
123 '../svg', |
|
124 '../tables', |
|
125 '../xul', |
|
126 ] |
|
127 |
|
128 JAR_MANIFESTS += ['jar.mn'] |
|
129 |
|
130 RESOURCE_FILES.html = [ |
|
131 'folder.png', |
|
132 ] |
|
133 |
|
134 MOCHITEST_MANIFESTS += ['test/mochitest.ini'] |
|
135 MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini'] |