layout/base/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     2 # vim: set filetype=python:
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 XPIDL_SOURCES += [
     8     'nsIStyleSheetService.idl',
     9 ]
    11 if CONFIG['MOZ_DEBUG']:
    12     UNIFIED_SOURCES += [
    13         'nsAutoLayoutPhase.cpp',
    14     ]
    16 XPIDL_MODULE = 'layout_base'
    18 EXPORTS += [
    19     'ActiveLayerTracker.h',
    20     'DisplayItemClip.h',
    21     'DisplayListClipState.h',
    22     'FrameLayerBuilder.h',
    23     'FramePropertyTable.h',
    24     'nsArenaMemoryStats.h',
    25     'nsBidi.h',
    26     'nsBidiPresUtils.h',
    27     'nsCaret.h',
    28     'nsChangeHint.h',
    29     'nsCompatibility.h',
    30     'nsCSSFrameConstructor.h',
    31     'nsDisplayItemTypes.h',
    32     'nsDisplayItemTypesList.h',
    33     'nsDisplayList.h',
    34     'nsDisplayListInvalidation.h',
    35     'nsFrameManager.h',
    36     'nsFrameManagerBase.h',
    37     'nsFrameTraversal.h',
    38     'nsIFrameTraversal.h',
    39     'nsILayoutDebugger.h',
    40     'nsILayoutHistoryState.h',
    41     'nsIPercentHeightObserver.h',
    42     'nsIPresShell.h',
    43     'nsIReflowCallback.h',
    44     'nsLayoutUtils.h',
    45     'nsPresArena.h',
    46     'nsPresContext.h',
    47     'nsPresState.h',
    48     'nsRefreshDriver.h',
    49     'nsStyleChangeList.h',
    50     'ScrollbarStyles.h',
    51     'StackArena.h',
    52     'Units.h',
    53     'UnitTransforms.h',
    54 ]
    56 EXPORTS.mozilla += [
    57     'GeometryUtils.h',
    58     'PaintTracker.h',
    59 ]
    61 UNIFIED_SOURCES += [
    62     'ActiveLayerTracker.cpp',
    63     'DisplayItemClip.cpp',
    64     'DisplayListClipState.cpp',
    65     'FrameLayerBuilder.cpp',
    66     'FramePropertyTable.cpp',
    67     'GeometryUtils.cpp',
    68     'MaskLayerImageCache.cpp',
    69     'nsBidi.cpp',
    70     'nsBidiPresUtils.cpp',
    71     'nsCaret.cpp',
    72     'nsCounterManager.cpp',
    73     'nsCSSColorUtils.cpp',
    74     'nsCSSFrameConstructor.cpp',
    75     'nsCSSRendering.cpp',
    76     'nsCSSRenderingBorders.cpp',
    77     'nsDisplayList.cpp',
    78     'nsDisplayListInvalidation.cpp',
    79     'nsFrameManager.cpp',
    80     'nsFrameTraversal.cpp',
    81     'nsGenConList.cpp',
    82     'nsLayoutDebugger.cpp',
    83     'nsLayoutHistoryState.cpp',
    84     'nsLayoutUtils.cpp',
    85     'nsPresContext.cpp',
    86     'nsQuoteList.cpp',
    87     'nsStyleChangeList.cpp',
    88     'nsStyleSheetService.cpp',
    89     'PaintTracker.cpp',
    90     'PositionedEventTargeting.cpp',
    91     'RestyleManager.cpp',
    92     'RestyleTracker.cpp',
    93     'StackArena.cpp',
    94 ]
    96 # nsDocumentViewer.cpp and nsPresShell.cpp need to be built separately
    97 # because they force NSPR logging.
    98 # nsPresArena.cpp needs to be built separately because it uses plarena.h.
    99 # nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers
   100 SOURCES += [
   101     'nsDocumentViewer.cpp',
   102     'nsPresArena.cpp',
   103     'nsPresShell.cpp',
   104     'nsRefreshDriver.cpp',
   105 ]
   107 FAIL_ON_WARNINGS = True
   109 MSVC_ENABLE_PGO = True
   111 include('/ipc/chromium/chromium-config.mozbuild')
   113 LOCAL_INCLUDES += [
   114     '../../content/base/src',
   115     '../../content/html/content/src',
   116     '../../content/svg/content/src',
   117     '../../view/src',
   118     '../forms',
   119     '../generic',
   120     '../mathml',
   121     '../printing',
   122     '../style',
   123     '../svg',
   124     '../tables',
   125     '../xul',
   126     '../xul/tree/',
   127     '/docshell/base',
   128     '/dom/base',
   129     '/dom/xbl',
   130 ]
   132 FINAL_LIBRARY = 'gklayout'
   134 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
   135 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
   136 BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']

mercurial