gecko-dev/layout/mathml/moz.build
Daniel Holbert 06c1963311 Bug 1754295 part 2: Fix non-unified build errors in layout/mathml, and mark it as safe to build in non-unified mode. r=TYLin
Build errors fixed here:

layout/mathml/nsMathMLmpaddedFrame.h:68:14: error: field has incomplete type 'nsCSSValue'

* Fixed by including this type's header.

[various files]: error: use of undeclared identifier 'nsLayoutUtils'

* Fixed by including the nsLayoutUtils header.

[various files]: error: member access into incomplete type 'mozilla::dom::Element'

* These are for calls to [something]->AsElement()->HasAttr() and SetAttr(). Fixed by including Element.h in all affected .cpp files.

[various files]: error: member access into incomplete type 'nsINode::Document' (aka 'mozilla::dom::Document')

* These are for calls to mContent->OwnerDoc()->WarnOnceAbout(). Fixed by including Document.h in all affected files.

Depends on D138202

Differential Revision: https://phabricator.services.mozilla.com/D138203
2022-02-08 23:29:56 +00:00

63 lines
1.5 KiB
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.
with Files("**"):
BUG_COMPONENT = ("Core", "MathML")
if CONFIG["ENABLE_TESTS"]:
MOCHITEST_MANIFESTS += [
"tests/mochitest.ini",
]
MOCHITEST_CHROME_MANIFESTS += [
"tests/chrome.ini",
]
UNIFIED_SOURCES += [
"nsMathMLChar.cpp",
"nsMathMLContainerFrame.cpp",
"nsMathMLFrame.cpp",
"nsMathMLmactionFrame.cpp",
"nsMathMLmencloseFrame.cpp",
"nsMathMLmfracFrame.cpp",
"nsMathMLmmultiscriptsFrame.cpp",
"nsMathMLmoFrame.cpp",
"nsMathMLmpaddedFrame.cpp",
"nsMathMLmrootFrame.cpp",
"nsMathMLmrowFrame.cpp",
"nsMathMLmspaceFrame.cpp",
"nsMathMLmsqrtFrame.cpp",
"nsMathMLmtableFrame.cpp",
"nsMathMLmunderoverFrame.cpp",
"nsMathMLOperators.cpp",
"nsMathMLSelectedFrame.cpp",
"nsMathMLsemanticsFrame.cpp",
"nsMathMLTokenFrame.cpp",
]
EXPORTS += ["nsIMathMLFrame.h", "nsMathMLOperators.h"]
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul"
LOCAL_INCLUDES += [
"../base",
"../generic",
"../painting",
"../style",
"../tables",
"../xul",
"/dom/base",
"/dom/mathml",
]
JAR_MANIFESTS += ["jar.mn"]
RESOURCE_FILES.fonts += [
"mathfont.properties",
"mathfontSTIXGeneral.properties",
"mathfontUnicode.properties",
]