Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | EXPORTS += [ |
michael@0 | 8 | 'nsCanvasFrame.h', |
michael@0 | 9 | 'nsDirection.h', |
michael@0 | 10 | 'nsFrameIdList.h', |
michael@0 | 11 | 'nsFrameList.h', |
michael@0 | 12 | 'nsFrameSelection.h', |
michael@0 | 13 | 'nsFrameState.h', |
michael@0 | 14 | 'nsFrameStateBits.h', |
michael@0 | 15 | 'nsHTMLParts.h', |
michael@0 | 16 | 'nsHTMLReflowMetrics.h', |
michael@0 | 17 | 'nsHTMLReflowState.h', |
michael@0 | 18 | 'nsIAnonymousContentCreator.h', |
michael@0 | 19 | 'nsIFrame.h', |
michael@0 | 20 | 'nsIFrameInlines.h', |
michael@0 | 21 | 'nsIFrameUtil.h', |
michael@0 | 22 | 'nsILineIterator.h', |
michael@0 | 23 | 'nsIObjectFrame.h', |
michael@0 | 24 | 'nsIPageSequenceFrame.h', |
michael@0 | 25 | 'nsIScrollableFrame.h', |
michael@0 | 26 | 'nsIScrollbarOwner.h', |
michael@0 | 27 | 'nsIScrollPositionListener.h', |
michael@0 | 28 | 'nsIStatefulFrame.h', |
michael@0 | 29 | 'nsObjectFrame.h', |
michael@0 | 30 | 'nsQueryFrame.h', |
michael@0 | 31 | 'nsSubDocumentFrame.h', |
michael@0 | 32 | 'ScrollbarActivity.h', |
michael@0 | 33 | 'Selection.h', |
michael@0 | 34 | 'WritingModes.h', |
michael@0 | 35 | ] |
michael@0 | 36 | |
michael@0 | 37 | EXPORTS.mozilla.dom += [ |
michael@0 | 38 | 'Selection.h', |
michael@0 | 39 | ] |
michael@0 | 40 | |
michael@0 | 41 | EXPORTS.mozilla.layout += [ |
michael@0 | 42 | 'FrameChildList.h', |
michael@0 | 43 | ] |
michael@0 | 44 | |
michael@0 | 45 | UNIFIED_SOURCES += [ |
michael@0 | 46 | 'FrameChildList.cpp', |
michael@0 | 47 | 'MathMLTextRunFactory.cpp', |
michael@0 | 48 | 'nsAbsoluteContainingBlock.cpp', |
michael@0 | 49 | 'nsBlockFrame.cpp', |
michael@0 | 50 | 'nsBlockReflowContext.cpp', |
michael@0 | 51 | 'nsBlockReflowState.cpp', |
michael@0 | 52 | 'nsBRFrame.cpp', |
michael@0 | 53 | 'nsBulletFrame.cpp', |
michael@0 | 54 | 'nsCanvasFrame.cpp', |
michael@0 | 55 | 'nsColumnSetFrame.cpp', |
michael@0 | 56 | 'nsContainerFrame.cpp', |
michael@0 | 57 | 'nsFirstLetterFrame.cpp', |
michael@0 | 58 | 'nsFlexContainerFrame.cpp', |
michael@0 | 59 | 'nsFloatManager.cpp', |
michael@0 | 60 | 'nsFontInflationData.cpp', |
michael@0 | 61 | 'nsFrame.cpp', |
michael@0 | 62 | 'nsFrameList.cpp', |
michael@0 | 63 | 'nsFrameSetFrame.cpp', |
michael@0 | 64 | 'nsFrameState.cpp', |
michael@0 | 65 | 'nsFrameUtil.cpp', |
michael@0 | 66 | 'nsGfxScrollFrame.cpp', |
michael@0 | 67 | 'nsGridContainerFrame.cpp', |
michael@0 | 68 | 'nsHTMLCanvasFrame.cpp', |
michael@0 | 69 | 'nsHTMLReflowMetrics.cpp', |
michael@0 | 70 | 'nsHTMLReflowState.cpp', |
michael@0 | 71 | 'nsImageFrame.cpp', |
michael@0 | 72 | 'nsImageMap.cpp', |
michael@0 | 73 | 'nsInlineFrame.cpp', |
michael@0 | 74 | 'nsIntervalSet.cpp', |
michael@0 | 75 | 'nsLeafFrame.cpp', |
michael@0 | 76 | 'nsLineBox.cpp', |
michael@0 | 77 | 'nsPageContentFrame.cpp', |
michael@0 | 78 | 'nsPageFrame.cpp', |
michael@0 | 79 | 'nsPlaceholderFrame.cpp', |
michael@0 | 80 | 'nsSelection.cpp', |
michael@0 | 81 | 'nsSimplePageSequenceFrame.cpp', |
michael@0 | 82 | 'nsSplittableFrame.cpp', |
michael@0 | 83 | 'nsSubDocumentFrame.cpp', |
michael@0 | 84 | 'nsTextFrame.cpp', |
michael@0 | 85 | 'nsTextFrameUtils.cpp', |
michael@0 | 86 | 'nsTextRunTransformations.cpp', |
michael@0 | 87 | 'nsVideoFrame.cpp', |
michael@0 | 88 | 'nsViewportFrame.cpp', |
michael@0 | 89 | 'ScrollbarActivity.cpp', |
michael@0 | 90 | 'StickyScrollContainer.cpp', |
michael@0 | 91 | 'TextOverflow.cpp', |
michael@0 | 92 | ] |
michael@0 | 93 | |
michael@0 | 94 | # nsLineLayout.cpp needs to be built separately because it uses plarena.h. |
michael@0 | 95 | # nsObjectFrame.cpp needs to be built separately because of name clashes in the OS X headers. |
michael@0 | 96 | SOURCES += [ |
michael@0 | 97 | 'nsLineLayout.cpp', |
michael@0 | 98 | 'nsObjectFrame.cpp', |
michael@0 | 99 | ] |
michael@0 | 100 | |
michael@0 | 101 | if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
michael@0 | 102 | UNIFIED_SOURCES += [ |
michael@0 | 103 | 'nsPluginUtilsOSX.mm', |
michael@0 | 104 | ] |
michael@0 | 105 | |
michael@0 | 106 | FAIL_ON_WARNINGS = not CONFIG['_MSC_VER'] |
michael@0 | 107 | |
michael@0 | 108 | MSVC_ENABLE_PGO = True |
michael@0 | 109 | |
michael@0 | 110 | include('/ipc/chromium/chromium-config.mozbuild') |
michael@0 | 111 | |
michael@0 | 112 | FINAL_LIBRARY = 'gklayout' |
michael@0 | 113 | |
michael@0 | 114 | LOCAL_INCLUDES += [ |
michael@0 | 115 | '../../content/base/src', |
michael@0 | 116 | '../../content/html/content/src', |
michael@0 | 117 | '../../content/xul/content/src', |
michael@0 | 118 | '../../dom/base', |
michael@0 | 119 | '../../dom/plugins/base', |
michael@0 | 120 | '../base', |
michael@0 | 121 | '../forms', |
michael@0 | 122 | '../style', |
michael@0 | 123 | '../svg', |
michael@0 | 124 | '../tables', |
michael@0 | 125 | '../xul', |
michael@0 | 126 | ] |
michael@0 | 127 | |
michael@0 | 128 | JAR_MANIFESTS += ['jar.mn'] |
michael@0 | 129 | |
michael@0 | 130 | RESOURCE_FILES.html = [ |
michael@0 | 131 | 'folder.png', |
michael@0 | 132 | ] |
michael@0 | 133 | |
michael@0 | 134 | MOCHITEST_MANIFESTS += ['test/mochitest.ini'] |
michael@0 | 135 | MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini'] |