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: EXPORTS += [ michael@0: 'nsCanvasFrame.h', michael@0: 'nsDirection.h', michael@0: 'nsFrameIdList.h', michael@0: 'nsFrameList.h', michael@0: 'nsFrameSelection.h', michael@0: 'nsFrameState.h', michael@0: 'nsFrameStateBits.h', michael@0: 'nsHTMLParts.h', michael@0: 'nsHTMLReflowMetrics.h', michael@0: 'nsHTMLReflowState.h', michael@0: 'nsIAnonymousContentCreator.h', michael@0: 'nsIFrame.h', michael@0: 'nsIFrameInlines.h', michael@0: 'nsIFrameUtil.h', michael@0: 'nsILineIterator.h', michael@0: 'nsIObjectFrame.h', michael@0: 'nsIPageSequenceFrame.h', michael@0: 'nsIScrollableFrame.h', michael@0: 'nsIScrollbarOwner.h', michael@0: 'nsIScrollPositionListener.h', michael@0: 'nsIStatefulFrame.h', michael@0: 'nsObjectFrame.h', michael@0: 'nsQueryFrame.h', michael@0: 'nsSubDocumentFrame.h', michael@0: 'ScrollbarActivity.h', michael@0: 'Selection.h', michael@0: 'WritingModes.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.dom += [ michael@0: 'Selection.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.layout += [ michael@0: 'FrameChildList.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'FrameChildList.cpp', michael@0: 'MathMLTextRunFactory.cpp', michael@0: 'nsAbsoluteContainingBlock.cpp', michael@0: 'nsBlockFrame.cpp', michael@0: 'nsBlockReflowContext.cpp', michael@0: 'nsBlockReflowState.cpp', michael@0: 'nsBRFrame.cpp', michael@0: 'nsBulletFrame.cpp', michael@0: 'nsCanvasFrame.cpp', michael@0: 'nsColumnSetFrame.cpp', michael@0: 'nsContainerFrame.cpp', michael@0: 'nsFirstLetterFrame.cpp', michael@0: 'nsFlexContainerFrame.cpp', michael@0: 'nsFloatManager.cpp', michael@0: 'nsFontInflationData.cpp', michael@0: 'nsFrame.cpp', michael@0: 'nsFrameList.cpp', michael@0: 'nsFrameSetFrame.cpp', michael@0: 'nsFrameState.cpp', michael@0: 'nsFrameUtil.cpp', michael@0: 'nsGfxScrollFrame.cpp', michael@0: 'nsGridContainerFrame.cpp', michael@0: 'nsHTMLCanvasFrame.cpp', michael@0: 'nsHTMLReflowMetrics.cpp', michael@0: 'nsHTMLReflowState.cpp', michael@0: 'nsImageFrame.cpp', michael@0: 'nsImageMap.cpp', michael@0: 'nsInlineFrame.cpp', michael@0: 'nsIntervalSet.cpp', michael@0: 'nsLeafFrame.cpp', michael@0: 'nsLineBox.cpp', michael@0: 'nsPageContentFrame.cpp', michael@0: 'nsPageFrame.cpp', michael@0: 'nsPlaceholderFrame.cpp', michael@0: 'nsSelection.cpp', michael@0: 'nsSimplePageSequenceFrame.cpp', michael@0: 'nsSplittableFrame.cpp', michael@0: 'nsSubDocumentFrame.cpp', michael@0: 'nsTextFrame.cpp', michael@0: 'nsTextFrameUtils.cpp', michael@0: 'nsTextRunTransformations.cpp', michael@0: 'nsVideoFrame.cpp', michael@0: 'nsViewportFrame.cpp', michael@0: 'ScrollbarActivity.cpp', michael@0: 'StickyScrollContainer.cpp', michael@0: 'TextOverflow.cpp', michael@0: ] michael@0: michael@0: # nsLineLayout.cpp needs to be built separately because it uses plarena.h. michael@0: # nsObjectFrame.cpp needs to be built separately because of name clashes in the OS X headers. michael@0: SOURCES += [ michael@0: 'nsLineLayout.cpp', michael@0: 'nsObjectFrame.cpp', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': michael@0: UNIFIED_SOURCES += [ michael@0: 'nsPluginUtilsOSX.mm', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = not CONFIG['_MSC_VER'] michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'gklayout' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../../content/base/src', michael@0: '../../content/html/content/src', michael@0: '../../content/xul/content/src', michael@0: '../../dom/base', michael@0: '../../dom/plugins/base', michael@0: '../base', michael@0: '../forms', michael@0: '../style', michael@0: '../svg', michael@0: '../tables', michael@0: '../xul', michael@0: ] michael@0: michael@0: JAR_MANIFESTS += ['jar.mn'] michael@0: michael@0: RESOURCE_FILES.html = [ michael@0: 'folder.png', michael@0: ] michael@0: michael@0: MOCHITEST_MANIFESTS += ['test/mochitest.ini'] michael@0: MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']