Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / dom / events / moz.build
blob7ac39995ae4c8fa8a4c85b07b5025b38bbe76411
1 # -*- Mode: python; c-basic-offset: 4; 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 MOCHITEST_MANIFESTS += ['test/mochitest.ini']
8 MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
10 XPIDL_SOURCES += [
11     'nsIEventListenerService.idl',
14 XPIDL_MODULE = 'content_events'
16 EXPORTS.mozilla += [
17     'AsyncEventDispatcher.h',
18     'DOMEventTargetHelper.h',
19     'EventDispatcher.h',
20     'EventListenerManager.h',
21     'EventNameList.h',
22     'EventStateManager.h',
23     'EventStates.h',
24     'IMEStateManager.h',
25     'InternalMutationEvent.h',
26     'JSEventHandler.h',
27     'KeyNameList.h',
28     'PhysicalKeyCodeNameList.h',
29     'TextComposition.h',
30     'VirtualKeyCodeList.h',
33 EXPORTS.mozilla.dom += [
34     'AnimationEvent.h',
35     'BeforeUnloadEvent.h',
36     'ClipboardEvent.h',
37     'CommandEvent.h',
38     'CompositionEvent.h',
39     'CustomEvent.h',
40     'DataContainerEvent.h',
41     'DataTransfer.h',
42     'DeviceMotionEvent.h',
43     'DragEvent.h',
44     'Event.h',
45     'EventTarget.h',
46     'FocusEvent.h',
47     'InputEvent.h',
48     'KeyboardEvent.h',
49     'MessageEvent.h',
50     'MouseEvent.h',
51     'MouseScrollEvent.h',
52     'MutationEvent.h',
53     'NotifyPaintEvent.h',
54     'PaintRequest.h',
55     'PointerEvent.h',
56     'ScrollAreaEvent.h',
57     'SimpleGestureEvent.h',
58     'StorageEvent.h',
59     'Touch.h',
60     'TouchEvent.h',
61     'TransitionEvent.h',
62     'UIEvent.h',
63     'WheelEvent.h',
64     'XULCommandEvent.h',
67 if CONFIG['MOZ_WEBSPEECH']:
68     EXPORTS.mozilla.dom += ['SpeechRecognitionError.h']
70 UNIFIED_SOURCES += [
71     'AnimationEvent.cpp',
72     'AsyncEventDispatcher.cpp',
73     'BeforeUnloadEvent.cpp',
74     'ClipboardEvent.cpp',
75     'CommandEvent.cpp',
76     'CompositionEvent.cpp',
77     'ContentEventHandler.cpp',
78     'DataContainerEvent.cpp',
79     'DataTransfer.cpp',
80     'DeviceMotionEvent.cpp',
81     'DOMEventTargetHelper.cpp',
82     'DragEvent.cpp',
83     'Event.cpp',
84     'EventDispatcher.cpp',
85     'EventListenerManager.cpp',
86     'EventListenerService.cpp',
87     'EventTarget.cpp',
88     'FocusEvent.cpp',
89     'IMEContentObserver.cpp',
90     'IMEStateManager.cpp',
91     'InputEvent.cpp',
92     'JSEventHandler.cpp',
93     'KeyboardEvent.cpp',
94     'MessageEvent.cpp',
95     'MouseEvent.cpp',
96     'MouseScrollEvent.cpp',
97     'MutationEvent.cpp',
98     'NotifyPaintEvent.cpp',
99     'PaintRequest.cpp',
100     'PointerEvent.cpp',
101     'ScrollAreaEvent.cpp',
102     'SimpleGestureEvent.cpp',
103     'StorageEvent.cpp',
104     'TextComposition.cpp',
105     'Touch.cpp',
106     'TouchEvent.cpp',
107     'TransitionEvent.cpp',
108     'UIEvent.cpp',
109     'WheelEvent.cpp',
110     'WheelHandlingHelper.cpp',
111     'XULCommandEvent.cpp',
114 # nsEventStateManager.cpp should be built separately because of Mac OS X headers.
115 SOURCES += [
116     'CustomEvent.cpp',
117     'EventStateManager.cpp',
120 if CONFIG['MOZ_WEBSPEECH']:
121     UNIFIED_SOURCES += ['SpeechRecognitionError.cpp']
123 FAIL_ON_WARNINGS = True
125 MSVC_ENABLE_PGO = True
127 include('/ipc/chromium/chromium-config.mozbuild')
129 FINAL_LIBRARY = 'xul'
130 LOCAL_INCLUDES += [
131     '/content/base/src',
132     '/content/html/content/src',
133     '/content/xul/content/src',
134     '/dom/base',
135     '/dom/settings',
136     '/dom/storage',
137     '/dom/workers',
138     '/dom/xml',
139     '/js/xpconnect/wrappers',
140     '/layout/generic',
141     '/layout/xul',
142     '/layout/xul/tree/',
145 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
146     LOCAL_INCLUDES += [
147         '/dom/wifi',
148     ]