layout/base/moz.build

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

mercurial