Bug 1851451 [wpt PR 41799] - Fix WPT CSS Counters test, a=testonly
[gecko.git] / dom / xul / moz.build
blob343f2cc3642b9590016e178a968e6a9b0ab7447b
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.toml"]
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"