2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:22 -08: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/.
|
|
|
|
|
2013-03-12 10:17:46 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIStyleSheetService.idl',
|
|
|
|
]
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
if CONFIG['MOZ_DEBUG']:
|
2013-11-14 18:43:56 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsAutoLayoutPhase.cpp',
|
|
|
|
]
|
2013-03-12 10:20:41 -07:00
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'layout_base'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
2013-09-04 04:30:57 -07:00
|
|
|
'ActiveLayerTracker.h',
|
2014-08-05 22:19:27 -07:00
|
|
|
'CaretAssociationHint.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'DisplayItemClip.h',
|
|
|
|
'DisplayListClipState.h',
|
|
|
|
'FrameLayerBuilder.h',
|
|
|
|
'FramePropertyTable.h',
|
2014-08-05 22:19:25 -07:00
|
|
|
'LayerState.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsArenaMemoryStats.h',
|
|
|
|
'nsBidi.h',
|
|
|
|
'nsBidiPresUtils.h',
|
|
|
|
'nsCaret.h',
|
|
|
|
'nsChangeHint.h',
|
|
|
|
'nsCompatibility.h',
|
2013-10-23 16:05:43 -07:00
|
|
|
'nsCSSFrameConstructor.h',
|
2013-04-16 12:24:43 -07: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-23 16:05:43 -07:00
|
|
|
'ScrollbarStyles.h',
|
|
|
|
'StackArena.h',
|
|
|
|
'Units.h',
|
2014-03-10 14:56:59 -07:00
|
|
|
'UnitTransforms.h',
|
2014-08-05 22:19:27 -07:00
|
|
|
'WordMovementType.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
2014-03-11 18:11:38 -07:00
|
|
|
'GeometryUtils.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'PaintTracker.h',
|
2014-09-24 22:45:36 -07:00
|
|
|
'RestyleLogging.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
2013-11-14 18:43:56 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-09-04 04:30:57 -07:00
|
|
|
'ActiveLayerTracker.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'DisplayItemClip.cpp',
|
|
|
|
'DisplayListClipState.cpp',
|
|
|
|
'FrameLayerBuilder.cpp',
|
|
|
|
'FramePropertyTable.cpp',
|
2014-03-11 18:11:38 -07:00
|
|
|
'GeometryUtils.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'MaskLayerImageCache.cpp',
|
2014-04-23 18:15:29 -07:00
|
|
|
'nsBidi.cpp',
|
|
|
|
'nsBidiPresUtils.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'nsCaret.cpp',
|
|
|
|
'nsCounterManager.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsCSSColorUtils.cpp',
|
|
|
|
'nsCSSFrameConstructor.cpp',
|
|
|
|
'nsCSSRendering.cpp',
|
|
|
|
'nsCSSRenderingBorders.cpp',
|
|
|
|
'nsDisplayList.cpp',
|
|
|
|
'nsDisplayListInvalidation.cpp',
|
|
|
|
'nsFrameManager.cpp',
|
|
|
|
'nsFrameTraversal.cpp',
|
|
|
|
'nsGenConList.cpp',
|
|
|
|
'nsLayoutDebugger.cpp',
|
|
|
|
'nsLayoutHistoryState.cpp',
|
|
|
|
'nsLayoutUtils.cpp',
|
|
|
|
'nsPresContext.cpp',
|
|
|
|
'nsQuoteList.cpp',
|
|
|
|
'nsStyleChangeList.cpp',
|
|
|
|
'nsStyleSheetService.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'PaintTracker.cpp',
|
|
|
|
'PositionedEventTargeting.cpp',
|
|
|
|
'RestyleManager.cpp',
|
|
|
|
'RestyleTracker.cpp',
|
2014-06-04 13:57:00 -07:00
|
|
|
'SelectionCarets.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'StackArena.cpp',
|
2014-06-03 00:08:45 -07:00
|
|
|
'TouchCaret.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-11-23 22:29:24 -08:00
|
|
|
# nsDocumentViewer.cpp and nsPresShell.cpp need to be built separately
|
|
|
|
# because they force NSPR logging.
|
2013-11-14 18:43:56 -08: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 += [
|
2013-11-23 22:29:24 -08:00
|
|
|
'nsDocumentViewer.cpp',
|
2013-11-14 18:43:56 -08:00
|
|
|
'nsPresArena.cpp',
|
2013-11-23 22:29:24 -08:00
|
|
|
'nsPresShell.cpp',
|
2013-11-14 18:43:56 -08:00
|
|
|
'nsRefreshDriver.cpp',
|
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-14 23:12:43 -08:00
|
|
|
LOCAL_INCLUDES += [
|
2013-11-28 06:23:10 -08:00
|
|
|
'../../content/base/src',
|
|
|
|
'../../content/html/content/src',
|
|
|
|
'../../content/svg/content/src',
|
|
|
|
'../forms',
|
|
|
|
'../generic',
|
|
|
|
'../mathml',
|
|
|
|
'../printing',
|
|
|
|
'../style',
|
|
|
|
'../svg',
|
|
|
|
'../tables',
|
2013-12-03 17:06:16 -08:00
|
|
|
'../xul',
|
2013-11-28 06:23:10 -08:00
|
|
|
'../xul/tree/',
|
2013-11-14 23:12:43 -08:00
|
|
|
'/docshell/base',
|
2014-01-09 19:03:25 -08:00
|
|
|
'/dom/base',
|
|
|
|
'/dom/xbl',
|
2014-07-28 18:02:44 -07:00
|
|
|
'/view',
|
2013-11-14 23:12:43 -08:00
|
|
|
]
|
2013-11-28 06:23:10 -08:00
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-28 06:27:05 -08:00
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
|
|
|
|
BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']
|
2014-07-24 08:55:33 -07:00
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|