1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,135 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +EXPORTS += [ 1.11 + 'nsCanvasFrame.h', 1.12 + 'nsDirection.h', 1.13 + 'nsFrameIdList.h', 1.14 + 'nsFrameList.h', 1.15 + 'nsFrameSelection.h', 1.16 + 'nsFrameState.h', 1.17 + 'nsFrameStateBits.h', 1.18 + 'nsHTMLParts.h', 1.19 + 'nsHTMLReflowMetrics.h', 1.20 + 'nsHTMLReflowState.h', 1.21 + 'nsIAnonymousContentCreator.h', 1.22 + 'nsIFrame.h', 1.23 + 'nsIFrameInlines.h', 1.24 + 'nsIFrameUtil.h', 1.25 + 'nsILineIterator.h', 1.26 + 'nsIObjectFrame.h', 1.27 + 'nsIPageSequenceFrame.h', 1.28 + 'nsIScrollableFrame.h', 1.29 + 'nsIScrollbarOwner.h', 1.30 + 'nsIScrollPositionListener.h', 1.31 + 'nsIStatefulFrame.h', 1.32 + 'nsObjectFrame.h', 1.33 + 'nsQueryFrame.h', 1.34 + 'nsSubDocumentFrame.h', 1.35 + 'ScrollbarActivity.h', 1.36 + 'Selection.h', 1.37 + 'WritingModes.h', 1.38 +] 1.39 + 1.40 +EXPORTS.mozilla.dom += [ 1.41 + 'Selection.h', 1.42 +] 1.43 + 1.44 +EXPORTS.mozilla.layout += [ 1.45 + 'FrameChildList.h', 1.46 +] 1.47 + 1.48 +UNIFIED_SOURCES += [ 1.49 + 'FrameChildList.cpp', 1.50 + 'MathMLTextRunFactory.cpp', 1.51 + 'nsAbsoluteContainingBlock.cpp', 1.52 + 'nsBlockFrame.cpp', 1.53 + 'nsBlockReflowContext.cpp', 1.54 + 'nsBlockReflowState.cpp', 1.55 + 'nsBRFrame.cpp', 1.56 + 'nsBulletFrame.cpp', 1.57 + 'nsCanvasFrame.cpp', 1.58 + 'nsColumnSetFrame.cpp', 1.59 + 'nsContainerFrame.cpp', 1.60 + 'nsFirstLetterFrame.cpp', 1.61 + 'nsFlexContainerFrame.cpp', 1.62 + 'nsFloatManager.cpp', 1.63 + 'nsFontInflationData.cpp', 1.64 + 'nsFrame.cpp', 1.65 + 'nsFrameList.cpp', 1.66 + 'nsFrameSetFrame.cpp', 1.67 + 'nsFrameState.cpp', 1.68 + 'nsFrameUtil.cpp', 1.69 + 'nsGfxScrollFrame.cpp', 1.70 + 'nsGridContainerFrame.cpp', 1.71 + 'nsHTMLCanvasFrame.cpp', 1.72 + 'nsHTMLReflowMetrics.cpp', 1.73 + 'nsHTMLReflowState.cpp', 1.74 + 'nsImageFrame.cpp', 1.75 + 'nsImageMap.cpp', 1.76 + 'nsInlineFrame.cpp', 1.77 + 'nsIntervalSet.cpp', 1.78 + 'nsLeafFrame.cpp', 1.79 + 'nsLineBox.cpp', 1.80 + 'nsPageContentFrame.cpp', 1.81 + 'nsPageFrame.cpp', 1.82 + 'nsPlaceholderFrame.cpp', 1.83 + 'nsSelection.cpp', 1.84 + 'nsSimplePageSequenceFrame.cpp', 1.85 + 'nsSplittableFrame.cpp', 1.86 + 'nsSubDocumentFrame.cpp', 1.87 + 'nsTextFrame.cpp', 1.88 + 'nsTextFrameUtils.cpp', 1.89 + 'nsTextRunTransformations.cpp', 1.90 + 'nsVideoFrame.cpp', 1.91 + 'nsViewportFrame.cpp', 1.92 + 'ScrollbarActivity.cpp', 1.93 + 'StickyScrollContainer.cpp', 1.94 + 'TextOverflow.cpp', 1.95 +] 1.96 + 1.97 +# nsLineLayout.cpp needs to be built separately because it uses plarena.h. 1.98 +# nsObjectFrame.cpp needs to be built separately because of name clashes in the OS X headers. 1.99 +SOURCES += [ 1.100 + 'nsLineLayout.cpp', 1.101 + 'nsObjectFrame.cpp', 1.102 +] 1.103 + 1.104 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': 1.105 + UNIFIED_SOURCES += [ 1.106 + 'nsPluginUtilsOSX.mm', 1.107 + ] 1.108 + 1.109 +FAIL_ON_WARNINGS = not CONFIG['_MSC_VER'] 1.110 + 1.111 +MSVC_ENABLE_PGO = True 1.112 + 1.113 +include('/ipc/chromium/chromium-config.mozbuild') 1.114 + 1.115 +FINAL_LIBRARY = 'gklayout' 1.116 + 1.117 +LOCAL_INCLUDES += [ 1.118 + '../../content/base/src', 1.119 + '../../content/html/content/src', 1.120 + '../../content/xul/content/src', 1.121 + '../../dom/base', 1.122 + '../../dom/plugins/base', 1.123 + '../base', 1.124 + '../forms', 1.125 + '../style', 1.126 + '../svg', 1.127 + '../tables', 1.128 + '../xul', 1.129 +] 1.130 + 1.131 +JAR_MANIFESTS += ['jar.mn'] 1.132 + 1.133 +RESOURCE_FILES.html = [ 1.134 + 'folder.png', 1.135 +] 1.136 + 1.137 +MOCHITEST_MANIFESTS += ['test/mochitest.ini'] 1.138 +MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']