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