Bug 1776680 [wpt PR 34603] - [@container] Test invalidation of font-relative units...
[gecko.git] / dom / events / moz.build
blob995e71859d71130da6f0a8105b930dc70ec0c5ed
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", "DOM: UI Events & Focus Handling")
10 with Files("Event*"):
11     BUG_COMPONENT = ("Core", "DOM: Events")
13 BROWSER_CHROME_MANIFESTS += [
14     "test/browser.ini",
17 MOCHITEST_MANIFESTS += [
18     "test/mochitest.ini",
19     "test/pointerevents/mochitest.ini",
22 MOCHITEST_CHROME_MANIFESTS += [
23     "test/chrome.ini",
24     "test/pointerevents/chrome.ini",
27 TEST_DIRS += ["test/gtest"]
29 XPIDL_SOURCES += [
30     "nsIEventListenerService.idl",
33 XPIDL_MODULE = "content_events"
35 EXPORTS.mozilla += [
36     "AsyncEventDispatcher.h",
37     "DOMEventTargetHelper.h",
38     "EventDispatcher.h",
39     "EventListenerManager.h",
40     "EventNameList.h",
41     "EventStateManager.h",
42     "GlobalKeyListener.h",
43     "IMEContentObserver.h",
44     "IMEStateManager.h",
45     "InputEventOptions.h",
46     "InputTypeList.h",
47     "InternalMutationEvent.h",
48     "JSEventHandler.h",
49     "KeyEventHandler.h",
50     "KeyNameList.h",
51     "PendingFullscreenEvent.h",
52     "PhysicalKeyCodeNameList.h",
53     "ShortcutKeys.h",
54     "TextComposition.h",
55     "VirtualKeyCodeList.h",
56     "WheelHandlingHelper.h",
59 EXPORTS.mozilla.dom += [
60     "AnimationEvent.h",
61     "BeforeUnloadEvent.h",
62     "Clipboard.h",
63     "ClipboardEvent.h",
64     "ClipboardItem.h",
65     "CommandEvent.h",
66     "CompositionEvent.h",
67     "ConstructibleEventTarget.h",
68     "CustomEvent.h",
69     "DataTransfer.h",
70     "DataTransferItem.h",
71     "DataTransferItemList.h",
72     "DeviceMotionEvent.h",
73     "DragEvent.h",
74     "Event.h",
75     "EventTarget.h",
76     "FocusEvent.h",
77     "ImageCaptureError.h",
78     "InputEvent.h",
79     "KeyboardEvent.h",
80     "MessageEvent.h",
81     "MouseEvent.h",
82     "MouseScrollEvent.h",
83     "MutationEvent.h",
84     "NotifyPaintEvent.h",
85     "PaintRequest.h",
86     "PointerEvent.h",
87     "PointerEventHandler.h",
88     "RemoteDragStartData.h",
89     "ScrollAreaEvent.h",
90     "SimpleGestureEvent.h",
91     "StorageEvent.h",
92     "TextClause.h",
93     "Touch.h",
94     "TouchEvent.h",
95     "TransitionEvent.h",
96     "UIEvent.h",
97     "WheelEvent.h",
98     "XULCommandEvent.h",
101 if CONFIG["MOZ_WEBSPEECH"]:
102     EXPORTS.mozilla.dom += ["SpeechRecognitionError.h"]
104 UNIFIED_SOURCES += [
105     "AnimationEvent.cpp",
106     "AsyncEventDispatcher.cpp",
107     "BeforeUnloadEvent.cpp",
108     "Clipboard.cpp",
109     "ClipboardEvent.cpp",
110     "ClipboardItem.cpp",
111     "CommandEvent.cpp",
112     "CompositionEvent.cpp",
113     "ConstructibleEventTarget.cpp",
114     "ContentEventHandler.cpp",
115     "CustomEvent.cpp",
116     "DataTransfer.cpp",
117     "DataTransferItem.cpp",
118     "DataTransferItemList.cpp",
119     "DeviceMotionEvent.cpp",
120     "DOMEventTargetHelper.cpp",
121     "DragEvent.cpp",
122     "Event.cpp",
123     "EventDispatcher.cpp",
124     "EventListenerManager.cpp",
125     "EventListenerService.cpp",
126     "EventTarget.cpp",
127     "FocusEvent.cpp",
128     "GlobalKeyListener.cpp",
129     "ImageCaptureError.cpp",
130     "IMEContentObserver.cpp",
131     "IMEStateManager.cpp",
132     "InputEvent.cpp",
133     "JSEventHandler.cpp",
134     "KeyboardEvent.cpp",
135     "KeyEventHandler.cpp",
136     "MessageEvent.cpp",
137     "MouseEvent.cpp",
138     "MouseScrollEvent.cpp",
139     "MutationEvent.cpp",
140     "NotifyPaintEvent.cpp",
141     "PaintRequest.cpp",
142     "PointerEvent.cpp",
143     "PointerEventHandler.cpp",
144     "RemoteDragStartData.cpp",
145     "ScrollAreaEvent.cpp",
146     "ShortcutKeyDefinitions.cpp",
147     "ShortcutKeys.cpp",
148     "SimpleGestureEvent.cpp",
149     "StorageEvent.cpp",
150     "TextClause.cpp",
151     "TextComposition.cpp",
152     "Touch.cpp",
153     "TouchEvent.cpp",
154     "TransitionEvent.cpp",
155     "UIEvent.cpp",
156     "WheelEvent.cpp",
157     "WheelHandlingHelper.cpp",
158     "XULCommandEvent.cpp",
161 # nsEventStateManager.cpp should be built separately because of Mac OS X headers.
162 SOURCES += [
163     "EventStateManager.cpp",
166 if CONFIG["MOZ_WEBSPEECH"]:
167     UNIFIED_SOURCES += ["SpeechRecognitionError.cpp"]
169 include("/ipc/chromium/chromium-config.mozbuild")
171 FINAL_LIBRARY = "xul"
172 LOCAL_INCLUDES += [
173     "/docshell/base",
174     "/dom/base",
175     "/dom/html",
176     "/dom/storage",
177     "/dom/xml",
178     "/dom/xul",
179     "/js/xpconnect/wrappers",
180     "/layout/forms",
181     "/layout/generic",
182     "/layout/xul",
183     "/layout/xul/tree/",