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('nsBlock*'):
|
|
|
|
# Parts of these files are really Layout: Floats
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
|
|
|
|
|
|
|
|
with Files('nsLine*'):
|
|
|
|
# Parts of these files are really Layout: Floats
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
|
|
|
|
|
|
|
|
with Files('nsInlineFrame.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
|
|
|
|
|
|
|
|
with Files('nsBRFrame.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
|
|
|
|
|
|
|
|
with Files('nsBulletFrame.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
|
|
|
|
|
|
|
|
with Files('nsFirstLetterFrame.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
|
|
|
|
|
|
|
|
with Files('MathML*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'MathML')
|
|
|
|
|
|
|
|
with Files('Text*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Text')
|
|
|
|
|
|
|
|
with Files('nsText*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Text')
|
|
|
|
|
|
|
|
with Files('nsFrameSetFrame*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: HTML Frames')
|
|
|
|
|
|
|
|
with Files('nsSubDocumentFrame*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: HTML Frames')
|
|
|
|
|
|
|
|
with Files('nsFloatManager.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Floats')
|
|
|
|
|
|
|
|
with Files('nsIntervalSet.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Floats')
|
|
|
|
|
|
|
|
with Files('nsHTMLCanvasFrame.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Images')
|
|
|
|
|
|
|
|
with Files('nsImage*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: Images')
|
|
|
|
|
|
|
|
with Files('nsAbsoluteContainingBlock.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Layout: R & A Pos')
|
|
|
|
|
|
|
|
with Files('nsPluginFrame.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Plug-ins')
|
|
|
|
|
|
|
|
with Files('nsVideoFrame.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Video/Audio')
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
2015-04-02 09:17:22 +03:00
|
|
|
'AsyncScrollBase.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsCanvasFrame.h',
|
2014-05-25 02:20:39 +04:00
|
|
|
'nsContainerFrame.h',
|
2013-08-07 00:19:11 +04:00
|
|
|
'nsDirection.h',
|
2014-05-25 02:20:39 +04:00
|
|
|
'nsFrame.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsFrameIdList.h',
|
|
|
|
'nsFrameList.h',
|
|
|
|
'nsFrameSelection.h',
|
2014-02-05 05:59:39 +04:00
|
|
|
'nsFrameState.h',
|
|
|
|
'nsFrameStateBits.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsHTMLParts.h',
|
|
|
|
'nsHTMLReflowMetrics.h',
|
|
|
|
'nsHTMLReflowState.h',
|
|
|
|
'nsIAnonymousContentCreator.h',
|
|
|
|
'nsIFrame.h',
|
2013-10-02 01:00:38 +04:00
|
|
|
'nsIFrameInlines.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsIFrameUtil.h',
|
|
|
|
'nsILineIterator.h',
|
|
|
|
'nsIObjectFrame.h',
|
|
|
|
'nsIPageSequenceFrame.h',
|
|
|
|
'nsIScrollableFrame.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsIScrollPositionListener.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsIStatefulFrame.h',
|
2014-09-24 08:33:00 +04:00
|
|
|
'nsPluginFrame.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsQueryFrame.h',
|
2015-04-08 02:22:34 +03:00
|
|
|
'nsRubyBaseContainerFrame.h',
|
|
|
|
'nsRubyBaseFrame.h',
|
|
|
|
'nsRubyFrame.h',
|
|
|
|
'nsRubyTextContainerFrame.h',
|
|
|
|
'nsRubyTextFrame.h',
|
2014-05-25 02:20:39 +04:00
|
|
|
'nsSplittableFrame.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsSubDocumentFrame.h',
|
2014-05-26 17:23:32 +04:00
|
|
|
'nsTextRunTransformations.h',
|
2015-04-08 02:22:34 +03:00
|
|
|
'RubyUtils.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ScrollbarActivity.h',
|
2016-03-22 04:32:28 +03:00
|
|
|
'ScrollSnap.h',
|
2016-03-26 00:49:43 +03:00
|
|
|
'Visibility.h',
|
2016-04-21 11:22:10 +03:00
|
|
|
'VisibilityIPC.h',
|
2015-03-26 10:29:31 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
2013-12-27 21:58:37 +04:00
|
|
|
'WritingModes.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2014-04-10 20:09:40 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
2013-04-16 23:24:43 +04:00
|
|
|
'Selection.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.layout += [
|
|
|
|
'FrameChildList.h',
|
|
|
|
]
|
|
|
|
|
2013-11-15 17:19:02 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2015-04-02 09:17:22 +03:00
|
|
|
'AsyncScrollBase.cpp',
|
2016-01-20 18:20:41 +03:00
|
|
|
'DetailsFrame.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'FrameChildList.cpp',
|
2014-01-15 18:49:20 +04:00
|
|
|
'MathMLTextRunFactory.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsAbsoluteContainingBlock.cpp',
|
2016-01-28 02:11:00 +03:00
|
|
|
'nsBackdropFrame.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsBlockFrame.cpp',
|
|
|
|
'nsBlockReflowContext.cpp',
|
|
|
|
'nsBlockReflowState.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsBRFrame.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsBulletFrame.cpp',
|
|
|
|
'nsCanvasFrame.cpp',
|
|
|
|
'nsColumnSetFrame.cpp',
|
|
|
|
'nsContainerFrame.cpp',
|
|
|
|
'nsFirstLetterFrame.cpp',
|
|
|
|
'nsFlexContainerFrame.cpp',
|
|
|
|
'nsFloatManager.cpp',
|
|
|
|
'nsFontInflationData.cpp',
|
|
|
|
'nsFrame.cpp',
|
|
|
|
'nsFrameList.cpp',
|
|
|
|
'nsFrameSetFrame.cpp',
|
2014-01-18 11:08:22 +04:00
|
|
|
'nsFrameState.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsFrameUtil.cpp',
|
|
|
|
'nsGfxScrollFrame.cpp',
|
2014-02-27 11:45:29 +04:00
|
|
|
'nsGridContainerFrame.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsHTMLCanvasFrame.cpp',
|
|
|
|
'nsHTMLReflowMetrics.cpp',
|
|
|
|
'nsHTMLReflowState.cpp',
|
|
|
|
'nsImageFrame.cpp',
|
|
|
|
'nsImageMap.cpp',
|
|
|
|
'nsInlineFrame.cpp',
|
|
|
|
'nsIntervalSet.cpp',
|
|
|
|
'nsLeafFrame.cpp',
|
|
|
|
'nsLineBox.cpp',
|
|
|
|
'nsPageContentFrame.cpp',
|
|
|
|
'nsPageFrame.cpp',
|
|
|
|
'nsPlaceholderFrame.cpp',
|
2014-07-23 06:08:01 +04:00
|
|
|
'nsRubyBaseContainerFrame.cpp',
|
|
|
|
'nsRubyBaseFrame.cpp',
|
2015-01-08 10:28:09 +03:00
|
|
|
'nsRubyContentFrame.cpp',
|
2014-07-23 06:08:01 +04:00
|
|
|
'nsRubyFrame.cpp',
|
|
|
|
'nsRubyTextContainerFrame.cpp',
|
|
|
|
'nsRubyTextFrame.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsSelection.cpp',
|
2014-02-18 12:58:22 +04:00
|
|
|
'nsSimplePageSequenceFrame.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsSplittableFrame.cpp',
|
|
|
|
'nsSubDocumentFrame.cpp',
|
2013-07-31 04:36:09 +04:00
|
|
|
'nsTextFrame.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsTextFrameUtils.cpp',
|
|
|
|
'nsTextRunTransformations.cpp',
|
|
|
|
'nsVideoFrame.cpp',
|
|
|
|
'nsViewportFrame.cpp',
|
2014-12-12 13:30:43 +03:00
|
|
|
'RubyUtils.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ScrollbarActivity.cpp',
|
2016-03-22 04:32:28 +03:00
|
|
|
'ScrollSnap.cpp',
|
2015-02-20 02:51:08 +03:00
|
|
|
'ScrollVelocityQueue.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'StickyScrollContainer.cpp',
|
|
|
|
'TextOverflow.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-07-03 01:09:08 +04:00
|
|
|
|
2013-11-15 17:19:02 +04:00
|
|
|
# nsLineLayout.cpp needs to be built separately because it uses plarena.h.
|
2014-09-24 08:33:00 +04:00
|
|
|
# nsPluginFrame.cpp needs to be built separately because of name clashes in the OS X headers.
|
2013-11-15 17:19:02 +04:00
|
|
|
SOURCES += [
|
|
|
|
'nsLineLayout.cpp',
|
2014-09-24 08:33:00 +04:00
|
|
|
'nsPluginFrame.cpp',
|
2013-11-15 17:19:02 +04:00
|
|
|
]
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-28 18:23:10 +04:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../../dom/plugins/base',
|
|
|
|
'../base',
|
|
|
|
'../forms',
|
|
|
|
'../style',
|
|
|
|
'../svg',
|
|
|
|
'../tables',
|
2013-12-04 05:06:16 +04:00
|
|
|
'../xul',
|
2014-10-25 21:25:22 +04:00
|
|
|
'/dom/base',
|
2014-10-25 21:24:55 +04:00
|
|
|
'/dom/html',
|
2014-10-25 21:21:03 +04:00
|
|
|
'/dom/xul',
|
2016-02-10 01:06:03 +03:00
|
|
|
'/editor/libeditor'
|
2013-11-28 18:23:10 +04:00
|
|
|
]
|
2013-12-10 11:18:11 +04:00
|
|
|
|
2014-02-05 05:59:39 +04:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
2013-11-05 22:37:54 +04:00
|
|
|
|
|
|
|
RESOURCE_FILES.html = [
|
|
|
|
'folder.png',
|
|
|
|
]
|
2014-02-20 19:14:52 +04:00
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
2014-07-24 19:55:33 +04:00
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|
|
|
|
|
2016-03-16 08:06:26 +03:00
|
|
|
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
2014-07-24 19:55:33 +04:00
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_QT']:
|
|
|
|
CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']
|
2016-05-11 10:00:01 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|