Bug 1690340 - Part 1: Hide all the panel tools in the developer tools menu. r=jdescottes
[gecko.git] / parser / htmlparser / moz.build
blob8d79568805ce824bf0c6284a44387a56d80a4437
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/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "XML")
10 MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.ini"]
11 BROWSER_CHROME_MANIFESTS += ["tests/mochitest/browser.ini"]
13 XPIDL_SOURCES += [
14     "nsIExpatSink.idl",
17 XPIDL_MODULE = "htmlparser"
19 EXPORTS += [
20     "nsElementTable.h",
21     "nsHTMLTagList.h",
22     "nsHTMLTags.h",
23     "nsIContentSink.h",
24     "nsIDTD.h",
25     "nsIFragmentContentSink.h",
26     "nsIHTMLContentSink.h",
27     "nsIParser.h",
28     "nsITokenizer.h",
29     "nsParserBase.h",
30     "nsParserCIID.h",
31     "nsParserConstants.h",
32     "nsScannerString.h",
35 UNIFIED_SOURCES += [
36     "CNavDTD.cpp",
37     "CParserContext.cpp",
38     "nsElementTable.cpp",
39     "nsExpatDriver.cpp",
40     "nsHTMLTags.cpp",
41     "nsHTMLTokenizer.cpp",
42     "nsParser.cpp",
43     "nsParserModule.cpp",
44     "nsParserMsgUtils.cpp",
45     "nsScanner.cpp",
46     "nsScannerString.cpp",
49 XPCOM_MANIFESTS += [
50     "components.conf",
53 include("/ipc/chromium/chromium-config.mozbuild")
55 FINAL_LIBRARY = "xul"
57 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
58     CXXFLAGS += ["-Wno-error=shadow"]