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