Bug 1869043 allow a device to be specified with MediaTrackGraph::NotifyWhenDeviceStar...
[gecko.git] / layout / base / moz.build
blob68d70bad312fc393fa8a1a7d595574c9f5f71edd
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     "FrameProperties.h",
37     "LayoutConstants.h",
38     "LayoutLogging.h",
39     "MobileViewportManager.h",
40     "nsAutoLayoutPhase.h",
41     "nsBidiPresUtils.h",
42     "nsCaret.h",
43     "nsChangeHint.h",
44     "nsCompatibility.h",
45     "nsCounterManager.h",
46     "nsCSSFrameConstructor.h",
47     "nsFrameManager.h",
48     "nsFrameTraversal.h",
49     "nsGenConList.h",
50     "nsIPercentBSizeObserver.h",
51     "nsIReflowCallback.h",
52     "nsLayoutUtils.h",
53     "nsPresArena.h",
54     "nsPresArenaObjectList.h",
55     "nsPresContext.h",
56     "nsPresContextInlines.h",
57     "nsQuoteList.h",
58     "nsRefreshDriver.h",
59     "nsRefreshObservers.h",
60     "nsStyleChangeList.h",
61     "nsStyleSheetService.h",
62     "StackArena.h",
63     "TouchManager.h",
64     "Units.h",
65     "UnitTransforms.h",
66     "WordMovementType.h",
67     "ZoomConstraintsClient.h",
70 EXPORTS.mozilla += [
71     "AccessibleCaretEventHub.h",
72     "ArenaObjectID.h",
73     "Baseline.h",
74     "CaretAssociationHint.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     "Baseline.cpp",
107     "ContainStyleScopeManager.cpp",
108     "DepthOrderedFrameList.cpp",
109     "DisplayPortUtils.cpp",
110     "GeckoMVMContext.cpp",
111     "GeometryUtils.cpp",
112     "LayoutLogging.cpp",
113     "LayoutTelemetryTools.cpp",
114     "MobileViewportManager.cpp",
115     "MotionPathUtils.cpp",
116     "nsBidiPresUtils.cpp",
117     "nsCaret.cpp",
118     "nsCounterManager.cpp",
119     "nsCSSColorUtils.cpp",
120     "nsCSSFrameConstructor.cpp",
121     "nsDocumentViewer.cpp",
122     "nsFrameManager.cpp",
123     "nsFrameTraversal.cpp",
124     "nsGenConList.cpp",
125     "nsLayoutDebugger.cpp",
126     "nsLayoutHistoryState.cpp",
127     "nsLayoutUtils.cpp",
128     "nsPresArena.cpp",
129     "nsPresContext.cpp",
130     "nsQuoteList.cpp",
131     "nsRefreshObservers.cpp",
132     "nsStyleChangeList.cpp",
133     "nsStyleSheetService.cpp",
134     "PositionedEventTargeting.cpp",
135     "PresShell.cpp",
136     "RestyleManager.cpp",
137     "ScrollStyles.cpp",
138     "ShapeUtils.cpp",
139     "StackArena.cpp",
140     "StaticPresData.cpp",
141     "TouchManager.cpp",
142     "ViewportUtils.cpp",
143     "ZoomConstraintsClient.cpp",
146 # nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers
147 SOURCES += [
148     "nsRefreshDriver.cpp",
151 if CONFIG["ENABLE_TESTS"]:
152     DIRS += ["gtest"]
154 include("/ipc/chromium/chromium-config.mozbuild")
156 LOCAL_INCLUDES += [
157     "../forms",
158     "../generic",
159     "../mathml",
160     "../painting",
161     "../printing",
162     "../style",
163     "../tables",
164     "../xul",
165     "../xul/tree/",
166     "/docshell/base",
167     "/dom/base",
168     "/dom/html",
169     "/dom/svg",
170     "/dom/xul",
171     "/view",
174 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
175     LOCAL_INCLUDES += [
176         "/widget/android",
177     ]
179 IPDL_SOURCES += [
180     "PresState.ipdlh",
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"]