dom/xml/moz.build
author Brian Hackett <bhackett1024@gmail.com>
Wed, 03 Oct 2018 15:03:02 -1000
changeset 495437 00c56e070d3835c77fd0138a5c641d04a72dcb89
parent 454914 b777c3eae885d07cc492439be892a40d4a5ee262
permissions -rw-r--r--
Bug 1495272 Part 1 - Don't register deferred finalizer in BindingJSObjectCreator until initialization succeeds, r=bz.

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

DIRS += ['resources']

MOCHITEST_MANIFESTS += ['test/mochitest.ini']

EXPORTS += [
    'nsIXMLContentSink.h',
]

EXPORTS.mozilla.dom += [
    'CDATASection.h',
    'nsXMLElement.h',
    'ProcessingInstruction.h',
    'XMLDocument.h',
    'XMLStylesheetProcessingInstruction.h',
]

UNIFIED_SOURCES += [
    'CDATASection.cpp',
    'nsXMLContentSink.cpp',
    'nsXMLElement.cpp',
    'nsXMLFragmentContentSink.cpp',
    'nsXMLPrettyPrinter.cpp',
    'ProcessingInstruction.cpp',
    'XMLDocument.cpp',
    'XMLStylesheetProcessingInstruction.cpp',
]

FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
    '/caps',
    '/dom/base',
    '/dom/html',
    '/dom/xslt/base',
    '/dom/xul',
    '/layout/style',
]

RESOURCE_FILES.dtd += [
    'htmlmathml-f.ent',
]