moz.build (1122B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 with Files("**"): 8 BUG_COMPONENT = ("Core", "XML") 9 10 DIRS += ["resources"] 11 12 MOCHITEST_MANIFESTS += ["test/mochitest.toml"] 13 14 EXPORTS += [ 15 "nsIXMLContentSink.h", 16 ] 17 18 EXPORTS.mozilla.dom += [ 19 "CDATASection.h", 20 "nsXMLElement.h", 21 "ProcessingInstruction.h", 22 "XMLDocument.h", 23 "XMLStylesheetProcessingInstruction.h", 24 ] 25 26 UNIFIED_SOURCES += [ 27 "CDATASection.cpp", 28 "nsXMLContentSink.cpp", 29 "nsXMLElement.cpp", 30 "nsXMLFragmentContentSink.cpp", 31 "nsXMLPrettyPrinter.cpp", 32 "ProcessingInstruction.cpp", 33 "XMLDocument.cpp", 34 "XMLStylesheetProcessingInstruction.cpp", 35 ] 36 37 FINAL_LIBRARY = "xul" 38 39 LOCAL_INCLUDES += [ 40 "/caps", 41 "/dom/base", 42 "/dom/html", 43 "/dom/xslt/base", 44 "/dom/xul", 45 "/layout/style", 46 "/parser/htmlparser", 47 ] 48 49 RESOURCE_FILES.dtd += [ 50 "htmlmathml-f.ent", 51 ]