layout/base/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,136 @@
     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 +XPIDL_SOURCES += [
    1.11 +    'nsIStyleSheetService.idl',
    1.12 +]
    1.13 +
    1.14 +if CONFIG['MOZ_DEBUG']:
    1.15 +    UNIFIED_SOURCES += [
    1.16 +        'nsAutoLayoutPhase.cpp',
    1.17 +    ]
    1.18 +
    1.19 +XPIDL_MODULE = 'layout_base'
    1.20 +
    1.21 +EXPORTS += [
    1.22 +    'ActiveLayerTracker.h',
    1.23 +    'DisplayItemClip.h',
    1.24 +    'DisplayListClipState.h',
    1.25 +    'FrameLayerBuilder.h',
    1.26 +    'FramePropertyTable.h',
    1.27 +    'nsArenaMemoryStats.h',
    1.28 +    'nsBidi.h',
    1.29 +    'nsBidiPresUtils.h',
    1.30 +    'nsCaret.h',
    1.31 +    'nsChangeHint.h',
    1.32 +    'nsCompatibility.h',
    1.33 +    'nsCSSFrameConstructor.h',
    1.34 +    'nsDisplayItemTypes.h',
    1.35 +    'nsDisplayItemTypesList.h',
    1.36 +    'nsDisplayList.h',
    1.37 +    'nsDisplayListInvalidation.h',
    1.38 +    'nsFrameManager.h',
    1.39 +    'nsFrameManagerBase.h',
    1.40 +    'nsFrameTraversal.h',
    1.41 +    'nsIFrameTraversal.h',
    1.42 +    'nsILayoutDebugger.h',
    1.43 +    'nsILayoutHistoryState.h',
    1.44 +    'nsIPercentHeightObserver.h',
    1.45 +    'nsIPresShell.h',
    1.46 +    'nsIReflowCallback.h',
    1.47 +    'nsLayoutUtils.h',
    1.48 +    'nsPresArena.h',
    1.49 +    'nsPresContext.h',
    1.50 +    'nsPresState.h',
    1.51 +    'nsRefreshDriver.h',
    1.52 +    'nsStyleChangeList.h',
    1.53 +    'ScrollbarStyles.h',
    1.54 +    'StackArena.h',
    1.55 +    'Units.h',
    1.56 +    'UnitTransforms.h',
    1.57 +]
    1.58 +
    1.59 +EXPORTS.mozilla += [
    1.60 +    'GeometryUtils.h',
    1.61 +    'PaintTracker.h',
    1.62 +]
    1.63 +
    1.64 +UNIFIED_SOURCES += [
    1.65 +    'ActiveLayerTracker.cpp',
    1.66 +    'DisplayItemClip.cpp',
    1.67 +    'DisplayListClipState.cpp',
    1.68 +    'FrameLayerBuilder.cpp',
    1.69 +    'FramePropertyTable.cpp',
    1.70 +    'GeometryUtils.cpp',
    1.71 +    'MaskLayerImageCache.cpp',
    1.72 +    'nsBidi.cpp',
    1.73 +    'nsBidiPresUtils.cpp',
    1.74 +    'nsCaret.cpp',
    1.75 +    'nsCounterManager.cpp',
    1.76 +    'nsCSSColorUtils.cpp',
    1.77 +    'nsCSSFrameConstructor.cpp',
    1.78 +    'nsCSSRendering.cpp',
    1.79 +    'nsCSSRenderingBorders.cpp',
    1.80 +    'nsDisplayList.cpp',
    1.81 +    'nsDisplayListInvalidation.cpp',
    1.82 +    'nsFrameManager.cpp',
    1.83 +    'nsFrameTraversal.cpp',
    1.84 +    'nsGenConList.cpp',
    1.85 +    'nsLayoutDebugger.cpp',
    1.86 +    'nsLayoutHistoryState.cpp',
    1.87 +    'nsLayoutUtils.cpp',
    1.88 +    'nsPresContext.cpp',
    1.89 +    'nsQuoteList.cpp',
    1.90 +    'nsStyleChangeList.cpp',
    1.91 +    'nsStyleSheetService.cpp',
    1.92 +    'PaintTracker.cpp',
    1.93 +    'PositionedEventTargeting.cpp',
    1.94 +    'RestyleManager.cpp',
    1.95 +    'RestyleTracker.cpp',
    1.96 +    'StackArena.cpp',
    1.97 +]
    1.98 +
    1.99 +# nsDocumentViewer.cpp and nsPresShell.cpp need to be built separately
   1.100 +# because they force NSPR logging.
   1.101 +# nsPresArena.cpp needs to be built separately because it uses plarena.h.
   1.102 +# nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers
   1.103 +SOURCES += [
   1.104 +    'nsDocumentViewer.cpp',
   1.105 +    'nsPresArena.cpp',
   1.106 +    'nsPresShell.cpp',
   1.107 +    'nsRefreshDriver.cpp',
   1.108 +]
   1.109 +
   1.110 +FAIL_ON_WARNINGS = True
   1.111 +
   1.112 +MSVC_ENABLE_PGO = True
   1.113 +
   1.114 +include('/ipc/chromium/chromium-config.mozbuild')
   1.115 +
   1.116 +LOCAL_INCLUDES += [
   1.117 +    '../../content/base/src',
   1.118 +    '../../content/html/content/src',
   1.119 +    '../../content/svg/content/src',
   1.120 +    '../../view/src',
   1.121 +    '../forms',
   1.122 +    '../generic',
   1.123 +    '../mathml',
   1.124 +    '../printing',
   1.125 +    '../style',
   1.126 +    '../svg',
   1.127 +    '../tables',
   1.128 +    '../xul',
   1.129 +    '../xul/tree/',
   1.130 +    '/docshell/base',
   1.131 +    '/dom/base',
   1.132 +    '/dom/xbl',
   1.133 +]
   1.134 +
   1.135 +FINAL_LIBRARY = 'gklayout'
   1.136 +
   1.137 +MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
   1.138 +MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
   1.139 +BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']

mercurial