moz.build (1138B)
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 MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.toml"] 11 BROWSER_CHROME_MANIFESTS += ["tests/mochitest/browser.toml"] 12 13 XPIDL_SOURCES += [ 14 "nsIExpatSink.idl", 15 ] 16 17 XPIDL_MODULE = "htmlparser" 18 19 EXPORTS += [ 20 "nsElementTable.h", 21 "nsHTMLTagList.h", 22 "nsHTMLTags.h", 23 "nsIContentSink.h", 24 "nsIFragmentContentSink.h", 25 "nsIParser.h", 26 "nsParserBase.h", 27 "nsParserConstants.h", 28 "nsRLBoxExpatDriver.h", 29 "nsScannerString.h", 30 ] 31 32 UNIFIED_SOURCES += [ 33 "CParserContext.cpp", 34 "nsElementTable.cpp", 35 "nsExpatDriver.cpp", 36 "nsHTMLTags.cpp", 37 "nsParser.cpp", 38 "nsParserMsgUtils.cpp", 39 "nsScanner.cpp", 40 "nsScannerString.cpp", 41 ] 42 43 include("/ipc/chromium/chromium-config.mozbuild") 44 45 FINAL_LIBRARY = "xul" 46 47 LOCAL_INCLUDES += [ 48 "!/security/rlbox", 49 ]