parser/htmlparser/moz.build
author Miko Mynttinen <mikokm@gmail.com>
Wed, 01 Dec 2021 23:59:37 +0000
changeset 600844 7af79a49bf5f7d22deb1e81b5ffd7d45034b4bd2
parent 600729 b063b857f50273b0f9169f214f631168d8485435
permissions -rw-r--r--
Bug 1743637 - Fix array out of bounds in nsTextFrame::ToCString r=emilio Differential Revision: https://phabricator.services.mozilla.com/D132498

# -*- 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", "XML")

MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.ini"]
BROWSER_CHROME_MANIFESTS += ["tests/mochitest/browser.ini"]

XPIDL_SOURCES += [
    "nsIExpatSink.idl",
]

XPIDL_MODULE = "htmlparser"

EXPORTS += [
    "nsElementTable.h",
    "nsHTMLTagList.h",
    "nsHTMLTags.h",
    "nsIContentSink.h",
    "nsIDTD.h",
    "nsIFragmentContentSink.h",
    "nsIHTMLContentSink.h",
    "nsIParser.h",
    "nsITokenizer.h",
    "nsParserBase.h",
    "nsParserCIID.h",
    "nsParserConstants.h",
    "nsRLBoxExpatDriver.h",
    "nsScannerString.h",
]

UNIFIED_SOURCES += [
    "CNavDTD.cpp",
    "CParserContext.cpp",
    "nsElementTable.cpp",
    "nsExpatDriver.cpp",
    "nsHTMLTags.cpp",
    "nsHTMLTokenizer.cpp",
    "nsParser.cpp",
    "nsParserModule.cpp",
    "nsParserMsgUtils.cpp",
    "nsScanner.cpp",
    "nsScannerString.cpp",
]

XPCOM_MANIFESTS += [
    "components.conf",
]

include("/ipc/chromium/chromium-config.mozbuild")

FINAL_LIBRARY = "xul"

LOCAL_INCLUDES += [
    "!/security/rlbox",
]

REQUIRES_UNIFIED_BUILD = True