2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:22 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2015-03-04 04:03:19 +03:00
|
|
|
with Files('ActiveLayerTracker.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: View Rendering')
|
|
|
|
|
|
|
|
with Files('Display*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: View Rendering')
|
|
|
|
|
|
|
|
with Files('FrameLayerBuilder.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: View Rendering')
|
|
|
|
|
|
|
|
with Files('LayerState.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: View Rendering')
|
|
|
|
|
|
|
|
with Files('MaskLayerImageCache.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: View Rendering')
|
|
|
|
|
|
|
|
with Files('PaintTracker.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: View Rendering')
|
|
|
|
|
|
|
|
with Files('nsCSSRendering.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: View Rendering')
|
|
|
|
|
|
|
|
with Files('nsDisplay*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: View Rendering')
|
|
|
|
|
|
|
|
with Files('Restyle*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
|
|
|
|
|
|
|
|
with Files('nsStyle*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
|
|
|
|
|
|
|
|
with Files('nsChangeHint.h'):
|
|
|
|
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
|
|
|
|
|
|
|
|
with Files('nsBidi*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Text')
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIStyleSheetService.idl',
|
|
|
|
]
|
|
|
|
|
2013-04-24 01:54:15 +04:00
|
|
|
if CONFIG['MOZ_DEBUG']:
|
2013-11-15 06:43:56 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsAutoLayoutPhase.cpp',
|
|
|
|
]
|
2013-03-12 21:20:41 +04:00
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'layout_base'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
2013-09-04 15:30:57 +04:00
|
|
|
'ActiveLayerTracker.h',
|
2014-08-06 09:19:27 +04:00
|
|
|
'CaretAssociationHint.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'DisplayItemClip.h',
|
|
|
|
'DisplayListClipState.h',
|
|
|
|
'FrameLayerBuilder.h',
|
|
|
|
'FramePropertyTable.h',
|
2014-08-06 09:19:25 +04:00
|
|
|
'LayerState.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsArenaMemoryStats.h',
|
|
|
|
'nsBidi.h',
|
|
|
|
'nsBidiPresUtils.h',
|
|
|
|
'nsCaret.h',
|
|
|
|
'nsChangeHint.h',
|
|
|
|
'nsCompatibility.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsCSSFrameConstructor.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsDisplayItemTypes.h',
|
|
|
|
'nsDisplayItemTypesList.h',
|
|
|
|
'nsDisplayList.h',
|
|
|
|
'nsDisplayListInvalidation.h',
|
|
|
|
'nsFrameManager.h',
|
|
|
|
'nsFrameManagerBase.h',
|
|
|
|
'nsFrameTraversal.h',
|
|
|
|
'nsIFrameTraversal.h',
|
|
|
|
'nsILayoutDebugger.h',
|
|
|
|
'nsILayoutHistoryState.h',
|
|
|
|
'nsIPercentHeightObserver.h',
|
|
|
|
'nsIPresShell.h',
|
|
|
|
'nsIReflowCallback.h',
|
|
|
|
'nsLayoutUtils.h',
|
|
|
|
'nsPresArena.h',
|
|
|
|
'nsPresContext.h',
|
|
|
|
'nsPresState.h',
|
|
|
|
'nsRefreshDriver.h',
|
|
|
|
'nsStyleChangeList.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ScrollbarStyles.h',
|
|
|
|
'StackArena.h',
|
|
|
|
'Units.h',
|
2014-03-11 01:56:59 +04:00
|
|
|
'UnitTransforms.h',
|
2014-08-06 09:19:27 +04:00
|
|
|
'WordMovementType.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
2014-03-12 05:11:38 +04:00
|
|
|
'GeometryUtils.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'PaintTracker.h',
|
2014-09-25 09:45:36 +04:00
|
|
|
'RestyleLogging.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-11-15 06:43:56 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-09-04 15:30:57 +04:00
|
|
|
'ActiveLayerTracker.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'DisplayItemClip.cpp',
|
|
|
|
'DisplayListClipState.cpp',
|
|
|
|
'FrameLayerBuilder.cpp',
|
|
|
|
'FramePropertyTable.cpp',
|
2014-03-12 05:11:38 +04:00
|
|
|
'GeometryUtils.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'MaskLayerImageCache.cpp',
|
2014-04-24 05:15:29 +04:00
|
|
|
'nsBidi.cpp',
|
|
|
|
'nsBidiPresUtils.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsCaret.cpp',
|
|
|
|
'nsCounterManager.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsCSSColorUtils.cpp',
|
|
|
|
'nsCSSFrameConstructor.cpp',
|
|
|
|
'nsCSSRendering.cpp',
|
|
|
|
'nsCSSRenderingBorders.cpp',
|
|
|
|
'nsDisplayList.cpp',
|
|
|
|
'nsDisplayListInvalidation.cpp',
|
2014-10-09 00:19:14 +04:00
|
|
|
'nsDocumentViewer.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsFrameManager.cpp',
|
|
|
|
'nsFrameTraversal.cpp',
|
|
|
|
'nsGenConList.cpp',
|
|
|
|
'nsLayoutDebugger.cpp',
|
|
|
|
'nsLayoutHistoryState.cpp',
|
|
|
|
'nsLayoutUtils.cpp',
|
|
|
|
'nsPresContext.cpp',
|
2014-10-09 00:19:14 +04:00
|
|
|
'nsPresShell.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsQuoteList.cpp',
|
|
|
|
'nsStyleChangeList.cpp',
|
|
|
|
'nsStyleSheetService.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'PaintTracker.cpp',
|
|
|
|
'PositionedEventTargeting.cpp',
|
|
|
|
'RestyleManager.cpp',
|
|
|
|
'RestyleTracker.cpp',
|
2014-06-05 00:57:00 +04:00
|
|
|
'SelectionCarets.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'StackArena.cpp',
|
2014-06-03 11:08:45 +04:00
|
|
|
'TouchCaret.cpp',
|
2015-02-20 10:12:00 +03:00
|
|
|
'TouchManager.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-11-15 06:43:56 +04:00
|
|
|
# nsPresArena.cpp needs to be built separately because it uses plarena.h.
|
|
|
|
# nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers
|
|
|
|
SOURCES += [
|
|
|
|
'nsPresArena.cpp',
|
|
|
|
'nsRefreshDriver.cpp',
|
|
|
|
]
|
|
|
|
|
2013-08-22 10:55:59 +04:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-15 11:12:43 +04:00
|
|
|
LOCAL_INCLUDES += [
|
2013-11-28 18:23:10 +04:00
|
|
|
'../forms',
|
|
|
|
'../generic',
|
|
|
|
'../mathml',
|
|
|
|
'../printing',
|
|
|
|
'../style',
|
|
|
|
'../svg',
|
|
|
|
'../tables',
|
2013-12-04 05:06:16 +04:00
|
|
|
'../xul',
|
2013-11-28 18:23:10 +04:00
|
|
|
'../xul/tree/',
|
2013-11-15 11:12:43 +04:00
|
|
|
'/docshell/base',
|
2014-01-10 07:03:25 +04:00
|
|
|
'/dom/base',
|
2014-10-25 21:24:55 +04:00
|
|
|
'/dom/html',
|
2014-10-25 21:21:12 +04:00
|
|
|
'/dom/svg',
|
2014-01-10 07:03:25 +04:00
|
|
|
'/dom/xbl',
|
2014-07-29 05:02:44 +04:00
|
|
|
'/view',
|
2013-11-15 11:12:43 +04:00
|
|
|
]
|
2013-11-28 18:23:10 +04:00
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-28 18:27:05 +04:00
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
|
|
|
|
BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']
|
2014-07-24 19:55:33 +04:00
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|