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/.
8 'nsIStyleSheetService.idl',
11 if CONFIG['MOZ_DEBUG']:
13 'nsAutoLayoutPhase.cpp',
16 XPIDL_MODULE = 'layout_base'
19 'ActiveLayerTracker.h',
20 'CaretAssociationHint.h',
22 'DisplayListClipState.h',
23 'FrameLayerBuilder.h',
24 'FramePropertyTable.h',
26 'nsArenaMemoryStats.h',
32 'nsCSSFrameConstructor.h',
33 'nsDisplayItemTypes.h',
34 'nsDisplayItemTypesList.h',
36 'nsDisplayListInvalidation.h',
38 'nsFrameManagerBase.h',
40 'nsIFrameTraversal.h',
41 'nsILayoutDebugger.h',
42 'nsILayoutHistoryState.h',
43 'nsIPercentHeightObserver.h',
45 'nsIReflowCallback.h',
51 'nsStyleChangeList.h',
65 'ActiveLayerTracker.cpp',
66 'DisplayItemClip.cpp',
67 'DisplayListClipState.cpp',
68 'FrameLayerBuilder.cpp',
69 'FramePropertyTable.cpp',
71 'MaskLayerImageCache.cpp',
73 'nsBidiPresUtils.cpp',
75 'nsCounterManager.cpp',
76 'nsCSSColorUtils.cpp',
77 'nsCSSFrameConstructor.cpp',
79 'nsCSSRenderingBorders.cpp',
81 'nsDisplayListInvalidation.cpp',
83 'nsFrameTraversal.cpp',
85 'nsLayoutDebugger.cpp',
86 'nsLayoutHistoryState.cpp',
90 'nsStyleChangeList.cpp',
91 'nsStyleSheetService.cpp',
93 'PositionedEventTargeting.cpp',
96 'SelectionCarets.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
106 'nsDocumentViewer.cpp',
109 'nsRefreshDriver.cpp',
112 FAIL_ON_WARNINGS = True
114 MSVC_ENABLE_PGO = True
116 include('/ipc/chromium/chromium-config.mozbuild')
119 '../../content/base/src',
120 '../../content/html/content/src',
121 '../../content/svg/content/src',
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']