1 # -*- Mode: python; 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 with Files("Restyle*"):
8 BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
10 with Files("nsStyle*"):
11 BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
13 with Files("nsChangeHint.h"):
14 BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
16 with Files("nsBidi*"):
17 BUG_COMPONENT = ("Core", "Layout: Text and Fonts")
19 with Files("AccessibleCaret*"):
20 BUG_COMPONENT = ("Core", "DOM: Selection")
23 "nsILayoutHistoryState.idl",
24 "nsIPreloadedStyleSheet.idl",
25 "nsIStyleSheetService.idl",
28 if CONFIG["MOZ_DEBUG"]:
30 "nsAutoLayoutPhase.cpp",
33 XPIDL_MODULE = "layout_base"
39 "MobileViewportManager.h",
40 "nsAutoLayoutPhase.h",
46 "nsCSSFrameConstructor.h",
50 "nsIPercentBSizeObserver.h",
51 "nsIReflowCallback.h",
54 "nsPresArenaObjectList.h",
56 "nsPresContextInlines.h",
59 "nsRefreshObservers.h",
60 "nsStyleChangeList.h",
61 "nsStyleSheetService.h",
67 "ZoomConstraintsClient.h",
71 "AccessibleCaretEventHub.h",
74 "CaretAssociationHint.h",
75 "ContainStyleScopeManager.h",
76 "DepthOrderedFrameList.h",
80 "MediaEmulationData.h",
83 "OverflowChangedTracker.h",
84 "PositionedEventTargeting.h",
86 "PresShellForwards.h",
94 "SurfaceFromElementResult.h",
98 EXPORTS.mozilla.layout += [
99 "LayoutTelemetryTools.h",
103 "AccessibleCaret.cpp",
104 "AccessibleCaretEventHub.cpp",
105 "AccessibleCaretManager.cpp",
107 "ContainStyleScopeManager.cpp",
108 "DepthOrderedFrameList.cpp",
109 "DisplayPortUtils.cpp",
110 "GeckoMVMContext.cpp",
113 "LayoutTelemetryTools.cpp",
114 "MobileViewportManager.cpp",
115 "MotionPathUtils.cpp",
116 "nsBidiPresUtils.cpp",
118 "nsCounterManager.cpp",
119 "nsCSSColorUtils.cpp",
120 "nsCSSFrameConstructor.cpp",
121 "nsDocumentViewer.cpp",
122 "nsFrameManager.cpp",
123 "nsFrameTraversal.cpp",
125 "nsLayoutDebugger.cpp",
126 "nsLayoutHistoryState.cpp",
131 "nsRefreshObservers.cpp",
132 "nsStyleChangeList.cpp",
133 "nsStyleSheetService.cpp",
134 "PositionedEventTargeting.cpp",
136 "RestyleManager.cpp",
140 "StaticPresData.cpp",
143 "ZoomConstraintsClient.cpp",
146 # nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers
148 "nsRefreshDriver.cpp",
151 if CONFIG["ENABLE_TESTS"]:
154 include("/ipc/chromium/chromium-config.mozbuild")
174 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
183 FINAL_LIBRARY = "xul"
185 BROWSER_CHROME_MANIFESTS += ["tests/browser.toml"]
186 MARIONETTE_MANIFESTS += ["tests/marionette/manifest.toml"]
187 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"]
188 MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.toml"]