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',
85 'nsRubyContentFrame.cpp',
87 'nsRubyTextContainerFrame.cpp',
88 'nsRubyTextFrame.cpp',
90 'nsSimplePageSequenceFrame.cpp',
91 'nsSplittableFrame.cpp',
92 'nsSubDocumentFrame.cpp',
94 'nsTextFrameUtils.cpp',
95 'nsTextRunTransformations.cpp',
97 'nsViewportFrame.cpp',
98 'RubyReflowState.cpp',
100 'ScrollbarActivity.cpp',
101 'StickyScrollContainer.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.
112 FAIL_ON_WARNINGS = not CONFIG['_MSC_VER']
114 MSVC_ENABLE_PGO = True
116 include('/ipc/chromium/chromium-config.mozbuild')
118 FINAL_LIBRARY = 'xul'
121 '../../dom/plugins/base',
133 JAR_MANIFESTS += ['jar.mn']
135 RESOURCE_FILES.html = [
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']