summaryrefslogtreecommitdiffstats
path: root/dom/events/moz.build
blob: 661f56c7e939b4a18cef1c2134308f96a1e04987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

MOCHITEST_MANIFESTS += [
    'test/mochitest.ini',
    'test/pointerevents/mochitest.ini',
]

MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']

XPIDL_SOURCES += [
    'nsIEventListenerService.idl',
]

XPIDL_MODULE = 'content_events'

EXPORTS.mozilla += [
    'AsyncEventDispatcher.h',
    'DOMEventTargetHelper.h',
    'EventDispatcher.h',
    'EventListenerManager.h',
    'EventNameList.h',
    'EventStateManager.h',
    'EventStates.h',
    'IMEStateManager.h',
    'InternalMutationEvent.h',
    'JSEventHandler.h',
    'KeyNameList.h',
    'PhysicalKeyCodeNameList.h',
    'TextComposition.h',
    'VirtualKeyCodeList.h',
]

EXPORTS.mozilla.dom += [
    'AnimationEvent.h',
    'BeforeAfterKeyboardEvent.h',
    'BeforeUnloadEvent.h',
    'ClipboardEvent.h',
    'CommandEvent.h',
    'CompositionEvent.h',
    'CustomEvent.h',
    'DataContainerEvent.h',
    'DataTransfer.h',
    'DataTransferItem.h',
    'DataTransferItemList.h',
    'DeviceMotionEvent.h',
    'DragEvent.h',
    'Event.h',
    'EventTarget.h',
    'FocusEvent.h',
    'ImageCaptureError.h',
    'InputEvent.h',
    'KeyboardEvent.h',
    'MessageEvent.h',
    'MouseEvent.h',
    'MouseScrollEvent.h',
    'MutationEvent.h',
    'NotifyPaintEvent.h',
    'PaintRequest.h',
    'PointerEvent.h',
    'ScrollAreaEvent.h',
    'SimpleGestureEvent.h',
    'StorageEvent.h',
    'TextClause.h',
    'Touch.h',
    'TouchEvent.h',
    'TransitionEvent.h',
    'UIEvent.h',
    'WheelEvent.h',
    'XULCommandEvent.h',
]

if CONFIG['MOZ_WEBSPEECH']:
    EXPORTS.mozilla.dom += ['SpeechRecognitionError.h']

SOURCES += [
    'AnimationEvent.cpp',
    'AsyncEventDispatcher.cpp',
    'BeforeAfterKeyboardEvent.cpp',
    'BeforeUnloadEvent.cpp',
    'ClipboardEvent.cpp',
    'CommandEvent.cpp',
    'CompositionEvent.cpp',
    'ContentEventHandler.cpp',
    'CustomEvent.cpp',
    'DataContainerEvent.cpp',
    'DataTransfer.cpp',
    'DataTransferItem.cpp',
    'DataTransferItemList.cpp',
    'DeviceMotionEvent.cpp',
    'DOMEventTargetHelper.cpp',
    'DragEvent.cpp',
    'Event.cpp',
    'EventDispatcher.cpp',
    'EventListenerManager.cpp',
    'EventListenerService.cpp',
    'EventStateManager.cpp',
    'EventTarget.cpp',
    'FocusEvent.cpp',
    'ImageCaptureError.cpp',
    'IMEContentObserver.cpp',
    'IMEStateManager.cpp',
    'InputEvent.cpp',
    'JSEventHandler.cpp',
    'KeyboardEvent.cpp',
    'MessageEvent.cpp',
    'MouseEvent.cpp',
    'MouseScrollEvent.cpp',
    'MutationEvent.cpp',
    'NotifyPaintEvent.cpp',
    'PaintRequest.cpp',
    'PointerEvent.cpp',
    'ScrollAreaEvent.cpp',
    'SimpleGestureEvent.cpp',
    'StorageEvent.cpp',
    'TextClause.cpp',
    'TextComposition.cpp',
    'Touch.cpp',
    'TouchEvent.cpp',
    'TransitionEvent.cpp',
    'UIEvent.cpp',
    'WheelEvent.cpp',
    'WheelHandlingHelper.cpp',
    'XULCommandEvent.cpp',
]

if CONFIG['MOZ_WEBSPEECH']:
    SOURCES += ['SpeechRecognitionError.cpp']

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
    '/docshell/base',
    '/dom/base',
    '/dom/html',
    '/dom/settings',
    '/dom/storage',
    '/dom/svg',
    '/dom/workers',
    '/dom/xml',
    '/dom/xul',
    '/js/xpconnect/wrappers',
    '/layout/generic',
    '/layout/xul',
    '/layout/xul/tree/',
]

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wno-error=shadow']