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", "DOM: UI Events & Focus Handling")
11 BUG_COMPONENT = ("Core", "DOM: Events")
13 BROWSER_CHROME_MANIFESTS += [
17 MOCHITEST_MANIFESTS += [
19 "test/pointerevents/mochitest.ini",
22 MOCHITEST_CHROME_MANIFESTS += [
24 "test/pointerevents/chrome.ini",
27 TEST_DIRS += ["test/gtest"]
30 "nsIEventListenerService.idl",
33 XPIDL_MODULE = "content_events"
36 "AsyncEventDispatcher.h",
37 "DOMEventTargetHelper.h",
39 "EventListenerManager.h",
41 "EventStateManager.h",
42 "GlobalKeyListener.h",
43 "IMEContentObserver.h",
45 "InputEventOptions.h",
47 "InternalMutationEvent.h",
51 "PendingFullscreenEvent.h",
52 "PhysicalKeyCodeNameList.h",
55 "VirtualKeyCodeList.h",
56 "WheelHandlingHelper.h",
59 EXPORTS.mozilla.dom += [
61 "BeforeUnloadEvent.h",
67 "ConstructibleEventTarget.h",
71 "DataTransferItemList.h",
72 "DeviceMotionEvent.h",
77 "ImageCaptureError.h",
87 "PointerEventHandler.h",
88 "RemoteDragStartData.h",
90 "SimpleGestureEvent.h",
101 if CONFIG["MOZ_WEBSPEECH"]:
102 EXPORTS.mozilla.dom += ["SpeechRecognitionError.h"]
105 "AnimationEvent.cpp",
106 "AsyncEventDispatcher.cpp",
107 "BeforeUnloadEvent.cpp",
109 "ClipboardEvent.cpp",
112 "CompositionEvent.cpp",
113 "ConstructibleEventTarget.cpp",
114 "ContentEventHandler.cpp",
117 "DataTransferItem.cpp",
118 "DataTransferItemList.cpp",
119 "DeviceMotionEvent.cpp",
120 "DOMEventTargetHelper.cpp",
123 "EventDispatcher.cpp",
124 "EventListenerManager.cpp",
125 "EventListenerService.cpp",
128 "GlobalKeyListener.cpp",
129 "ImageCaptureError.cpp",
130 "IMEContentObserver.cpp",
131 "IMEStateManager.cpp",
133 "JSEventHandler.cpp",
135 "KeyEventHandler.cpp",
138 "MouseScrollEvent.cpp",
140 "NotifyPaintEvent.cpp",
143 "PointerEventHandler.cpp",
144 "RemoteDragStartData.cpp",
145 "ScrollAreaEvent.cpp",
146 "ShortcutKeyDefinitions.cpp",
148 "SimpleGestureEvent.cpp",
151 "TextComposition.cpp",
154 "TransitionEvent.cpp",
157 "WheelHandlingHelper.cpp",
158 "XULCommandEvent.cpp",
161 # nsEventStateManager.cpp should be built separately because of Mac OS X headers.
163 "EventStateManager.cpp",
166 if CONFIG["MOZ_WEBSPEECH"]:
167 UNIFIED_SOURCES += ["SpeechRecognitionError.cpp"]
169 include("/ipc/chromium/chromium-config.mozbuild")
171 FINAL_LIBRARY = "xul"
179 "/js/xpconnect/wrappers",