mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-24 16:17:29 +09:00
Issue #80 - Re-unify most of the layout engine
This commit is contained in:
parent
60e4e33442
commit
b27475f6a9
9 changed files with 32 additions and 16 deletions
|
|
@ -118,7 +118,7 @@ EXPORTS.mozilla += [
|
||||||
'StaticPresData.h',
|
'StaticPresData.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AccessibleCaret.cpp',
|
'AccessibleCaret.cpp',
|
||||||
'AccessibleCaretEventHub.cpp',
|
'AccessibleCaretEventHub.cpp',
|
||||||
'AccessibleCaretManager.cpp',
|
'AccessibleCaretManager.cpp',
|
||||||
|
|
@ -150,11 +150,9 @@ SOURCES += [
|
||||||
'nsLayoutDebugger.cpp',
|
'nsLayoutDebugger.cpp',
|
||||||
'nsLayoutHistoryState.cpp',
|
'nsLayoutHistoryState.cpp',
|
||||||
'nsLayoutUtils.cpp',
|
'nsLayoutUtils.cpp',
|
||||||
'nsPresArena.cpp',
|
|
||||||
'nsPresContext.cpp',
|
'nsPresContext.cpp',
|
||||||
'nsPresShell.cpp',
|
'nsPresShell.cpp',
|
||||||
'nsQuoteList.cpp',
|
'nsQuoteList.cpp',
|
||||||
'nsRefreshDriver.cpp',
|
|
||||||
'nsStyleChangeList.cpp',
|
'nsStyleChangeList.cpp',
|
||||||
'nsStyleSheetService.cpp',
|
'nsStyleSheetService.cpp',
|
||||||
'PaintTracker.cpp',
|
'PaintTracker.cpp',
|
||||||
|
|
@ -170,6 +168,13 @@ SOURCES += [
|
||||||
'ZoomConstraintsClient.cpp',
|
'ZoomConstraintsClient.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# 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',
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG['ENABLE_TESTS']:
|
if CONFIG['ENABLE_TESTS']:
|
||||||
DIRS += ['gtest']
|
DIRS += ['gtest']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ EXPORTS.mozilla.layout += [
|
||||||
'FrameChildList.h',
|
'FrameChildList.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AsyncScrollBase.cpp',
|
'AsyncScrollBase.cpp',
|
||||||
'BlockReflowInput.cpp',
|
'BlockReflowInput.cpp',
|
||||||
'CSSAlignUtils.cpp',
|
'CSSAlignUtils.cpp',
|
||||||
|
|
@ -157,11 +157,9 @@ SOURCES += [
|
||||||
'nsIntervalSet.cpp',
|
'nsIntervalSet.cpp',
|
||||||
'nsLeafFrame.cpp',
|
'nsLeafFrame.cpp',
|
||||||
'nsLineBox.cpp',
|
'nsLineBox.cpp',
|
||||||
'nsLineLayout.cpp',
|
|
||||||
'nsPageContentFrame.cpp',
|
'nsPageContentFrame.cpp',
|
||||||
'nsPageFrame.cpp',
|
'nsPageFrame.cpp',
|
||||||
'nsPlaceholderFrame.cpp',
|
'nsPlaceholderFrame.cpp',
|
||||||
'nsPluginFrame.cpp',
|
|
||||||
'nsRubyBaseContainerFrame.cpp',
|
'nsRubyBaseContainerFrame.cpp',
|
||||||
'nsRubyBaseFrame.cpp',
|
'nsRubyBaseFrame.cpp',
|
||||||
'nsRubyContentFrame.cpp',
|
'nsRubyContentFrame.cpp',
|
||||||
|
|
@ -187,6 +185,13 @@ SOURCES += [
|
||||||
'TextOverflow.cpp',
|
'TextOverflow.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# nsLineLayout.cpp needs to be built separately because it uses plarena.h.
|
||||||
|
# nsPluginFrame.cpp needs to be built separately because of name clashes in the OS X headers.
|
||||||
|
SOURCES += [
|
||||||
|
'nsLineLayout.cpp',
|
||||||
|
'nsPluginFrame.cpp',
|
||||||
|
]
|
||||||
|
|
||||||
include('/ipc/chromium/chromium-config.mozbuild')
|
include('/ipc/chromium/chromium-config.mozbuild')
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ EXPORTS.mozilla.layout += [
|
||||||
|
|
||||||
XPIDL_MODULE = 'layout_printing'
|
XPIDL_MODULE = 'layout_printing'
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ipc/RemotePrintJobChild.cpp',
|
'ipc/RemotePrintJobChild.cpp',
|
||||||
'ipc/RemotePrintJobParent.cpp',
|
'ipc/RemotePrintJobParent.cpp',
|
||||||
'nsPagePrintTimer.cpp',
|
'nsPagePrintTimer.cpp',
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ EXPORTS.mozilla.css += [
|
||||||
'StyleRule.h',
|
'StyleRule.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'AnimationCollection.cpp',
|
'AnimationCollection.cpp',
|
||||||
'AnimationCommon.cpp',
|
'AnimationCommon.cpp',
|
||||||
'CounterStyleManager.cpp',
|
'CounterStyleManager.cpp',
|
||||||
|
|
@ -170,7 +170,6 @@ SOURCES += [
|
||||||
'nsCSSProps.cpp',
|
'nsCSSProps.cpp',
|
||||||
'nsCSSPseudoClasses.cpp',
|
'nsCSSPseudoClasses.cpp',
|
||||||
'nsCSSPseudoElements.cpp',
|
'nsCSSPseudoElements.cpp',
|
||||||
'nsCSSRuleProcessor.cpp',
|
|
||||||
'nsCSSRules.cpp',
|
'nsCSSRules.cpp',
|
||||||
'nsCSSScanner.cpp',
|
'nsCSSScanner.cpp',
|
||||||
'nsCSSValue.cpp',
|
'nsCSSValue.cpp',
|
||||||
|
|
@ -183,7 +182,6 @@ SOURCES += [
|
||||||
'nsFontFaceUtils.cpp',
|
'nsFontFaceUtils.cpp',
|
||||||
'nsHTMLCSSStyleSheet.cpp',
|
'nsHTMLCSSStyleSheet.cpp',
|
||||||
'nsHTMLStyleSheet.cpp',
|
'nsHTMLStyleSheet.cpp',
|
||||||
'nsLayoutStylesheetCache.cpp',
|
|
||||||
'nsMediaFeatures.cpp',
|
'nsMediaFeatures.cpp',
|
||||||
'nsNthIndexCache.cpp',
|
'nsNthIndexCache.cpp',
|
||||||
'nsROCSSPrimitiveValue.cpp',
|
'nsROCSSPrimitiveValue.cpp',
|
||||||
|
|
@ -209,6 +207,14 @@ SOURCES += [
|
||||||
'SVGAttrAnimationRuleProcessor.cpp',
|
'SVGAttrAnimationRuleProcessor.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# nsCSSRuleProcessor.cpp needs to be built separately because it uses plarena.h.
|
||||||
|
# nsLayoutStylesheetCache.cpp needs to be built separately because it uses
|
||||||
|
# nsExceptionHandler.h, which includes windows.h.
|
||||||
|
SOURCES += [
|
||||||
|
'nsCSSRuleProcessor.cpp',
|
||||||
|
'nsLayoutStylesheetCache.cpp',
|
||||||
|
]
|
||||||
|
|
||||||
EXTRA_COMPONENTS += [
|
EXTRA_COMPONENTS += [
|
||||||
'CSSUnprefixingService.js',
|
'CSSUnprefixingService.js',
|
||||||
'CSSUnprefixingService.manifest',
|
'CSSUnprefixingService.manifest',
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ EXPORTS.mozilla += [
|
||||||
'SVGContextPaint.h',
|
'SVGContextPaint.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsCSSClipPathInstance.cpp',
|
'nsCSSClipPathInstance.cpp',
|
||||||
'nsCSSFilterInstance.cpp',
|
'nsCSSFilterInstance.cpp',
|
||||||
'nsFilterInstance.cpp',
|
'nsFilterInstance.cpp',
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ EXPORTS += [
|
||||||
'nsITableCellLayout.h',
|
'nsITableCellLayout.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'BasicTableLayoutStrategy.cpp',
|
'BasicTableLayoutStrategy.cpp',
|
||||||
'FixedTableLayoutStrategy.cpp',
|
'FixedTableLayoutStrategy.cpp',
|
||||||
'nsCellMap.cpp',
|
'nsCellMap.cpp',
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ EXPORTS += [
|
||||||
'nsIGridPart.h',
|
'nsIGridPart.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsGrid.cpp',
|
'nsGrid.cpp',
|
||||||
'nsGridCell.cpp',
|
'nsGridCell.cpp',
|
||||||
'nsGridLayout2.cpp',
|
'nsGridLayout2.cpp',
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'ScrollBoxObject.h',
|
'ScrollBoxObject.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'BoxObject.cpp',
|
'BoxObject.cpp',
|
||||||
'nsBox.cpp',
|
'nsBox.cpp',
|
||||||
'nsBoxFrame.cpp',
|
'nsBoxFrame.cpp',
|
||||||
|
|
@ -63,7 +63,7 @@ SOURCES += [
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['MOZ_XUL']:
|
if CONFIG['MOZ_XUL']:
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'ContainerBoxObject.cpp',
|
'ContainerBoxObject.cpp',
|
||||||
'ListBoxObject.cpp',
|
'ListBoxObject.cpp',
|
||||||
'MenuBoxObject.cpp',
|
'MenuBoxObject.cpp',
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ EXPORTS.mozilla.dom += [
|
||||||
'TreeBoxObject.h'
|
'TreeBoxObject.h'
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'nsTreeBodyFrame.cpp',
|
'nsTreeBodyFrame.cpp',
|
||||||
'nsTreeColFrame.cpp',
|
'nsTreeColFrame.cpp',
|
||||||
'nsTreeColumns.cpp',
|
'nsTreeColumns.cpp',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue