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/.
8 BUG_COMPONENT = ("Core", "XUL")
10 if CONFIG["MOZ_BUILD_APP"] == "browser":
11 DEFINES["MOZ_BREAK_XUL_OVERLAYS"] = True
13 MOCHITEST_CHROME_MANIFESTS += ["test/chrome.ini"]
14 MOCHITEST_MANIFESTS += ["test/mochitest.ini"]
18 "nsXULCommandDispatcher.h",
20 "nsXULPrototypeDocument.h",
24 EXPORTS.mozilla.dom += [
25 "XULBroadcastManager.h",
31 "XULTooltipElement.h",
36 "nsXULCommandDispatcher.cpp",
37 "nsXULContentSink.cpp",
38 "nsXULContentUtils.cpp",
40 "nsXULPopupListener.cpp",
41 "nsXULPrototypeCache.cpp",
42 "nsXULPrototypeDocument.cpp",
43 "nsXULSortService.cpp",
44 "XULBroadcastManager.cpp",
45 "XULFrameElement.cpp",
48 "XULPopupElement.cpp",
50 "XULTooltipElement.cpp",
55 "nsIBrowserController.idl",
62 EXPORTS.mozilla.dom += [
69 "nsXULControllers.cpp",
84 include("/ipc/chromium/chromium-config.mozbuild")
88 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
89 CXXFLAGS += ["-Wno-error=shadow"]