2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; 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("Restyle*"):
|
|
|
|
BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
|
|
|
|
|
|
|
|
with Files("nsStyle*"):
|
|
|
|
BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
|
|
|
|
|
|
|
|
with Files("nsChangeHint.h"):
|
|
|
|
BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
|
|
|
|
|
|
|
|
with Files("nsBidi*"):
|
2018-09-05 14:16:02 +03:00
|
|
|
BUG_COMPONENT = ("Core", "Layout: Text and Fonts")
|
2015-03-04 04:03:19 +03:00
|
|
|
|
2015-12-22 09:14:12 +03:00
|
|
|
with Files("AccessibleCaret*"):
|
2019-11-08 15:17:57 +03:00
|
|
|
BUG_COMPONENT = ("Core", "DOM: Selection")
|
2015-07-30 09:33:00 +03:00
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
2017-03-04 16:06:11 +03:00
|
|
|
"nsILayoutHistoryState.idl",
|
2017-01-05 10:32:22 +03:00
|
|
|
"nsIPreloadedStyleSheet.idl",
|
2013-03-12 21:17:46 +04:00
|
|
|
"nsIStyleSheetService.idl",
|
|
|
|
]
|
|
|
|
|
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 += [
|
2014-08-06 09:19:27 +04:00
|
|
|
"CaretAssociationHint.h",
|
2017-05-27 14:36:00 +03:00
|
|
|
"FrameProperties.h",
|
2018-04-10 01:16:58 +03:00
|
|
|
"LayoutConstants.h",
|
2015-06-16 02:36:09 +03:00
|
|
|
"LayoutLogging.h",
|
2017-08-02 01:56:02 +03:00
|
|
|
"MobileViewportManager.h",
|
2017-09-26 05:57:57 +03:00
|
|
|
"nsAutoLayoutPhase.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"nsBidiPresUtils.h",
|
|
|
|
"nsCaret.h",
|
|
|
|
"nsChangeHint.h",
|
|
|
|
"nsCompatibility.h",
|
2018-03-06 12:25:52 +03:00
|
|
|
"nsCounterManager.h",
|
2013-10-24 03:05:43 +04:00
|
|
|
"nsCSSFrameConstructor.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"nsFrameManager.h",
|
|
|
|
"nsFrameTraversal.h",
|
2018-03-06 12:25:52 +03:00
|
|
|
"nsGenConList.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"nsIFrameTraversal.h",
|
2015-06-22 12:33:34 +03:00
|
|
|
"nsIPercentBSizeObserver.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"nsIReflowCallback.h",
|
|
|
|
"nsLayoutUtils.h",
|
|
|
|
"nsPresArena.h",
|
2015-09-17 05:08:19 +03:00
|
|
|
"nsPresArenaObjectList.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"nsPresContext.h",
|
2019-03-29 18:11:22 +03:00
|
|
|
"nsPresContextInlines.h",
|
2018-03-06 12:25:52 +03:00
|
|
|
"nsQuoteList.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"nsRefreshDriver.h",
|
2020-08-05 00:17:50 +03:00
|
|
|
"nsRefreshObservers.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"nsStyleChangeList.h",
|
2016-04-29 07:01:44 +03:00
|
|
|
"nsStyleSheetService.h",
|
2013-10-24 03:05:43 +04:00
|
|
|
"StackArena.h",
|
2017-08-02 01:56:02 +03:00
|
|
|
"TouchManager.h",
|
2013-10-24 03:05:43 +04:00
|
|
|
"Units.h",
|
2014-03-11 01:56:59 +04:00
|
|
|
"UnitTransforms.h",
|
2014-08-06 09:19:27 +04:00
|
|
|
"WordMovementType.h",
|
2017-08-02 01:56:02 +03:00
|
|
|
"ZoomConstraintsClient.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
2018-09-01 00:19:44 +03:00
|
|
|
"AccessibleCaretEventHub.h",
|
2015-09-17 05:08:19 +03:00
|
|
|
"ArenaObjectID.h",
|
2020-10-04 00:07:34 +03:00
|
|
|
"DisplayPortUtils.h",
|
2019-04-05 01:11:40 +03:00
|
|
|
"GeckoMVMContext.h",
|
2014-03-12 05:11:38 +04:00
|
|
|
"GeometryUtils.h",
|
2019-08-01 18:29:01 +03:00
|
|
|
"MediaEmulationData.h",
|
2019-10-31 23:07:28 +03:00
|
|
|
"MotionPathUtils.h",
|
2019-04-05 01:11:40 +03:00
|
|
|
"MVMContext.h",
|
2016-07-28 03:22:13 +03:00
|
|
|
"OverflowChangedTracker.h",
|
2020-03-04 23:24:55 +03:00
|
|
|
"PositionedEventTargeting.h",
|
2016-11-30 06:14:28 +03:00
|
|
|
"PresShell.h",
|
2019-04-25 08:02:20 +03:00
|
|
|
"PresShellForwards.h",
|
2019-04-30 04:52:53 +03:00
|
|
|
"PresShellInlines.h",
|
2020-05-05 22:33:40 +03:00
|
|
|
"RelativeTo.h",
|
2017-02-13 06:21:31 +03:00
|
|
|
"RestyleManager.h",
|
2018-08-01 09:14:26 +03:00
|
|
|
"ScrollStyles.h",
|
2019-03-26 02:17:20 +03:00
|
|
|
"ScrollTypes.h",
|
2017-01-06 11:35:29 +03:00
|
|
|
"ShapeUtils.h",
|
2016-03-31 22:47:20 +03:00
|
|
|
"StaticPresData.h",
|
2020-10-01 00:05:34 +03:00
|
|
|
"SurfaceFromElementResult.h",
|
2020-05-05 22:22:12 +03:00
|
|
|
"ViewportUtils.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2019-11-01 07:33:48 +03:00
|
|
|
EXPORTS.mozilla.layout += [
|
|
|
|
"LayoutTelemetryTools.h",
|
|
|
|
]
|
|
|
|
|
2013-11-15 06:43:56 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2015-04-24 03:05:00 +03:00
|
|
|
"AccessibleCaret.cpp",
|
|
|
|
"AccessibleCaretEventHub.cpp",
|
|
|
|
"AccessibleCaretManager.cpp",
|
2020-10-04 00:07:34 +03:00
|
|
|
"DisplayPortUtils.cpp",
|
2019-04-05 01:11:40 +03:00
|
|
|
"GeckoMVMContext.cpp",
|
2014-03-12 05:11:38 +04:00
|
|
|
"GeometryUtils.cpp",
|
2015-06-16 02:36:09 +03:00
|
|
|
"LayoutLogging.cpp",
|
2019-11-01 07:33:48 +03:00
|
|
|
"LayoutTelemetryTools.cpp",
|
2015-07-21 17:51:55 +03:00
|
|
|
"MobileViewportManager.cpp",
|
2019-10-31 23:07:28 +03:00
|
|
|
"MotionPathUtils.cpp",
|
2014-04-24 05:15:29 +04:00
|
|
|
"nsBidiPresUtils.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",
|
2014-10-09 00:19:14 +04:00
|
|
|
"nsDocumentViewer.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"nsFrameManager.cpp",
|
|
|
|
"nsFrameTraversal.cpp",
|
|
|
|
"nsGenConList.cpp",
|
|
|
|
"nsLayoutDebugger.cpp",
|
|
|
|
"nsLayoutHistoryState.cpp",
|
|
|
|
"nsLayoutUtils.cpp",
|
2017-04-01 00:06:33 +03:00
|
|
|
"nsPresArena.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"nsPresContext.cpp",
|
|
|
|
"nsQuoteList.cpp",
|
2020-10-22 22:26:51 +03:00
|
|
|
"nsRefreshObservers.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"nsStyleChangeList.cpp",
|
|
|
|
"nsStyleSheetService.cpp",
|
2013-10-24 03:05:43 +04:00
|
|
|
"PositionedEventTargeting.cpp",
|
2016-11-30 06:14:28 +03:00
|
|
|
"PresShell.cpp",
|
2017-02-13 06:21:31 +03:00
|
|
|
"RestyleManager.cpp",
|
2018-08-01 09:14:26 +03:00
|
|
|
"ScrollStyles.cpp",
|
2017-01-06 11:35:29 +03:00
|
|
|
"ShapeUtils.cpp",
|
2013-10-24 03:05:43 +04:00
|
|
|
"StackArena.cpp",
|
2016-03-31 22:47:20 +03:00
|
|
|
"StaticPresData.cpp",
|
2015-02-20 10:12:00 +03:00
|
|
|
"TouchManager.cpp",
|
2020-05-05 22:22:12 +03:00
|
|
|
"ViewportUtils.cpp",
|
2015-06-17 19:32:42 +03:00
|
|
|
"ZoomConstraintsClient.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-11-15 06:43:56 +04:00
|
|
|
# nsRefreshDriver.cpp needs to be built separately because of name clashes in the OS X headers
|
|
|
|
SOURCES += [
|
|
|
|
"nsRefreshDriver.cpp",
|
|
|
|
]
|
|
|
|
|
2015-05-10 04:37:00 +03:00
|
|
|
if CONFIG["ENABLE_TESTS"]:
|
|
|
|
DIRS += ["gtest"]
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include("/ipc/chromium/chromium-config.mozbuild")
|
|
|
|
|
2013-11-15 11:12:43 +04:00
|
|
|
LOCAL_INCLUDES += [
|
2013-11-28 18:23:10 +04:00
|
|
|
"../forms",
|
|
|
|
"../generic",
|
|
|
|
"../mathml",
|
2016-11-19 03:37:13 +03:00
|
|
|
"../painting",
|
2013-11-28 18:23:10 +04:00
|
|
|
"../printing",
|
|
|
|
"../style",
|
|
|
|
"../tables",
|
2013-12-04 05:06:16 +04:00
|
|
|
"../xul",
|
2013-11-28 18:23:10 +04:00
|
|
|
"../xul/tree/",
|
2013-11-15 11:12:43 +04:00
|
|
|
"/docshell/base",
|
2014-01-10 07:03:25 +04:00
|
|
|
"/dom/base",
|
2014-10-25 21:24:55 +04:00
|
|
|
"/dom/html",
|
2014-10-25 21:21:12 +04:00
|
|
|
"/dom/svg",
|
2017-02-02 18:32:58 +03:00
|
|
|
"/dom/xul",
|
2014-07-29 05:02:44 +04:00
|
|
|
"/view",
|
2013-11-15 11:12:43 +04:00
|
|
|
]
|
2013-11-28 18:23:10 +04:00
|
|
|
|
2016-03-11 02:06:13 +03:00
|
|
|
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
"/widget/android",
|
|
|
|
]
|
|
|
|
|
2018-03-02 21:17:09 +03:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
"PresState.ipdlh",
|
|
|
|
]
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = "xul"
|
2013-11-28 18:27:05 +04:00
|
|
|
|
2015-09-18 16:57:10 +03:00
|
|
|
BROWSER_CHROME_MANIFESTS += ["tests/browser.ini"]
|
2016-09-08 00:22:21 +03:00
|
|
|
MARIONETTE_LAYOUT_MANIFESTS += ["tests/marionette/manifest.ini"]
|
2013-11-28 18:27:05 +04:00
|
|
|
MOCHITEST_MANIFESTS += ["tests/mochitest.ini"]
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.ini"]
|