michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIStyleSheetService.idl', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_DEBUG']: michael@0: UNIFIED_SOURCES += [ michael@0: 'nsAutoLayoutPhase.cpp', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'layout_base' michael@0: michael@0: EXPORTS += [ michael@0: 'ActiveLayerTracker.h', michael@0: 'DisplayItemClip.h', michael@0: 'DisplayListClipState.h', michael@0: 'FrameLayerBuilder.h', michael@0: 'FramePropertyTable.h', michael@0: 'nsArenaMemoryStats.h', michael@0: 'nsBidi.h', michael@0: 'nsBidiPresUtils.h', michael@0: 'nsCaret.h', michael@0: 'nsChangeHint.h', michael@0: 'nsCompatibility.h', michael@0: 'nsCSSFrameConstructor.h', michael@0: 'nsDisplayItemTypes.h', michael@0: 'nsDisplayItemTypesList.h', michael@0: 'nsDisplayList.h', michael@0: 'nsDisplayListInvalidation.h', michael@0: 'nsFrameManager.h', michael@0: 'nsFrameManagerBase.h', michael@0: 'nsFrameTraversal.h', michael@0: 'nsIFrameTraversal.h', michael@0: 'nsILayoutDebugger.h', michael@0: 'nsILayoutHistoryState.h', michael@0: 'nsIPercentHeightObserver.h', michael@0: 'nsIPresShell.h', michael@0: 'nsIReflowCallback.h', michael@0: 'nsLayoutUtils.h', michael@0: 'nsPresArena.h', michael@0: 'nsPresContext.h', michael@0: 'nsPresState.h', michael@0: 'nsRefreshDriver.h', michael@0: 'nsStyleChangeList.h', michael@0: 'ScrollbarStyles.h', michael@0: 'StackArena.h', michael@0: 'Units.h', michael@0: 'UnitTransforms.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'GeometryUtils.h', michael@0: 'PaintTracker.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'ActiveLayerTracker.cpp', michael@0: 'DisplayItemClip.cpp', michael@0: 'DisplayListClipState.cpp', michael@0: 'FrameLayerBuilder.cpp', michael@0: 'FramePropertyTable.cpp', michael@0: 'GeometryUtils.cpp', michael@0: 'MaskLayerImageCache.cpp', michael@0: 'nsBidi.cpp', michael@0: 'nsBidiPresUtils.cpp', michael@0: 'nsCaret.cpp', michael@0: 'nsCounterManager.cpp', michael@0: 'nsCSSColorUtils.cpp', michael@0: 'nsCSSFrameConstructor.cpp', michael@0: 'nsCSSRendering.cpp', michael@0: 'nsCSSRenderingBorders.cpp', michael@0: 'nsDisplayList.cpp', michael@0: 'nsDisplayListInvalidation.cpp', michael@0: 'nsFrameManager.cpp', michael@0: 'nsFrameTraversal.cpp', michael@0: 'nsGenConList.cpp', michael@0: 'nsLayoutDebugger.cpp', michael@0: 'nsLayoutHistoryState.cpp', michael@0: 'nsLayoutUtils.cpp', michael@0: 'nsPresContext.cpp', michael@0: 'nsQuoteList.cpp', michael@0: 'nsStyleChangeList.cpp', michael@0: 'nsStyleSheetService.cpp', michael@0: 'PaintTracker.cpp', michael@0: 'PositionedEventTargeting.cpp', michael@0: 'RestyleManager.cpp', michael@0: 'RestyleTracker.cpp', michael@0: 'StackArena.cpp', michael@0: ] michael@0: michael@0: # nsDocumentViewer.cpp and nsPresShell.cpp need to be built separately michael@0: # because they force NSPR logging. michael@0: # nsPresArena.cpp needs to be built separately because it uses plarena.h. michael@0: # nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers michael@0: SOURCES += [ michael@0: 'nsDocumentViewer.cpp', michael@0: 'nsPresArena.cpp', michael@0: 'nsPresShell.cpp', michael@0: 'nsRefreshDriver.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../../content/base/src', michael@0: '../../content/html/content/src', michael@0: '../../content/svg/content/src', michael@0: '../../view/src', michael@0: '../forms', michael@0: '../generic', michael@0: '../mathml', michael@0: '../printing', michael@0: '../style', michael@0: '../svg', michael@0: '../tables', michael@0: '../xul', michael@0: '../xul/tree/', michael@0: '/docshell/base', michael@0: '/dom/base', michael@0: '/dom/xbl', michael@0: ] michael@0: michael@0: FINAL_LIBRARY = 'gklayout' michael@0: michael@0: MOCHITEST_MANIFESTS += ['tests/mochitest.ini'] michael@0: MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini'] michael@0: BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']