mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +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',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'AccessibleCaret.cpp',
|
||||
'AccessibleCaretEventHub.cpp',
|
||||
'AccessibleCaretManager.cpp',
|
||||
|
|
@ -150,11 +150,9 @@ SOURCES += [
|
|||
'nsLayoutDebugger.cpp',
|
||||
'nsLayoutHistoryState.cpp',
|
||||
'nsLayoutUtils.cpp',
|
||||
'nsPresArena.cpp',
|
||||
'nsPresContext.cpp',
|
||||
'nsPresShell.cpp',
|
||||
'nsQuoteList.cpp',
|
||||
'nsRefreshDriver.cpp',
|
||||
'nsStyleChangeList.cpp',
|
||||
'nsStyleSheetService.cpp',
|
||||
'PaintTracker.cpp',
|
||||
|
|
@ -170,6 +168,13 @@ SOURCES += [
|
|||
'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']:
|
||||
DIRS += ['gtest']
|
||||
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ EXPORTS.mozilla.layout += [
|
|||
'FrameChildList.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'AsyncScrollBase.cpp',
|
||||
'BlockReflowInput.cpp',
|
||||
'CSSAlignUtils.cpp',
|
||||
|
|
@ -157,11 +157,9 @@ SOURCES += [
|
|||
'nsIntervalSet.cpp',
|
||||
'nsLeafFrame.cpp',
|
||||
'nsLineBox.cpp',
|
||||
'nsLineLayout.cpp',
|
||||
'nsPageContentFrame.cpp',
|
||||
'nsPageFrame.cpp',
|
||||
'nsPlaceholderFrame.cpp',
|
||||
'nsPluginFrame.cpp',
|
||||
'nsRubyBaseContainerFrame.cpp',
|
||||
'nsRubyBaseFrame.cpp',
|
||||
'nsRubyContentFrame.cpp',
|
||||
|
|
@ -187,6 +185,13 @@ SOURCES += [
|
|||
'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')
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ EXPORTS.mozilla.layout += [
|
|||
|
||||
XPIDL_MODULE = 'layout_printing'
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ipc/RemotePrintJobChild.cpp',
|
||||
'ipc/RemotePrintJobParent.cpp',
|
||||
'nsPagePrintTimer.cpp',
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ EXPORTS.mozilla.css += [
|
|||
'StyleRule.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'AnimationCollection.cpp',
|
||||
'AnimationCommon.cpp',
|
||||
'CounterStyleManager.cpp',
|
||||
|
|
@ -170,7 +170,6 @@ SOURCES += [
|
|||
'nsCSSProps.cpp',
|
||||
'nsCSSPseudoClasses.cpp',
|
||||
'nsCSSPseudoElements.cpp',
|
||||
'nsCSSRuleProcessor.cpp',
|
||||
'nsCSSRules.cpp',
|
||||
'nsCSSScanner.cpp',
|
||||
'nsCSSValue.cpp',
|
||||
|
|
@ -183,7 +182,6 @@ SOURCES += [
|
|||
'nsFontFaceUtils.cpp',
|
||||
'nsHTMLCSSStyleSheet.cpp',
|
||||
'nsHTMLStyleSheet.cpp',
|
||||
'nsLayoutStylesheetCache.cpp',
|
||||
'nsMediaFeatures.cpp',
|
||||
'nsNthIndexCache.cpp',
|
||||
'nsROCSSPrimitiveValue.cpp',
|
||||
|
|
@ -209,6 +207,14 @@ SOURCES += [
|
|||
'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 += [
|
||||
'CSSUnprefixingService.js',
|
||||
'CSSUnprefixingService.manifest',
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ EXPORTS.mozilla += [
|
|||
'SVGContextPaint.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsCSSClipPathInstance.cpp',
|
||||
'nsCSSFilterInstance.cpp',
|
||||
'nsFilterInstance.cpp',
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ EXPORTS += [
|
|||
'nsITableCellLayout.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'BasicTableLayoutStrategy.cpp',
|
||||
'FixedTableLayoutStrategy.cpp',
|
||||
'nsCellMap.cpp',
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ EXPORTS += [
|
|||
'nsIGridPart.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsGrid.cpp',
|
||||
'nsGridCell.cpp',
|
||||
'nsGridLayout2.cpp',
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ EXPORTS.mozilla.dom += [
|
|||
'ScrollBoxObject.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'BoxObject.cpp',
|
||||
'nsBox.cpp',
|
||||
'nsBoxFrame.cpp',
|
||||
|
|
@ -63,7 +63,7 @@ SOURCES += [
|
|||
]
|
||||
|
||||
if CONFIG['MOZ_XUL']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ContainerBoxObject.cpp',
|
||||
'ListBoxObject.cpp',
|
||||
'MenuBoxObject.cpp',
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ EXPORTS.mozilla.dom += [
|
|||
'TreeBoxObject.h'
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'nsTreeBodyFrame.cpp',
|
||||
'nsTreeColFrame.cpp',
|
||||
'nsTreeColumns.cpp',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue