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/.
|
|
|
|
|
|
|
|
TEST_DIRS += ['tests']
|
2013-03-12 21:17:46 +04:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIStyleSheetService.idl',
|
|
|
|
]
|
|
|
|
|
2013-04-24 01:54:15 +04:00
|
|
|
if CONFIG['IBMBIDI']:
|
2013-11-15 06:43:56 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsBidi.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'nsBidiPresUtils.cpp',
|
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',
|
2013-04-16 23:24:43 +04:00
|
|
|
'DisplayItemClip.h',
|
|
|
|
'DisplayListClipState.h',
|
|
|
|
'FrameLayerBuilder.h',
|
|
|
|
'FramePropertyTable.h',
|
|
|
|
'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',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'PaintTracker.h',
|
|
|
|
]
|
|
|
|
|
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',
|
|
|
|
'MaskLayerImageCache.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',
|
|
|
|
'nsDocumentViewer.cpp',
|
|
|
|
'nsFrameManager.cpp',
|
|
|
|
'nsFrameTraversal.cpp',
|
|
|
|
'nsGenConList.cpp',
|
|
|
|
'nsLayoutDebugger.cpp',
|
|
|
|
'nsLayoutHistoryState.cpp',
|
|
|
|
'nsLayoutUtils.cpp',
|
|
|
|
'nsPresContext.cpp',
|
|
|
|
'nsPresShell.cpp',
|
|
|
|
'nsQuoteList.cpp',
|
|
|
|
'nsStyleChangeList.cpp',
|
|
|
|
'nsStyleSheetService.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'PaintTracker.cpp',
|
|
|
|
'PositionedEventTargeting.cpp',
|
|
|
|
'RestyleManager.cpp',
|
|
|
|
'RestyleTracker.cpp',
|
|
|
|
'StackArena.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-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'gklayout'
|