Bug 1835529 [wpt PR 40276] - Update wpt metadata, a=testonly
[gecko.git] / dom / xul / moz.build
blob6057c71aa56d9cc7ceac3e0a6fbe29ef4761e953
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", "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"]
16 EXPORTS += [
17     "nsXULCommandDispatcher.h",
18     "nsXULElement.h",
19     "nsXULPrototypeDocument.h",
20     "nsXULSortService.h",
23 EXPORTS.mozilla.dom += [
24     "XULBroadcastManager.h",
25     "XULButtonElement.h",
26     "XULFrameElement.h",
27     "XULMenuBarElement.h",
28     "XULMenuElement.h",
29     "XULMenuParentElement.h",
30     "XULPersist.h",
31     "XULPopupElement.h",
32     "XULResizerElement.h",
33     "XULTextElement.h",
34     "XULTooltipElement.h",
35     "XULTreeElement.h",
38 UNIFIED_SOURCES += [
39     "MenuBarListener.cpp",
40     "nsXULCommandDispatcher.cpp",
41     "nsXULContentSink.cpp",
42     "nsXULContentUtils.cpp",
43     "nsXULElement.cpp",
44     "nsXULPopupListener.cpp",
45     "nsXULPrototypeCache.cpp",
46     "nsXULPrototypeDocument.cpp",
47     "nsXULSortService.cpp",
48     "XULBroadcastManager.cpp",
49     "XULButtonElement.cpp",
50     "XULFrameElement.cpp",
51     "XULMenuBarElement.cpp",
52     "XULMenuElement.cpp",
53     "XULMenuParentElement.cpp",
54     "XULPersist.cpp",
55     "XULPopupElement.cpp",
56     "XULResizerElement.cpp",
57     "XULTextElement.cpp",
58     "XULTooltipElement.cpp",
59     "XULTreeElement.cpp",
62 XPIDL_SOURCES += [
63     "nsIBrowserController.idl",
64     "nsIController.idl",
65     "nsIControllers.idl",
68 XPIDL_MODULE = "xul"
70 EXPORTS.mozilla.dom += [
71     "ChromeObserver.h",
75 UNIFIED_SOURCES += [
76     "ChromeObserver.cpp",
77     "nsXULControllers.cpp",
80 LOCAL_INCLUDES += [
81     "/docshell/base",
82     "/dom/base",
83     "/dom/html",
84     "/dom/xml",
85     "/layout/base",
86     "/layout/generic",
87     "/layout/style",
88     "/layout/xul",
89     "/layout/xul/tree",
92 include("/ipc/chromium/chromium-config.mozbuild")
94 FINAL_LIBRARY = "xul"