Bug 1776056 - Switch to the tab an animation is running and make sure the animation...
[gecko.git] / layout / base / moz.build
blob791bbd481a1a2b8674df97a7dfef088a0e712f17
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")
22 XPIDL_SOURCES += [
23     "nsILayoutHistoryState.idl",
24     "nsIPreloadedStyleSheet.idl",
25     "nsIStyleSheetService.idl",
28 if CONFIG["MOZ_DEBUG"]:
29     UNIFIED_SOURCES += [
30         "nsAutoLayoutPhase.cpp",
31     ]
33 XPIDL_MODULE = "layout_base"
35 EXPORTS += [
36     "CaretAssociationHint.h",
37     "FrameProperties.h",
38     "LayoutConstants.h",
39     "LayoutLogging.h",
40     "MobileViewportManager.h",
41     "nsAutoLayoutPhase.h",
42     "nsBidiPresUtils.h",
43     "nsCaret.h",
44     "nsChangeHint.h",
45     "nsCompatibility.h",
46     "nsCounterManager.h",
47     "nsCSSFrameConstructor.h",
48     "nsFrameManager.h",
49     "nsFrameTraversal.h",
50     "nsGenConList.h",
51     "nsIFrameTraversal.h",
52     "nsIPercentBSizeObserver.h",
53     "nsIReflowCallback.h",
54     "nsLayoutUtils.h",
55     "nsPresArena.h",
56     "nsPresArenaObjectList.h",
57     "nsPresContext.h",
58     "nsPresContextInlines.h",
59     "nsQuoteList.h",
60     "nsRefreshDriver.h",
61     "nsRefreshObservers.h",
62     "nsStyleChangeList.h",
63     "nsStyleSheetService.h",
64     "StackArena.h",
65     "TouchManager.h",
66     "Units.h",
67     "UnitTransforms.h",
68     "WordMovementType.h",
69     "ZoomConstraintsClient.h",
72 EXPORTS.mozilla += [
73     "AccessibleCaretEventHub.h",
74     "ArenaObjectID.h",
75     "ContainStyleScopeManager.h",
76     "DepthOrderedFrameList.h",
77     "DisplayPortUtils.h",
78     "GeckoMVMContext.h",
79     "GeometryUtils.h",
80     "MediaEmulationData.h",
81     "MotionPathUtils.h",
82     "MVMContext.h",
83     "OverflowChangedTracker.h",
84     "PositionedEventTargeting.h",
85     "PresShell.h",
86     "PresShellForwards.h",
87     "PresShellInlines.h",
88     "RelativeTo.h",
89     "RestyleManager.h",
90     "ScrollStyles.h",
91     "ScrollTypes.h",
92     "ShapeUtils.h",
93     "StaticPresData.h",
94     "SurfaceFromElementResult.h",
95     "ViewportUtils.h",
98 EXPORTS.mozilla.layout += [
99     "LayoutTelemetryTools.h",
102 UNIFIED_SOURCES += [
103     "AccessibleCaret.cpp",
104     "AccessibleCaretEventHub.cpp",
105     "AccessibleCaretManager.cpp",
106     "ContainStyleScopeManager.cpp",
107     "DepthOrderedFrameList.cpp",
108     "DisplayPortUtils.cpp",
109     "GeckoMVMContext.cpp",
110     "GeometryUtils.cpp",
111     "LayoutLogging.cpp",
112     "LayoutTelemetryTools.cpp",
113     "MobileViewportManager.cpp",
114     "MotionPathUtils.cpp",
115     "nsBidiPresUtils.cpp",
116     "nsCaret.cpp",
117     "nsCounterManager.cpp",
118     "nsCSSColorUtils.cpp",
119     "nsCSSFrameConstructor.cpp",
120     "nsDocumentViewer.cpp",
121     "nsFrameManager.cpp",
122     "nsFrameTraversal.cpp",
123     "nsGenConList.cpp",
124     "nsLayoutDebugger.cpp",
125     "nsLayoutHistoryState.cpp",
126     "nsLayoutUtils.cpp",
127     "nsPresArena.cpp",
128     "nsPresContext.cpp",
129     "nsQuoteList.cpp",
130     "nsRefreshObservers.cpp",
131     "nsStyleChangeList.cpp",
132     "nsStyleSheetService.cpp",
133     "PositionedEventTargeting.cpp",
134     "PresShell.cpp",
135     "RestyleManager.cpp",
136     "ScrollStyles.cpp",
137     "ShapeUtils.cpp",
138     "StackArena.cpp",
139     "StaticPresData.cpp",
140     "TouchManager.cpp",
141     "ViewportUtils.cpp",
142     "ZoomConstraintsClient.cpp",
145 # nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers
146 SOURCES += [
147     "nsRefreshDriver.cpp",
150 if CONFIG["ENABLE_TESTS"]:
151     DIRS += ["gtest"]
153 include("/ipc/chromium/chromium-config.mozbuild")
155 LOCAL_INCLUDES += [
156     "../forms",
157     "../generic",
158     "../mathml",
159     "../painting",
160     "../printing",
161     "../style",
162     "../tables",
163     "../xul",
164     "../xul/tree/",
165     "/docshell/base",
166     "/dom/base",
167     "/dom/html",
168     "/dom/svg",
169     "/dom/xul",
170     "/view",
173 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
174     LOCAL_INCLUDES += [
175         "/widget/android",
176     ]
178 IPDL_SOURCES += [
179     "PresState.ipdlh",
182 FINAL_LIBRARY = "xul"
184 BROWSER_CHROME_MANIFESTS += ["tests/browser.ini"]
185 MARIONETTE_LAYOUT_MANIFESTS += ["tests/marionette/manifest.ini"]
186 MOCHITEST_MANIFESTS += ["tests/mochitest.ini"]
187 MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.ini"]