|
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/. |
|
6 |
|
7 GENERATED_WEBIDL_FILES = [ |
|
8 'CSS2Properties.webidl', |
|
9 ] |
|
10 |
|
11 PREPROCESSED_WEBIDL_FILES = [ |
|
12 'Crypto.webidl', |
|
13 'Navigator.webidl', |
|
14 'Window.webidl', |
|
15 ] |
|
16 |
|
17 WEBIDL_FILES = [ |
|
18 'AbstractWorker.webidl', |
|
19 'ActivityRequestHandler.webidl', |
|
20 'AnalyserNode.webidl', |
|
21 'AnimationEvent.webidl', |
|
22 'AppInfo.webidl', |
|
23 'AppNotificationServiceOptions.webidl', |
|
24 'ArchiveReader.webidl', |
|
25 'ArchiveRequest.webidl', |
|
26 'Attr.webidl', |
|
27 'AudioBuffer.webidl', |
|
28 'AudioBufferSourceNode.webidl', |
|
29 'AudioChannel.webidl', |
|
30 'AudioContext.webidl', |
|
31 'AudioDestinationNode.webidl', |
|
32 'AudioListener.webidl', |
|
33 'AudioNode.webidl', |
|
34 'AudioParam.webidl', |
|
35 'AudioProcessingEvent.webidl', |
|
36 'AudioStreamTrack.webidl', |
|
37 'BarProp.webidl', |
|
38 'BatteryManager.webidl', |
|
39 'BeforeUnloadEvent.webidl', |
|
40 'BiquadFilterNode.webidl', |
|
41 'Blob.webidl', |
|
42 'BrowserElementDictionaries.webidl', |
|
43 'CallEvent.webidl', |
|
44 'CallsList.webidl', |
|
45 'CameraCapabilities.webidl', |
|
46 'CameraControl.webidl', |
|
47 'CameraManager.webidl', |
|
48 'CanvasRenderingContext2D.webidl', |
|
49 'CaretPosition.webidl', |
|
50 'CDATASection.webidl', |
|
51 'ChannelMergerNode.webidl', |
|
52 'ChannelSplitterNode.webidl', |
|
53 'CharacterData.webidl', |
|
54 'ChildNode.webidl', |
|
55 'ClipboardEvent.webidl', |
|
56 'CommandEvent.webidl', |
|
57 'Comment.webidl', |
|
58 'CompositionEvent.webidl', |
|
59 'Console.webidl', |
|
60 'Constraints.webidl', |
|
61 'Contacts.webidl', |
|
62 'ConvolverNode.webidl', |
|
63 'Coordinates.webidl', |
|
64 'CSS.webidl', |
|
65 'CSSPrimitiveValue.webidl', |
|
66 'CSSStyleDeclaration.webidl', |
|
67 'CSSStyleSheet.webidl', |
|
68 'CSSValue.webidl', |
|
69 'CSSValueList.webidl', |
|
70 'DataContainerEvent.webidl', |
|
71 'DataStore.webidl', |
|
72 'DataStoreImpl.webidl', |
|
73 'DataTransfer.webidl', |
|
74 'DedicatedWorkerGlobalScope.webidl', |
|
75 'DelayNode.webidl', |
|
76 'DesktopNotification.webidl', |
|
77 'DeviceMotionEvent.webidl', |
|
78 'DeviceStorage.webidl', |
|
79 'Directory.webidl', |
|
80 'Document.webidl', |
|
81 'DocumentFragment.webidl', |
|
82 'DocumentType.webidl', |
|
83 'DOMCursor.webidl', |
|
84 'DOMError.webidl', |
|
85 'DOMException.webidl', |
|
86 'DOMImplementation.webidl', |
|
87 'DOMMMIError.webidl', |
|
88 'DOMParser.webidl', |
|
89 'DOMPoint.webidl', |
|
90 'DOMQuad.webidl', |
|
91 'DOMRect.webidl', |
|
92 'DOMRectList.webidl', |
|
93 'DOMRequest.webidl', |
|
94 'DOMSettableTokenList.webidl', |
|
95 'DOMStringList.webidl', |
|
96 'DOMStringMap.webidl', |
|
97 'DOMTokenList.webidl', |
|
98 'DOMTransaction.webidl', |
|
99 'Downloads.webidl', |
|
100 'DragEvent.webidl', |
|
101 'DummyBinding.webidl', |
|
102 'DynamicsCompressorNode.webidl', |
|
103 'Element.webidl', |
|
104 'Event.webidl', |
|
105 'EventHandler.webidl', |
|
106 'EventListener.webidl', |
|
107 'EventSource.webidl', |
|
108 'EventTarget.webidl', |
|
109 'File.webidl', |
|
110 'FileHandle.webidl', |
|
111 'FileList.webidl', |
|
112 'FileMode.webidl', |
|
113 'FileReader.webidl', |
|
114 'FileReaderSync.webidl', |
|
115 'FileRequest.webidl', |
|
116 'FocusEvent.webidl', |
|
117 'FormData.webidl', |
|
118 'Function.webidl', |
|
119 'GainNode.webidl', |
|
120 'Geolocation.webidl', |
|
121 'GeometryUtils.webidl', |
|
122 'GetUserMediaRequest.webidl', |
|
123 'History.webidl', |
|
124 'HTMLAnchorElement.webidl', |
|
125 'HTMLAppletElement.webidl', |
|
126 'HTMLAreaElement.webidl', |
|
127 'HTMLAudioElement.webidl', |
|
128 'HTMLBaseElement.webidl', |
|
129 'HTMLBodyElement.webidl', |
|
130 'HTMLBRElement.webidl', |
|
131 'HTMLButtonElement.webidl', |
|
132 'HTMLCanvasElement.webidl', |
|
133 'HTMLCollection.webidl', |
|
134 'HTMLContentElement.webidl', |
|
135 'HTMLDataElement.webidl', |
|
136 'HTMLDataListElement.webidl', |
|
137 'HTMLDirectoryElement.webidl', |
|
138 'HTMLDivElement.webidl', |
|
139 'HTMLDListElement.webidl', |
|
140 'HTMLDocument.webidl', |
|
141 'HTMLElement.webidl', |
|
142 'HTMLEmbedElement.webidl', |
|
143 'HTMLFieldSetElement.webidl', |
|
144 'HTMLFontElement.webidl', |
|
145 'HTMLFormControlsCollection.webidl', |
|
146 'HTMLFormElement.webidl', |
|
147 'HTMLFrameElement.webidl', |
|
148 'HTMLFrameSetElement.webidl', |
|
149 'HTMLHeadElement.webidl', |
|
150 'HTMLHeadingElement.webidl', |
|
151 'HTMLHRElement.webidl', |
|
152 'HTMLHtmlElement.webidl', |
|
153 'HTMLIFrameElement.webidl', |
|
154 'HTMLImageElement.webidl', |
|
155 'HTMLInputElement.webidl', |
|
156 'HTMLLabelElement.webidl', |
|
157 'HTMLLegendElement.webidl', |
|
158 'HTMLLIElement.webidl', |
|
159 'HTMLLinkElement.webidl', |
|
160 'HTMLMapElement.webidl', |
|
161 'HTMLMediaElement.webidl', |
|
162 'HTMLMenuElement.webidl', |
|
163 'HTMLMenuItemElement.webidl', |
|
164 'HTMLMetaElement.webidl', |
|
165 'HTMLMeterElement.webidl', |
|
166 'HTMLModElement.webidl', |
|
167 'HTMLObjectElement.webidl', |
|
168 'HTMLOListElement.webidl', |
|
169 'HTMLOptGroupElement.webidl', |
|
170 'HTMLOptionElement.webidl', |
|
171 'HTMLOptionsCollection.webidl', |
|
172 'HTMLOutputElement.webidl', |
|
173 'HTMLParagraphElement.webidl', |
|
174 'HTMLParamElement.webidl', |
|
175 'HTMLPreElement.webidl', |
|
176 'HTMLProgressElement.webidl', |
|
177 'HTMLPropertiesCollection.webidl', |
|
178 'HTMLQuoteElement.webidl', |
|
179 'HTMLScriptElement.webidl', |
|
180 'HTMLSelectElement.webidl', |
|
181 'HTMLShadowElement.webidl', |
|
182 'HTMLSourceElement.webidl', |
|
183 'HTMLSpanElement.webidl', |
|
184 'HTMLStyleElement.webidl', |
|
185 'HTMLTableCaptionElement.webidl', |
|
186 'HTMLTableCellElement.webidl', |
|
187 'HTMLTableColElement.webidl', |
|
188 'HTMLTableElement.webidl', |
|
189 'HTMLTableRowElement.webidl', |
|
190 'HTMLTableSectionElement.webidl', |
|
191 'HTMLTemplateElement.webidl', |
|
192 'HTMLTextAreaElement.webidl', |
|
193 'HTMLTimeElement.webidl', |
|
194 'HTMLTitleElement.webidl', |
|
195 'HTMLTrackElement.webidl', |
|
196 'HTMLUListElement.webidl', |
|
197 'HTMLVideoElement.webidl', |
|
198 'IDBCursor.webidl', |
|
199 'IDBDatabase.webidl', |
|
200 'IDBEnvironment.webidl', |
|
201 'IDBFactory.webidl', |
|
202 'IDBFileHandle.webidl', |
|
203 'IDBIndex.webidl', |
|
204 'IDBKeyRange.webidl', |
|
205 'IDBObjectStore.webidl', |
|
206 'IDBOpenDBRequest.webidl', |
|
207 'IDBRequest.webidl', |
|
208 'IDBTransaction.webidl', |
|
209 'IDBVersionChangeEvent.webidl', |
|
210 'ImageData.webidl', |
|
211 'ImageDocument.webidl', |
|
212 'InputEvent.webidl', |
|
213 'InputMethod.webidl', |
|
214 'InspectorUtils.webidl', |
|
215 'InterAppConnection.webidl', |
|
216 'InterAppConnectionRequest.webidl', |
|
217 'InterAppMessagePort.webidl', |
|
218 'KeyboardEvent.webidl', |
|
219 'KeyEvent.webidl', |
|
220 'LegacyQueryInterface.webidl', |
|
221 'LinkStyle.webidl', |
|
222 'LocalMediaStream.webidl', |
|
223 'Location.webidl', |
|
224 'LockedFile.webidl', |
|
225 'MediaElementAudioSourceNode.webidl', |
|
226 'MediaError.webidl', |
|
227 'MediaList.webidl', |
|
228 'MediaQueryList.webidl', |
|
229 'MediaRecorder.webidl', |
|
230 'MediaSource.webidl', |
|
231 'MediaStream.webidl', |
|
232 'MediaStreamAudioDestinationNode.webidl', |
|
233 'MediaStreamAudioSourceNode.webidl', |
|
234 'MediaStreamTrack.webidl', |
|
235 'MediaTrackConstraintSet.webidl', |
|
236 'MessageChannel.webidl', |
|
237 'MessageEvent.webidl', |
|
238 'MessagePort.webidl', |
|
239 'MessagePortList.webidl', |
|
240 'MimeType.webidl', |
|
241 'MimeTypeArray.webidl', |
|
242 'MobileMessageManager.webidl', |
|
243 'MouseEvent.webidl', |
|
244 'MouseScrollEvent.webidl', |
|
245 'MozActivity.webidl', |
|
246 'MozMmsMessage.webidl', |
|
247 'MozMobileConnection.webidl', |
|
248 'MozNamedAttrMap.webidl', |
|
249 'MozNetworkStats.webidl', |
|
250 'MozPowerManager.webidl', |
|
251 'MozTimeManager.webidl', |
|
252 'MozWakeLock.webidl', |
|
253 'MutationEvent.webidl', |
|
254 'MutationObserver.webidl', |
|
255 'NativeOSFileInternals.webidl', |
|
256 'NetDashboard.webidl', |
|
257 'NetworkInformation.webidl', |
|
258 'NetworkOptions.webidl', |
|
259 'Node.webidl', |
|
260 'NodeFilter.webidl', |
|
261 'NodeIterator.webidl', |
|
262 'NodeList.webidl', |
|
263 'Notification.webidl', |
|
264 'NotifyPaintEvent.webidl', |
|
265 'OfflineAudioCompletionEvent.webidl', |
|
266 'OfflineAudioContext.webidl', |
|
267 'OfflineResourceList.webidl', |
|
268 'OscillatorNode.webidl', |
|
269 'PaintRequest.webidl', |
|
270 'PaintRequestList.webidl', |
|
271 'PannerNode.webidl', |
|
272 'ParentNode.webidl', |
|
273 'Performance.webidl', |
|
274 'PerformanceEntry.webidl', |
|
275 'PerformanceNavigation.webidl', |
|
276 'PerformanceResourceTiming.webidl', |
|
277 'PerformanceTiming.webidl', |
|
278 'PeriodicWave.webidl', |
|
279 'PermissionSettings.webidl', |
|
280 'PhoneNumberService.webidl', |
|
281 'Plugin.webidl', |
|
282 'PluginArray.webidl', |
|
283 'PointerEvent.webidl', |
|
284 'Position.webidl', |
|
285 'PositionError.webidl', |
|
286 'ProcessingInstruction.webidl', |
|
287 'Promise.webidl', |
|
288 'PushManager.webidl', |
|
289 'Range.webidl', |
|
290 'Rect.webidl', |
|
291 'RGBColor.webidl', |
|
292 'RTCConfiguration.webidl', |
|
293 'RTCIceCandidate.webidl', |
|
294 'RTCIdentityAssertion.webidl', |
|
295 'RTCPeerConnection.webidl', |
|
296 'RTCSessionDescription.webidl', |
|
297 'RTCStatsReport.webidl', |
|
298 'Screen.webidl', |
|
299 'ScriptProcessorNode.webidl', |
|
300 'ScrollAreaEvent.webidl', |
|
301 'Selection.webidl', |
|
302 'SettingsManager.webidl', |
|
303 'ShadowRoot.webidl', |
|
304 'SharedWorker.webidl', |
|
305 'SharedWorkerGlobalScope.webidl', |
|
306 'SimpleGestureEvent.webidl', |
|
307 'SourceBuffer.webidl', |
|
308 'SourceBufferList.webidl', |
|
309 'StorageType.webidl', |
|
310 'StyleSheet.webidl', |
|
311 'StyleSheetList.webidl', |
|
312 'SVGAElement.webidl', |
|
313 'SVGAltGlyphElement.webidl', |
|
314 'SVGAngle.webidl', |
|
315 'SVGAnimatedAngle.webidl', |
|
316 'SVGAnimatedBoolean.webidl', |
|
317 'SVGAnimatedEnumeration.webidl', |
|
318 'SVGAnimatedInteger.webidl', |
|
319 'SVGAnimatedLength.webidl', |
|
320 'SVGAnimatedLengthList.webidl', |
|
321 'SVGAnimatedNumber.webidl', |
|
322 'SVGAnimatedNumberList.webidl', |
|
323 'SVGAnimatedPathData.webidl', |
|
324 'SVGAnimatedPoints.webidl', |
|
325 'SVGAnimatedPreserveAspectRatio.webidl', |
|
326 'SVGAnimatedRect.webidl', |
|
327 'SVGAnimatedString.webidl', |
|
328 'SVGAnimatedTransformList.webidl', |
|
329 'SVGAnimateElement.webidl', |
|
330 'SVGAnimateMotionElement.webidl', |
|
331 'SVGAnimateTransformElement.webidl', |
|
332 'SVGAnimationElement.webidl', |
|
333 'SVGCircleElement.webidl', |
|
334 'SVGClipPathElement.webidl', |
|
335 'SVGComponentTransferFunctionElement.webidl', |
|
336 'SVGDefsElement.webidl', |
|
337 'SVGDescElement.webidl', |
|
338 'SVGDocument.webidl', |
|
339 'SVGElement.webidl', |
|
340 'SVGEllipseElement.webidl', |
|
341 'SVGFEBlendElement.webidl', |
|
342 'SVGFEColorMatrixElement.webidl', |
|
343 'SVGFEComponentTransferElement.webidl', |
|
344 'SVGFECompositeElement.webidl', |
|
345 'SVGFEConvolveMatrixElement.webidl', |
|
346 'SVGFEDiffuseLightingElement.webidl', |
|
347 'SVGFEDisplacementMapElement.webidl', |
|
348 'SVGFEDistantLightElement.webidl', |
|
349 'SVGFEDropShadowElement.webidl', |
|
350 'SVGFEFloodElement.webidl', |
|
351 'SVGFEFuncAElement.webidl', |
|
352 'SVGFEFuncBElement.webidl', |
|
353 'SVGFEFuncGElement.webidl', |
|
354 'SVGFEFuncRElement.webidl', |
|
355 'SVGFEGaussianBlurElement.webidl', |
|
356 'SVGFEImageElement.webidl', |
|
357 'SVGFEMergeElement.webidl', |
|
358 'SVGFEMergeNodeElement.webidl', |
|
359 'SVGFEMorphologyElement.webidl', |
|
360 'SVGFEOffsetElement.webidl', |
|
361 'SVGFEPointLightElement.webidl', |
|
362 'SVGFESpecularLightingElement.webidl', |
|
363 'SVGFESpotLightElement.webidl', |
|
364 'SVGFETileElement.webidl', |
|
365 'SVGFETurbulenceElement.webidl', |
|
366 'SVGFilterElement.webidl', |
|
367 'SVGFilterPrimitiveStandardAttributes.webidl', |
|
368 'SVGFitToViewBox.webidl', |
|
369 'SVGForeignObjectElement.webidl', |
|
370 'SVGGElement.webidl', |
|
371 'SVGGradientElement.webidl', |
|
372 'SVGGraphicsElement.webidl', |
|
373 'SVGImageElement.webidl', |
|
374 'SVGLength.webidl', |
|
375 'SVGLengthList.webidl', |
|
376 'SVGLinearGradientElement.webidl', |
|
377 'SVGLineElement.webidl', |
|
378 'SVGMarkerElement.webidl', |
|
379 'SVGMaskElement.webidl', |
|
380 'SVGMatrix.webidl', |
|
381 'SVGMetadataElement.webidl', |
|
382 'SVGMPathElement.webidl', |
|
383 'SVGNumberList.webidl', |
|
384 'SVGPathElement.webidl', |
|
385 'SVGPathSeg.webidl', |
|
386 'SVGPathSegList.webidl', |
|
387 'SVGPatternElement.webidl', |
|
388 'SVGPoint.webidl', |
|
389 'SVGPointList.webidl', |
|
390 'SVGPolygonElement.webidl', |
|
391 'SVGPolylineElement.webidl', |
|
392 'SVGPreserveAspectRatio.webidl', |
|
393 'SVGRadialGradientElement.webidl', |
|
394 'SVGRect.webidl', |
|
395 'SVGRectElement.webidl', |
|
396 'SVGScriptElement.webidl', |
|
397 'SVGSetElement.webidl', |
|
398 'SVGStopElement.webidl', |
|
399 'SVGStringList.webidl', |
|
400 'SVGStyleElement.webidl', |
|
401 'SVGSVGElement.webidl', |
|
402 'SVGSwitchElement.webidl', |
|
403 'SVGSymbolElement.webidl', |
|
404 'SVGTests.webidl', |
|
405 'SVGTextContentElement.webidl', |
|
406 'SVGTextElement.webidl', |
|
407 'SVGTextPathElement.webidl', |
|
408 'SVGTextPositioningElement.webidl', |
|
409 'SVGTitleElement.webidl', |
|
410 'SVGTransform.webidl', |
|
411 'SVGTransformList.webidl', |
|
412 'SVGTSpanElement.webidl', |
|
413 'SVGUnitTypes.webidl', |
|
414 'SVGURIReference.webidl', |
|
415 'SVGUseElement.webidl', |
|
416 'SVGViewElement.webidl', |
|
417 'SVGZoomAndPan.webidl', |
|
418 'SVGZoomEvent.webidl', |
|
419 'Telephony.webidl', |
|
420 'TelephonyCall.webidl', |
|
421 'TelephonyCallGroup.webidl', |
|
422 'Text.webidl', |
|
423 'TextDecoder.webidl', |
|
424 'TextEncoder.webidl', |
|
425 'TextTrack.webidl', |
|
426 'TextTrackCueList.webidl', |
|
427 'TextTrackList.webidl', |
|
428 'TimeEvent.webidl', |
|
429 'TimeRanges.webidl', |
|
430 'Touch.webidl', |
|
431 'TouchEvent.webidl', |
|
432 'TouchList.webidl', |
|
433 'TransitionEvent.webidl', |
|
434 'TreeColumns.webidl', |
|
435 'TreeWalker.webidl', |
|
436 'UIEvent.webidl', |
|
437 'UndoManager.webidl', |
|
438 'URL.webidl', |
|
439 'URLSearchParams.webidl', |
|
440 'URLUtils.webidl', |
|
441 'URLUtilsReadOnly.webidl', |
|
442 'ValidityState.webidl', |
|
443 'VideoPlaybackQuality.webidl', |
|
444 'VideoStreamTrack.webidl', |
|
445 'VTTCue.webidl', |
|
446 'VTTRegion.webidl', |
|
447 'WaveShaperNode.webidl', |
|
448 'WebComponents.webidl', |
|
449 'WebSocket.webidl', |
|
450 'WheelEvent.webidl', |
|
451 'WifiOptions.webidl', |
|
452 'Worker.webidl', |
|
453 'WorkerGlobalScope.webidl', |
|
454 'WorkerLocation.webidl', |
|
455 'WorkerNavigator.webidl', |
|
456 'XMLDocument.webidl', |
|
457 'XMLHttpRequest.webidl', |
|
458 'XMLHttpRequestEventTarget.webidl', |
|
459 'XMLHttpRequestUpload.webidl', |
|
460 'XMLSerializer.webidl', |
|
461 'XMLStylesheetProcessingInstruction.webidl', |
|
462 'XPathEvaluator.webidl', |
|
463 'XULCommandEvent.webidl', |
|
464 'XULDocument.webidl', |
|
465 'XULElement.webidl', |
|
466 ] |
|
467 |
|
468 if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']: |
|
469 WEBIDL_FILES += [ |
|
470 'AudioChannelManager.webidl', |
|
471 ] |
|
472 |
|
473 if CONFIG['MOZ_WEBGL']: |
|
474 WEBIDL_FILES += [ |
|
475 'WebGL2RenderingContext.webidl', |
|
476 'WebGLRenderingContext.webidl', |
|
477 ] |
|
478 |
|
479 if CONFIG['MOZ_WEBRTC']: |
|
480 WEBIDL_FILES += [ |
|
481 'DataChannel.webidl', |
|
482 'MediaStreamList.webidl', |
|
483 'PeerConnectionImpl.webidl', |
|
484 'PeerConnectionImplEnums.webidl', |
|
485 'PeerConnectionObserver.webidl', |
|
486 'PeerConnectionObserverEnums.webidl', |
|
487 'WebrtcGlobalInformation.webidl', |
|
488 ] |
|
489 |
|
490 if CONFIG['MOZ_WEBSPEECH']: |
|
491 WEBIDL_FILES += [ |
|
492 'SpeechGrammar.webidl', |
|
493 'SpeechGrammarList.webidl', |
|
494 'SpeechRecognition.webidl', |
|
495 'SpeechRecognitionAlternative.webidl', |
|
496 'SpeechRecognitionResult.webidl', |
|
497 'SpeechRecognitionResultList.webidl', |
|
498 'SpeechSynthesis.webidl', |
|
499 'SpeechSynthesisEvent.webidl', |
|
500 'SpeechSynthesisUtterance.webidl', |
|
501 'SpeechSynthesisVoice.webidl', |
|
502 ] |
|
503 |
|
504 if CONFIG['MOZ_GAMEPAD']: |
|
505 WEBIDL_FILES += [ |
|
506 'Gamepad.webidl', |
|
507 ] |
|
508 |
|
509 WEBIDL_FILES += [ |
|
510 'CloseEvent.webidl', |
|
511 'CustomEvent.webidl', |
|
512 'DeviceOrientationEvent.webidl', |
|
513 'DeviceStorageChangeEvent.webidl', |
|
514 'DOMTransactionEvent.webidl', |
|
515 'ElementReplaceEvent.webidl', |
|
516 'HashChangeEvent.webidl', |
|
517 'MozApplicationEvent.webidl', |
|
518 'MozMmsEvent.webidl', |
|
519 'MozSettingsEvent.webidl', |
|
520 'MozSmsEvent.webidl', |
|
521 'PageTransitionEvent.webidl', |
|
522 'PopStateEvent.webidl', |
|
523 'PopupBlockedEvent.webidl', |
|
524 'ProgressEvent.webidl', |
|
525 'RecordErrorEvent.webidl', |
|
526 'SmartCardEvent.webidl', |
|
527 'StorageEvent.webidl', |
|
528 'StyleRuleChangeEvent.webidl', |
|
529 'StyleSheetApplicableStateChangeEvent.webidl', |
|
530 'StyleSheetChangeEvent.webidl', |
|
531 ] |
|
532 |
|
533 # We only expose our prefable test interfaces in debug builds, just to be on |
|
534 # the safe side. |
|
535 if CONFIG['MOZ_DEBUG']: |
|
536 WEBIDL_FILES += ['TestInterfaceJS.webidl'] |
|
537 |
|
538 if CONFIG['MOZ_B2G_BT']: |
|
539 WEBIDL_FILES += [ |
|
540 'BluetoothAdapter.webidl', |
|
541 'BluetoothDevice.webidl', |
|
542 'BluetoothManager.webidl', |
|
543 ] |
|
544 |
|
545 if CONFIG['MOZ_B2G_RIL']: |
|
546 WEBIDL_FILES += [ |
|
547 'IccCardLockError.webidl', |
|
548 'MozCellBroadcast.webidl', |
|
549 'MozCellBroadcastEvent.webidl', |
|
550 'MozIcc.webidl', |
|
551 'MozIccManager.webidl', |
|
552 'MozMobileConnectionArray.webidl', |
|
553 'MozVoicemail.webidl', |
|
554 'MozVoicemailEvent.webidl', |
|
555 ] |
|
556 |
|
557 if CONFIG['MOZ_NFC']: |
|
558 WEBIDL_FILES += [ |
|
559 'MozNDEFRecord.webidl', |
|
560 'MozNfc.webidl', |
|
561 'MozNFCPeer.webidl', |
|
562 'MozNFCTag.webidl', |
|
563 ] |
|
564 |
|
565 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': |
|
566 WEBIDL_FILES += [ |
|
567 'MozSpeakerManager.webidl', |
|
568 'MozWifiConnectionInfoEvent.webidl', |
|
569 'MozWifiManager.webidl', |
|
570 'MozWifiP2pManager.webidl', |
|
571 'MozWifiP2pStatusChangeEvent.webidl', |
|
572 'MozWifiStatusChangeEvent.webidl', |
|
573 ] |
|
574 else: |
|
575 WEBIDL_FILES += [ |
|
576 'InstallTrigger.webidl', |
|
577 ] |
|
578 |
|
579 if CONFIG['MOZ_WEBSPEECH']: |
|
580 WEBIDL_FILES += [ |
|
581 'SpeechRecognitionError.webidl', |
|
582 'SpeechRecognitionEvent.webidl', |
|
583 ] |
|
584 |
|
585 if CONFIG['MOZ_B2G_FM']: |
|
586 WEBIDL_FILES += [ |
|
587 'FMRadio.webidl', |
|
588 ] |
|
589 |
|
590 if not CONFIG['MOZ_DISABLE_CRYPTOLEGACY']: |
|
591 WEBIDL_FILES += [ |
|
592 'CRMFObject.webidl', |
|
593 ] |
|
594 |
|
595 GENERATED_EVENTS_WEBIDL_FILES = [ |
|
596 'BlobEvent.webidl', |
|
597 'CallGroupErrorEvent.webidl', |
|
598 'CFStateChangeEvent.webidl', |
|
599 'DataErrorEvent.webidl', |
|
600 'DataStoreChangeEvent.webidl', |
|
601 'DeviceLightEvent.webidl', |
|
602 'DeviceProximityEvent.webidl', |
|
603 'DownloadEvent.webidl', |
|
604 'ErrorEvent.webidl', |
|
605 'IccChangeEvent.webidl', |
|
606 'MediaStreamEvent.webidl', |
|
607 'MozContactChangeEvent.webidl', |
|
608 'MozEmergencyCbModeEvent.webidl', |
|
609 'MozInterAppMessageEvent.webidl', |
|
610 'MozOtaStatusEvent.webidl', |
|
611 'MozStkCommandEvent.webidl', |
|
612 'RTCDataChannelEvent.webidl', |
|
613 'RTCPeerConnectionIceEvent.webidl', |
|
614 'RTCPeerConnectionIdentityErrorEvent.webidl', |
|
615 'RTCPeerConnectionIdentityEvent.webidl', |
|
616 'TrackEvent.webidl', |
|
617 'UserProximityEvent.webidl', |
|
618 'USSDReceivedEvent.webidl', |
|
619 ] |
|
620 |
|
621 if CONFIG['MOZ_GAMEPAD']: |
|
622 GENERATED_EVENTS_WEBIDL_FILES += [ |
|
623 'GamepadAxisMoveEvent.webidl', |
|
624 'GamepadButtonEvent.webidl', |
|
625 'GamepadEvent.webidl', |
|
626 ] |
|
627 |
|
628 if CONFIG['MOZ_B2G_BT']: |
|
629 GENERATED_EVENTS_WEBIDL_FILES += [ |
|
630 'BluetoothDeviceEvent.webidl', |
|
631 'BluetoothStatusChangedEvent.webidl', |
|
632 ] |
|
633 |
|
634 if CONFIG['MOZ_BUILD_APP'] in ['browser', 'xulrunner']: |
|
635 WEBIDL_FILES += [ |
|
636 'BrowserFeedWriter.webidl', |
|
637 ] |
|
638 |
|
639 if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']: |
|
640 WEBIDL_FILES += [ |
|
641 'External.webidl', |
|
642 ] |