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/.
18 'nsHTMLReflowMetrics.h',
19 'nsHTMLReflowState.h',
20 'nsIAnonymousContentCreator.h',
26 'nsIPageSequenceFrame.h',
27 'nsIScrollableFrame.h',
28 'nsIScrollPositionListener.h',
32 'nsSplittableFrame.h',
33 'nsSubDocumentFrame.h',
34 'nsTextRunTransformations.h',
35 'ScrollbarActivity.h',
40 EXPORTS.mozilla.dom += [
44 EXPORTS.mozilla.layout += [
50 'MathMLTextRunFactory.cpp',
51 'nsAbsoluteContainingBlock.cpp',
53 'nsBlockReflowContext.cpp',
54 'nsBlockReflowState.cpp',
58 'nsColumnSetFrame.cpp',
59 'nsContainerFrame.cpp',
60 'nsFirstLetterFrame.cpp',
61 'nsFlexContainerFrame.cpp',
63 'nsFontInflationData.cpp',
66 'nsFrameSetFrame.cpp',
69 'nsGfxScrollFrame.cpp',
70 'nsGridContainerFrame.cpp',
71 'nsHTMLCanvasFrame.cpp',
72 'nsHTMLReflowMetrics.cpp',
73 'nsHTMLReflowState.cpp',
80 'nsPageContentFrame.cpp',
82 'nsPlaceholderFrame.cpp',
83 'nsRubyBaseContainerFrame.cpp',
84 'nsRubyBaseFrame.cpp',
86 'nsRubyTextContainerFrame.cpp',
87 'nsRubyTextFrame.cpp',
89 'nsSimplePageSequenceFrame.cpp',
90 'nsSplittableFrame.cpp',
91 'nsSubDocumentFrame.cpp',
93 'nsTextFrameUtils.cpp',
94 'nsTextRunTransformations.cpp',
96 'nsViewportFrame.cpp',
97 'ScrollbarActivity.cpp',
98 'StickyScrollContainer.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.
109 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
111 'nsPluginUtilsOSX.mm',
114 FAIL_ON_WARNINGS = not CONFIG['_MSC_VER']
116 MSVC_ENABLE_PGO = True
118 include('/ipc/chromium/chromium-config.mozbuild')
120 FINAL_LIBRARY = 'xul'
123 '../../content/base/src',
124 '../../content/html/content/src',
125 '../../content/xul/content/src',
127 '../../dom/plugins/base',
136 JAR_MANIFESTS += ['jar.mn']
138 RESOURCE_FILES.html = [
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']