Bumping manifests a=b2g-bump
[gecko.git] / layout / generic / moz.build
blobbe752630b8a0edb808cc3113e53e07917647714a
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     'nsPluginFrame.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     'nsRubyContentFrame.cpp',
86     'nsRubyFrame.cpp',
87     'nsRubyTextContainerFrame.cpp',
88     'nsRubyTextFrame.cpp',
89     'nsSelection.cpp',
90     'nsSimplePageSequenceFrame.cpp',
91     'nsSplittableFrame.cpp',
92     'nsSubDocumentFrame.cpp',
93     'nsTextFrame.cpp',
94     'nsTextFrameUtils.cpp',
95     'nsTextRunTransformations.cpp',
96     'nsVideoFrame.cpp',
97     'nsViewportFrame.cpp',
98     'RubyReflowState.cpp',
99     'RubyUtils.cpp',
100     'ScrollbarActivity.cpp',
101     'StickyScrollContainer.cpp',
102     'TextOverflow.cpp',
105 # nsLineLayout.cpp needs to be built separately because it uses plarena.h.
106 # nsPluginFrame.cpp needs to be built separately because of name clashes in the OS X headers.
107 SOURCES += [
108     'nsLineLayout.cpp',
109     'nsPluginFrame.cpp',
112 FAIL_ON_WARNINGS = not CONFIG['_MSC_VER']
114 MSVC_ENABLE_PGO = True
116 include('/ipc/chromium/chromium-config.mozbuild')
118 FINAL_LIBRARY = 'xul'
120 LOCAL_INCLUDES += [
121     '../../dom/plugins/base',
122     '../base',
123     '../forms',
124     '../style',
125     '../svg',
126     '../tables',
127     '../xul',
128     '/dom/base',
129     '/dom/html',
130     '/dom/xul',
133 JAR_MANIFESTS += ['jar.mn']
135 RESOURCE_FILES.html = [
136     'folder.png',
139 MOCHITEST_MANIFESTS += ['test/mochitest.ini']
140 MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
142 CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
144 if CONFIG['MOZ_WIDGET_GTK']:
145     CXXFLAGS += CONFIG['TK_CFLAGS']
147 if CONFIG['MOZ_ENABLE_QT']:
148     CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']