Bumping manifests a=b2g-bump
[gecko.git] / layout / base / moz.build
blob60ebd7ef9779e2cae51ef179d55c173138e5a51f
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/.
7 XPIDL_SOURCES += [
8     'nsIStyleSheetService.idl',
11 if CONFIG['MOZ_DEBUG']:
12     UNIFIED_SOURCES += [
13         'nsAutoLayoutPhase.cpp',
14     ]
16 XPIDL_MODULE = 'layout_base'
18 EXPORTS += [
19     'ActiveLayerTracker.h',
20     'CaretAssociationHint.h',
21     'DisplayItemClip.h',
22     'DisplayListClipState.h',
23     'FrameLayerBuilder.h',
24     'FramePropertyTable.h',
25     'LayerState.h',
26     'nsArenaMemoryStats.h',
27     'nsBidi.h',
28     'nsBidiPresUtils.h',
29     'nsCaret.h',
30     'nsChangeHint.h',
31     'nsCompatibility.h',
32     'nsCSSFrameConstructor.h',
33     'nsDisplayItemTypes.h',
34     'nsDisplayItemTypesList.h',
35     'nsDisplayList.h',
36     'nsDisplayListInvalidation.h',
37     'nsFrameManager.h',
38     'nsFrameManagerBase.h',
39     'nsFrameTraversal.h',
40     'nsIFrameTraversal.h',
41     'nsILayoutDebugger.h',
42     'nsILayoutHistoryState.h',
43     'nsIPercentHeightObserver.h',
44     'nsIPresShell.h',
45     'nsIReflowCallback.h',
46     'nsLayoutUtils.h',
47     'nsPresArena.h',
48     'nsPresContext.h',
49     'nsPresState.h',
50     'nsRefreshDriver.h',
51     'nsStyleChangeList.h',
52     'ScrollbarStyles.h',
53     'StackArena.h',
54     'Units.h',
55     'UnitTransforms.h',
56     'WordMovementType.h',
59 EXPORTS.mozilla += [
60     'GeometryUtils.h',
61     'PaintTracker.h',
64 UNIFIED_SOURCES += [
65     'ActiveLayerTracker.cpp',
66     'DisplayItemClip.cpp',
67     'DisplayListClipState.cpp',
68     'FrameLayerBuilder.cpp',
69     'FramePropertyTable.cpp',
70     'GeometryUtils.cpp',
71     'MaskLayerImageCache.cpp',
72     'nsBidi.cpp',
73     'nsBidiPresUtils.cpp',
74     'nsCaret.cpp',
75     'nsCounterManager.cpp',
76     'nsCSSColorUtils.cpp',
77     'nsCSSFrameConstructor.cpp',
78     'nsCSSRendering.cpp',
79     'nsCSSRenderingBorders.cpp',
80     'nsDisplayList.cpp',
81     'nsDisplayListInvalidation.cpp',
82     'nsFrameManager.cpp',
83     'nsFrameTraversal.cpp',
84     'nsGenConList.cpp',
85     'nsLayoutDebugger.cpp',
86     'nsLayoutHistoryState.cpp',
87     'nsLayoutUtils.cpp',
88     'nsPresContext.cpp',
89     'nsQuoteList.cpp',
90     'nsStyleChangeList.cpp',
91     'nsStyleSheetService.cpp',
92     'PaintTracker.cpp',
93     'PositionedEventTargeting.cpp',
94     'RestyleManager.cpp',
95     'RestyleTracker.cpp',
96     'SelectionCarets.cpp',
97     'StackArena.cpp',
98     'TouchCaret.cpp',
101 # nsDocumentViewer.cpp and nsPresShell.cpp need to be built separately
102 # because they force NSPR logging.
103 # nsPresArena.cpp needs to be built separately because it uses plarena.h.
104 # nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers
105 SOURCES += [
106     'nsDocumentViewer.cpp',
107     'nsPresArena.cpp',
108     'nsPresShell.cpp',
109     'nsRefreshDriver.cpp',
112 FAIL_ON_WARNINGS = True
114 MSVC_ENABLE_PGO = True
116 include('/ipc/chromium/chromium-config.mozbuild')
118 LOCAL_INCLUDES += [
119     '../../content/base/src',
120     '../../content/html/content/src',
121     '../../content/svg/content/src',
122     '../forms',
123     '../generic',
124     '../mathml',
125     '../printing',
126     '../style',
127     '../svg',
128     '../tables',
129     '../xul',
130     '../xul/tree/',
131     '/docshell/base',
132     '/dom/base',
133     '/dom/xbl',
134     '/view',
137 FINAL_LIBRARY = 'xul'
139 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
140 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
141 BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']
143 CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']