Bug 1892041 - Part 1: Update test262 features. r=spidermonkey-reviewers,dminor
[gecko.git] / dom / events / moz.build
blob405bdff8952c8432f67f7b4138c5db14a49a8747
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.toml",
15     "test/clipboard/browser.toml",
18 MOCHITEST_MANIFESTS += [
19     "test/clipboard/mochitest.toml",
20     "test/mochitest.toml",
21     "test/pointerevents/mochitest.toml",
24 MOCHITEST_CHROME_MANIFESTS += [
25     "test/chrome.toml",
26     "test/clipboard/chrome.toml",
27     "test/pointerevents/chrome.toml",
30 TEST_DIRS += ["test/gtest"]
32 XPIDL_SOURCES += [
33     "nsIEventListenerService.idl",
36 XPIDL_MODULE = "content_events"
38 EXPORTS.mozilla += [
39     "AsyncEventDispatcher.h",
40     "DOMEventTargetHelper.h",
41     "EventDispatcher.h",
42     "EventListenerManager.h",
43     "EventNameList.h",
44     "EventStateManager.h",
45     "GlobalKeyListener.h",
46     "IMEContentObserver.h",
47     "IMEStateManager.h",
48     "InputEventOptions.h",
49     "InputTypeList.h",
50     "InternalMutationEvent.h",
51     "JSEventHandler.h",
52     "KeyEventHandler.h",
53     "KeyNameList.h",
54     "PendingFullscreenEvent.h",
55     "PhysicalKeyCodeNameList.h",
56     "ShortcutKeys.h",
57     "TextComposition.h",
58     "VirtualKeyCodeList.h",
59     "WheelHandlingHelper.h",
62 EXPORTS.mozilla.dom += [
63     "AnimationEvent.h",
64     "BeforeUnloadEvent.h",
65     "Clipboard.h",
66     "ClipboardEvent.h",
67     "ClipboardItem.h",
68     "CommandEvent.h",
69     "CompositionEvent.h",
70     "ConstructibleEventTarget.h",
71     "CustomEvent.h",
72     "DataTransfer.h",
73     "DataTransferItem.h",
74     "DataTransferItemList.h",
75     "DeviceMotionEvent.h",
76     "DragEvent.h",
77     "Event.h",
78     "EventTarget.h",
79     "FocusEvent.h",
80     "ImageCaptureError.h",
81     "InputEvent.h",
82     "InvokeEvent.h",
83     "KeyboardEvent.h",
84     "MessageEvent.h",
85     "MouseEvent.h",
86     "MouseScrollEvent.h",
87     "MutationEvent.h",
88     "NotifyPaintEvent.h",
89     "PaintRequest.h",
90     "PointerEvent.h",
91     "PointerEventHandler.h",
92     "RemoteDragStartData.h",
93     "ScrollAreaEvent.h",
94     "SimpleGestureEvent.h",
95     "StorageEvent.h",
96     "TextClause.h",
97     "TextEvent.h",
98     "Touch.h",
99     "TouchEvent.h",
100     "TransitionEvent.h",
101     "UIEvent.h",
102     "WheelEvent.h",
103     "XULCommandEvent.h",
106 if CONFIG["MOZ_WEBSPEECH"]:
107     EXPORTS.mozilla.dom += ["SpeechRecognitionError.h"]
109 UNIFIED_SOURCES += [
110     "AnimationEvent.cpp",
111     "AsyncEventDispatcher.cpp",
112     "BeforeUnloadEvent.cpp",
113     "Clipboard.cpp",
114     "ClipboardEvent.cpp",
115     "ClipboardItem.cpp",
116     "CommandEvent.cpp",
117     "CompositionEvent.cpp",
118     "ConstructibleEventTarget.cpp",
119     "ContentEventHandler.cpp",
120     "CustomEvent.cpp",
121     "DataTransfer.cpp",
122     "DataTransferItem.cpp",
123     "DataTransferItemList.cpp",
124     "DeviceMotionEvent.cpp",
125     "DOMEventTargetHelper.cpp",
126     "DragEvent.cpp",
127     "Event.cpp",
128     "EventDispatcher.cpp",
129     "EventListenerManager.cpp",
130     "EventListenerService.cpp",
131     "EventTarget.cpp",
132     "FocusEvent.cpp",
133     "GlobalKeyListener.cpp",
134     "ImageCaptureError.cpp",
135     "IMEContentObserver.cpp",
136     "IMEStateManager.cpp",
137     "InputEvent.cpp",
138     "InvokeEvent.cpp",
139     "JSEventHandler.cpp",
140     "KeyboardEvent.cpp",
141     "KeyEventHandler.cpp",
142     "MessageEvent.cpp",
143     "MouseEvent.cpp",
144     "MouseScrollEvent.cpp",
145     "MutationEvent.cpp",
146     "NotifyPaintEvent.cpp",
147     "PaintRequest.cpp",
148     "PointerEvent.cpp",
149     "PointerEventHandler.cpp",
150     "RemoteDragStartData.cpp",
151     "ScrollAreaEvent.cpp",
152     "ShortcutKeyDefinitions.cpp",
153     "ShortcutKeys.cpp",
154     "SimpleGestureEvent.cpp",
155     "StorageEvent.cpp",
156     "TextClause.cpp",
157     "TextComposition.cpp",
158     "TextEvent.cpp",
159     "Touch.cpp",
160     "TouchEvent.cpp",
161     "TransitionEvent.cpp",
162     "UIEvent.cpp",
163     "WheelEvent.cpp",
164     "WheelHandlingHelper.cpp",
165     "XULCommandEvent.cpp",
168 # nsEventStateManager.cpp should be built separately because of Mac OS X headers.
169 SOURCES += [
170     "EventStateManager.cpp",
173 if CONFIG["MOZ_WEBSPEECH"]:
174     UNIFIED_SOURCES += ["SpeechRecognitionError.cpp"]
176 include("/ipc/chromium/chromium-config.mozbuild")
178 FINAL_LIBRARY = "xul"
179 LOCAL_INCLUDES += [
180     "/docshell/base",
181     "/dom/base",
182     "/dom/html",
183     "/dom/storage",
184     "/dom/xml",
185     "/dom/xul",
186     "/js/xpconnect/wrappers",
187     "/layout/forms",
188     "/layout/generic",
189     "/layout/xul",
190     "/layout/xul/tree/",