Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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 | XPIDL_SOURCES += [ |
michael@0 | 8 | 'nsIStyleSheetService.idl', |
michael@0 | 9 | ] |
michael@0 | 10 | |
michael@0 | 11 | if CONFIG['MOZ_DEBUG']: |
michael@0 | 12 | UNIFIED_SOURCES += [ |
michael@0 | 13 | 'nsAutoLayoutPhase.cpp', |
michael@0 | 14 | ] |
michael@0 | 15 | |
michael@0 | 16 | XPIDL_MODULE = 'layout_base' |
michael@0 | 17 | |
michael@0 | 18 | EXPORTS += [ |
michael@0 | 19 | 'ActiveLayerTracker.h', |
michael@0 | 20 | 'DisplayItemClip.h', |
michael@0 | 21 | 'DisplayListClipState.h', |
michael@0 | 22 | 'FrameLayerBuilder.h', |
michael@0 | 23 | 'FramePropertyTable.h', |
michael@0 | 24 | 'nsArenaMemoryStats.h', |
michael@0 | 25 | 'nsBidi.h', |
michael@0 | 26 | 'nsBidiPresUtils.h', |
michael@0 | 27 | 'nsCaret.h', |
michael@0 | 28 | 'nsChangeHint.h', |
michael@0 | 29 | 'nsCompatibility.h', |
michael@0 | 30 | 'nsCSSFrameConstructor.h', |
michael@0 | 31 | 'nsDisplayItemTypes.h', |
michael@0 | 32 | 'nsDisplayItemTypesList.h', |
michael@0 | 33 | 'nsDisplayList.h', |
michael@0 | 34 | 'nsDisplayListInvalidation.h', |
michael@0 | 35 | 'nsFrameManager.h', |
michael@0 | 36 | 'nsFrameManagerBase.h', |
michael@0 | 37 | 'nsFrameTraversal.h', |
michael@0 | 38 | 'nsIFrameTraversal.h', |
michael@0 | 39 | 'nsILayoutDebugger.h', |
michael@0 | 40 | 'nsILayoutHistoryState.h', |
michael@0 | 41 | 'nsIPercentHeightObserver.h', |
michael@0 | 42 | 'nsIPresShell.h', |
michael@0 | 43 | 'nsIReflowCallback.h', |
michael@0 | 44 | 'nsLayoutUtils.h', |
michael@0 | 45 | 'nsPresArena.h', |
michael@0 | 46 | 'nsPresContext.h', |
michael@0 | 47 | 'nsPresState.h', |
michael@0 | 48 | 'nsRefreshDriver.h', |
michael@0 | 49 | 'nsStyleChangeList.h', |
michael@0 | 50 | 'ScrollbarStyles.h', |
michael@0 | 51 | 'StackArena.h', |
michael@0 | 52 | 'Units.h', |
michael@0 | 53 | 'UnitTransforms.h', |
michael@0 | 54 | ] |
michael@0 | 55 | |
michael@0 | 56 | EXPORTS.mozilla += [ |
michael@0 | 57 | 'GeometryUtils.h', |
michael@0 | 58 | 'PaintTracker.h', |
michael@0 | 59 | ] |
michael@0 | 60 | |
michael@0 | 61 | UNIFIED_SOURCES += [ |
michael@0 | 62 | 'ActiveLayerTracker.cpp', |
michael@0 | 63 | 'DisplayItemClip.cpp', |
michael@0 | 64 | 'DisplayListClipState.cpp', |
michael@0 | 65 | 'FrameLayerBuilder.cpp', |
michael@0 | 66 | 'FramePropertyTable.cpp', |
michael@0 | 67 | 'GeometryUtils.cpp', |
michael@0 | 68 | 'MaskLayerImageCache.cpp', |
michael@0 | 69 | 'nsBidi.cpp', |
michael@0 | 70 | 'nsBidiPresUtils.cpp', |
michael@0 | 71 | 'nsCaret.cpp', |
michael@0 | 72 | 'nsCounterManager.cpp', |
michael@0 | 73 | 'nsCSSColorUtils.cpp', |
michael@0 | 74 | 'nsCSSFrameConstructor.cpp', |
michael@0 | 75 | 'nsCSSRendering.cpp', |
michael@0 | 76 | 'nsCSSRenderingBorders.cpp', |
michael@0 | 77 | 'nsDisplayList.cpp', |
michael@0 | 78 | 'nsDisplayListInvalidation.cpp', |
michael@0 | 79 | 'nsFrameManager.cpp', |
michael@0 | 80 | 'nsFrameTraversal.cpp', |
michael@0 | 81 | 'nsGenConList.cpp', |
michael@0 | 82 | 'nsLayoutDebugger.cpp', |
michael@0 | 83 | 'nsLayoutHistoryState.cpp', |
michael@0 | 84 | 'nsLayoutUtils.cpp', |
michael@0 | 85 | 'nsPresContext.cpp', |
michael@0 | 86 | 'nsQuoteList.cpp', |
michael@0 | 87 | 'nsStyleChangeList.cpp', |
michael@0 | 88 | 'nsStyleSheetService.cpp', |
michael@0 | 89 | 'PaintTracker.cpp', |
michael@0 | 90 | 'PositionedEventTargeting.cpp', |
michael@0 | 91 | 'RestyleManager.cpp', |
michael@0 | 92 | 'RestyleTracker.cpp', |
michael@0 | 93 | 'StackArena.cpp', |
michael@0 | 94 | ] |
michael@0 | 95 | |
michael@0 | 96 | # nsDocumentViewer.cpp and nsPresShell.cpp need to be built separately |
michael@0 | 97 | # because they force NSPR logging. |
michael@0 | 98 | # nsPresArena.cpp needs to be built separately because it uses plarena.h. |
michael@0 | 99 | # nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers |
michael@0 | 100 | SOURCES += [ |
michael@0 | 101 | 'nsDocumentViewer.cpp', |
michael@0 | 102 | 'nsPresArena.cpp', |
michael@0 | 103 | 'nsPresShell.cpp', |
michael@0 | 104 | 'nsRefreshDriver.cpp', |
michael@0 | 105 | ] |
michael@0 | 106 | |
michael@0 | 107 | FAIL_ON_WARNINGS = True |
michael@0 | 108 | |
michael@0 | 109 | MSVC_ENABLE_PGO = True |
michael@0 | 110 | |
michael@0 | 111 | include('/ipc/chromium/chromium-config.mozbuild') |
michael@0 | 112 | |
michael@0 | 113 | LOCAL_INCLUDES += [ |
michael@0 | 114 | '../../content/base/src', |
michael@0 | 115 | '../../content/html/content/src', |
michael@0 | 116 | '../../content/svg/content/src', |
michael@0 | 117 | '../../view/src', |
michael@0 | 118 | '../forms', |
michael@0 | 119 | '../generic', |
michael@0 | 120 | '../mathml', |
michael@0 | 121 | '../printing', |
michael@0 | 122 | '../style', |
michael@0 | 123 | '../svg', |
michael@0 | 124 | '../tables', |
michael@0 | 125 | '../xul', |
michael@0 | 126 | '../xul/tree/', |
michael@0 | 127 | '/docshell/base', |
michael@0 | 128 | '/dom/base', |
michael@0 | 129 | '/dom/xbl', |
michael@0 | 130 | ] |
michael@0 | 131 | |
michael@0 | 132 | FINAL_LIBRARY = 'gklayout' |
michael@0 | 133 | |
michael@0 | 134 | MOCHITEST_MANIFESTS += ['tests/mochitest.ini'] |
michael@0 | 135 | MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini'] |
michael@0 | 136 | BROWSER_CHROME_MANIFESTS += ['tests/browser.ini'] |