dom/webidl/moz.build
author Andrea Marchesini <amarchesini@mozilla.com>
Mon, 27 Feb 2017 17:50:46 +0100
changeset 345028 fe12200aa33ad5970712ba7cf4c546d12746c9f2
parent 344905 80a323cabf561a081da59bc2695973ec53c30336
child 345888 75e73a2476b8084b796f76eb9e9273475ad008ee
child 346001 41193207cd699f23f1e020bf3f2ec41ef5a1bd87
permissions -rw-r--r--
Bug 1342361 - Get rid of ArchiveReader API, r=smaug

# -*- 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/.

with Files("**"):
    BUG_COMPONENT = ("Core", "DOM")

with Files("APZTestData.webidl"):
    BUG_COMPONENT = ("Core", "Panning and Zooming")

with Files("AccessibleNode.webidl"):
    BUG_COMPONENT = ("Core", "Disability Access APIs")

with Files("Addon*"):
    BUG_COMPONENT = ("Toolkit", "Add-ons Manager")

with Files("AnalyserNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("Animat*"):
    BUG_COMPONENT = ("Core", "DOM: Animation")

with Files("*Audio*"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("Autocomplete*"):
    BUG_COMPONENT = ("Toolkit", "Autocomplete")

with Files("BaseKeyframeTypes.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Animation")

with Files("BatteryManager.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("BiquadFilterNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("BrowserElement*"):
    BUG_COMPONENT = ("Core", "DOM")

with Files("CSP*"):
    BUG_COMPONENT = ("Core", "DOM: Security")

with Files("CSS*"):
    BUG_COMPONENT = ("Core", "CSS Parsing and Computation")

with Files("Canvas*"):
    BUG_COMPONENT = ("Core", "Canvas: 2D")

with Files("Caret*"):
    BUG_COMPONENT = ("Core", "Editor")

with Files("Channel*"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("Client*"):
    BUG_COMPONENT = ("Core", "DOM: Service Workers")

with Files("ClipboardEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("ConstantSourceNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("ContainerBoxObject.webidl"):
    BUG_COMPONENT = ("Core", "DOM")

with Files("ConvolverNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("Coordinates.webidl"):
    BUG_COMPONENT = ("Core", "Geolocation")

with Files("Crypto.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Security")

with Files("Device*"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("Directory.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("DataTransfer*"):
    BUG_COMPONENT = ("Core", "Drag and Drop")

with Files("DragEvent.webidl"):
    BUG_COMPONENT = ("Core", "Drag and Drop")

with Files("DecoderDoctorNotification.webidl"):
    BUG_COMPONENT = ("Core", "Audio/Video: Playback")

with Files("DelayNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("DynamicsCompressorNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("DesktopNotification.webidl"):
    BUG_COMPONENT = ("Toolkit", "Notification and Alerts")

with Files("FakePluginTagInit.webidl"):
    BUG_COMPONENT = ("Core", "Plug-ins")

with Files("FlyWeb*"):
    BUG_COMPONENT = ("Core", "DOM: Flyweb")

with Files("FocusEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("Font*"):
    BUG_COMPONENT = ("Core", "CSS Parsing and Computation")

with Files("FormData.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Core & HTML")

with Files("Geolocation.webidl"):
    BUG_COMPONENT = ("Core", "Geolocation")

with Files("GainNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("Gamepad*"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("GeometryUtils.webidl"):
    BUG_COMPONENT = ("Core", "Layout")

with Files("GetUserMediaRequest.webidl"):
    BUG_COMPONENT = ("Core", "WebRTC")

with Files("Grid.webidl"):
    BUG_COMPONENT = ("Core", "CSS Parsing and Computation")

with Files("GroupedHistoryEvent.webidl"):
    BUG_COMPONENT = ("Core", "Document Navigation")

with Files("HTML*"):
    BUG_COMPONENT = ("Core", "DOM: Core & HTML")

with Files("HashChangeEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("HeapSnapshot.webidl"):
    BUG_COMPONENT = ("Firefox", "Developer Tools: Memory")

with Files("HiddenPluginEvent.webidl"):
    BUG_COMPONENT = ("Core", "Plug-ins")

with Files("IDB*"):
    BUG_COMPONENT = ("Core", "DOM: IndexedDB")

with Files("IIRFilterNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("Image*"):
    BUG_COMPONENT = ("Core", "DOM")

with Files("ImageCapture*"):
    BUG_COMPONENT = ("Core", "Audio/Video")

with Files("InputEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("InstallTrigger.webidl"):
    BUG_COMPONENT = ("Toolkit", "Add-ons Manager")

with Files("InspectorUtils.webidl"):
    BUG_COMPONENT = ("Firefox", "Developer Tools: Inspector")

with Files("KeyAlgorithm.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Security")

with Files("Key*Event*"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("KeyIdsInitData.webidl"):
    BUG_COMPONENT = ("Core", "Audio/Video: Playback")

with Files("Keyframe*"):
    BUG_COMPONENT = ("Core", "DOM: Animation")

with Files("LocalMediaStream.webidl"):
    BUG_COMPONENT = ("Core", "Audio/Video")

with Files("MediaDevice*"):
    BUG_COMPONENT = ("Core", "WebRTC")

with Files("Media*Source*"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("MediaStream*"):
    BUG_COMPONENT = ("Core", "WebRTC")

with Files("MediaStreamAudio*"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("MediaEncryptedEvent.webidl"):
    BUG_COMPONENT = ("Core", "Audio/Video")

with Files("MediaKey*"):
    BUG_COMPONENT = ("Core", "Audio/Video: Playback")

with Files("Media*List*"):
    BUG_COMPONENT = ("Core", "CSS Parsing and Computation")

with Files("MediaStreamList.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("*Record*"):
    BUG_COMPONENT = ("Core", "Audio/Video: Recording")

with Files("Media*Track*"):
    BUG_COMPONENT = ("Core", "WebRTC: Audio/Video")

with Files("Mouse*"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("MozSelfSupport.webidl"):
    BUG_COMPONENT = ("Firefox Health Report", "Client: Desktop")

with Files("MozTimeManager.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("MutationEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("NativeOSFileInternals.webidl"):
    BUG_COMPONENT = ("Toolkit", "OS.File")

with Files("Net*"):
    BUG_COMPONENT = ("Core", "Networking")

with Files("OfflineAudio*"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("OffscreenCanvas.webidl"):
    BUG_COMPONENT = ("Core", "Canvas 2D")

with Files("OscillatorNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("PannerNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("Peer*"):
    BUG_COMPONENT = ("Core", "WebRTC")

with Files("PeriodicWave.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("PointerEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("PopStateEvent.webidl*"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("Position*"):
    BUG_COMPONENT = ("Core", "Geolocation")

with Files("ProfileTimelineMarker.webidl"):
    BUG_COMPONENT = ("Firefox", "Developer Tools: Performance Tools (profiler/timeline)")

with Files("ProgressEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("Push*"):
    BUG_COMPONENT = ("Core", "DOM: Push Notifications")

with Files("RTC*"):
    BUG_COMPONENT = ("Core", "WebRTC")

with Files("SVG*"):
    BUG_COMPONENT = ("Core", "SVG")

with Files("ScriptProcessorNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

# TODO: SecureElement*, SettingChangeNotification
# are FirefoxOS::*, leaving as Core::DOM

with Files("Selection.webidl"):
    BUG_COMPONENT = ("Core", "Selection")

with Files("ServiceWorker*"):
    BUG_COMPONENT = ("Core", "DOM: Service Workers")

with Files("SimpleGestureEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("SocketCommon.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("SourceBuffer*"):
    BUG_COMPONENT = ("Core", "Audio/Video")

with Files("StereoPannerNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("Style*"):
    BUG_COMPONENT = ("Core", "DOM: CSS Object Model")

with Files("SubtleCrypto.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Security")

with Files("TCP*"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("TextTrack*"):
    BUG_COMPONENT = ("Core", "Audio/Video")

with Files("ThreadSafeChromeUtils.webidl"):
    BUG_COMPONENT = ("Firefox", "Developer Tools: Memory")

with Files("TrackEvent.webidl"):
    BUG_COMPONENT = ("Core", "Audio/Video")

with Files("U2F.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("UDP*"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("UIEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("URL.webidl"):
    BUG_COMPONENT = ("Core", "Audio/Video")

with Files("UserProximityEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("VTT*"):
    BUG_COMPONENT = ("Core", "Audio/Video")

with Files("VRDisplay.webidl"):
    BUG_COMPONENT = ("Core", "Graphics")

with Files("Video*"):
    BUG_COMPONENT = ("Core", "Audio/Video")

with Files("WaveShaperNode.webidl"):
    BUG_COMPONENT = ("Core", "Web Audio")

with Files("WebAuthentication.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

with Files("WebGL*"):
    BUG_COMPONENT = ("Core", "Canvas: WebGL")

with Files("WebKitCSSMatrix.webidl"):
    BUG_COMPONENT = ("Core", "DOM: CSS Object Model")

with Files("Webrtc*"):
    BUG_COMPONENT = ("Core", "WebRTC")

with Files("WheelEvent.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Events")

with Files("WidevineCDMManifest.webidl"):
    BUG_COMPONENT = ("Core", "Audio/Video: Playback")

with Files("WindowOrWorkerGlobalScope.webidl"):
    BUG_COMPONENT = ("Core", "DOM: Workers")

with Files("Worker*"):
    BUG_COMPONENT = ("Core", "DOM: Workers")

GENERATED_WEBIDL_FILES = [
    'CSS2Properties.webidl',
]

PREPROCESSED_WEBIDL_FILES = [
    'Navigator.webidl',
    'Node.webidl',
    'Window.webidl',
]

WEBIDL_FILES = [
    'AbstractWorker.webidl',
    'AddonManager.webidl',
    'AnalyserNode.webidl',
    'Animatable.webidl',
    'Animation.webidl',
    'AnimationEffectReadOnly.webidl',
    'AnimationEffectTiming.webidl',
    'AnimationEffectTimingReadOnly.webidl',
    'AnimationEvent.webidl',
    'AnimationTimeline.webidl',
    'AnonymousContent.webidl',
    'AppInfo.webidl',
    'AppNotificationServiceOptions.webidl',
    'APZTestData.webidl',
    'Attr.webidl',
    'AudioBuffer.webidl',
    'AudioBufferSourceNode.webidl',
    'AudioChannel.webidl',
    'AudioContext.webidl',
    'AudioDestinationNode.webidl',
    'AudioListener.webidl',
    'AudioNode.webidl',
    'AudioParam.webidl',
    'AudioProcessingEvent.webidl',
    'AudioScheduledSourceNode.webidl',
    'AudioStreamTrack.webidl',
    'AudioTrack.webidl',
    'AudioTrackList.webidl',
    'AudioWorkletGlobalScope.webidl',
    'AutocompleteInfo.webidl',
    'BarProp.webidl',
    'BaseAudioContext.webidl',
    'BaseKeyframeTypes.webidl',
    'BatteryManager.webidl',
    'BeforeUnloadEvent.webidl',
    'BiquadFilterNode.webidl',
    'Blob.webidl',
    'BoxObject.webidl',
    'BroadcastChannel.webidl',
    'BrowserElement.webidl',
    'BrowserElementAudioChannel.webidl',
    'BrowserElementDictionaries.webidl',
    'Cache.webidl',
    'CacheStorage.webidl',
    'CanvasCaptureMediaStream.webidl',
    'CanvasRenderingContext2D.webidl',
    'CaretPosition.webidl',
    'CDATASection.webidl',
    'ChannelMergerNode.webidl',
    'ChannelSplitterNode.webidl',
    'CharacterData.webidl',
    'CheckerboardReportService.webidl',
    'ChildNode.webidl',
    'ChromeNodeList.webidl',
    'ChromeUtils.webidl',
    'Client.webidl',
    'Clients.webidl',
    'ClipboardEvent.webidl',
    'CommandEvent.webidl',
    'Comment.webidl',
    'CompositionEvent.webidl',
    'Console.webidl',
    'ConstantSourceNode.webidl',
    'ContainerBoxObject.webidl',
    'ConvolverNode.webidl',
    'Coordinates.webidl',
    'CreateOfferRequest.webidl',
    'Crypto.webidl',
    'CSPDictionaries.webidl',
    'CSPReport.webidl',
    'CSS.webidl',
    'CSSAnimation.webidl',
    'CSSConditionRule.webidl',
    'CSSCounterStyleRule.webidl',
    'CSSFontFaceRule.webidl',
    'CSSFontFeatureValuesRule.webidl',
    'CSSGroupingRule.webidl',
    'CSSImportRule.webidl',
    'CSSKeyframeRule.webidl',
    'CSSKeyframesRule.webidl',
    'CSSLexer.webidl',
    'CSSMediaRule.webidl',
    'CSSMozDocumentRule.webidl',
    'CSSNamespaceRule.webidl',
    'CSSPageRule.webidl',
    'CSSPrimitiveValue.webidl',
    'CSSPseudoElement.webidl',
    'CSSRule.webidl',
    'CSSRuleList.webidl',
    'CSSStyleDeclaration.webidl',
    'CSSStyleRule.webidl',
    'CSSStyleSheet.webidl',
    'CSSSupportsRule.webidl',
    'CSSTransition.webidl',
    'CSSValue.webidl',
    'CSSValueList.webidl',
    'CustomElementRegistry.webidl',
    'DataContainerEvent.webidl',
    'DataTransfer.webidl',
    'DataTransferItem.webidl',
    'DataTransferItemList.webidl',
    'DecoderDoctorNotification.webidl',
    'DedicatedWorkerGlobalScope.webidl',
    'DelayNode.webidl',
    'DesktopNotification.webidl',
    'DeviceMotionEvent.webidl',
    'DeviceStorage.webidl',
    'DeviceStorageAreaListener.webidl',
    'Directory.webidl',
    'Document.webidl',
    'DocumentFragment.webidl',
    'DocumentTimeline.webidl',
    'DocumentType.webidl',
    'DOMCursor.webidl',
    'DOMError.webidl',
    'DOMException.webidl',
    'DOMImplementation.webidl',
    'DominatorTree.webidl',
    'DOMMatrix.webidl',
    'DOMParser.webidl',
    'DOMPoint.webidl',
    'DOMQuad.webidl',
    'DOMRect.webidl',
    'DOMRectList.webidl',
    'DOMRequest.webidl',
    'DOMStringList.webidl',
    'DOMStringMap.webidl',
    'DOMTokenList.webidl',
    'DragEvent.webidl',
    'DynamicsCompressorNode.webidl',
    'Element.webidl',
    'Event.webidl',
    'EventHandler.webidl',
    'EventListener.webidl',
    'EventSource.webidl',
    'EventTarget.webidl',
    'ExtendableEvent.webidl',
    'ExtendableMessageEvent.webidl',
    'FakePluginTagInit.webidl',
    'Fetch.webidl',
    'FetchEvent.webidl',
    'File.webidl',
    'FileList.webidl',
    'FileMode.webidl',
    'FileReader.webidl',
    'FileReaderSync.webidl',
    'FileSystem.webidl',
    'FileSystemDirectoryEntry.webidl',
    'FileSystemDirectoryReader.webidl',
    'FileSystemEntry.webidl',
    'FileSystemFileEntry.webidl',
    'FlyWebDiscoveryManager.webidl',
    'FlyWebFetchEvent.webidl',
    'FlyWebPublish.webidl',
    'FlyWebWebSocketEvent.webidl',
    'FocusEvent.webidl',
    'FontFace.webidl',
    'FontFaceSet.webidl',
    'FontFaceSource.webidl',
    'FormData.webidl',
    'Function.webidl',
    'GainNode.webidl',
    'Gamepad.webidl',
    'GamepadPose.webidl',
    'GamepadServiceTest.webidl',
    'Geolocation.webidl',
    'GeometryUtils.webidl',
    'GetUserMediaRequest.webidl',
    'Grid.webidl',
    'Headers.webidl',
    'HeapSnapshot.webidl',
    'History.webidl',
    'HTMLAllCollection.webidl',
    'HTMLAnchorElement.webidl',
    'HTMLAppletElement.webidl',
    'HTMLAreaElement.webidl',
    'HTMLAudioElement.webidl',
    'HTMLBaseElement.webidl',
    'HTMLBodyElement.webidl',
    'HTMLBRElement.webidl',
    'HTMLButtonElement.webidl',
    'HTMLCanvasElement.webidl',
    'HTMLCollection.webidl',
    'HTMLContentElement.webidl',
    'HTMLDataElement.webidl',
    'HTMLDataListElement.webidl',
    'HTMLDetailsElement.webidl',
    'HTMLDialogElement.webidl',
    'HTMLDirectoryElement.webidl',
    'HTMLDivElement.webidl',
    'HTMLDListElement.webidl',
    'HTMLDocument.webidl',
    'HTMLElement.webidl',
    'HTMLEmbedElement.webidl',
    'HTMLFieldSetElement.webidl',
    'HTMLFontElement.webidl',
    'HTMLFormControlsCollection.webidl',
    'HTMLFormElement.webidl',
    'HTMLFrameElement.webidl',
    'HTMLFrameSetElement.webidl',
    'HTMLHeadElement.webidl',
    'HTMLHeadingElement.webidl',
    'HTMLHRElement.webidl',
    'HTMLHtmlElement.webidl',
    'HTMLHyperlinkElementUtils.webidl',
    'HTMLIFrameElement.webidl',
    'HTMLImageElement.webidl',
    'HTMLInputElement.webidl',
    'HTMLLabelElement.webidl',
    'HTMLLegendElement.webidl',
    'HTMLLIElement.webidl',
    'HTMLLinkElement.webidl',
    'HTMLMapElement.webidl',
    'HTMLMediaElement.webidl',
    'HTMLMenuElement.webidl',
    'HTMLMenuItemElement.webidl',
    'HTMLMetaElement.webidl',
    'HTMLMeterElement.webidl',
    'HTMLModElement.webidl',
    'HTMLObjectElement.webidl',
    'HTMLOListElement.webidl',
    'HTMLOptGroupElement.webidl',
    'HTMLOptionElement.webidl',
    'HTMLOptionsCollection.webidl',
    'HTMLOutputElement.webidl',
    'HTMLParagraphElement.webidl',
    'HTMLParamElement.webidl',
    'HTMLPictureElement.webidl',
    'HTMLPreElement.webidl',
    'HTMLProgressElement.webidl',
    'HTMLQuoteElement.webidl',
    'HTMLScriptElement.webidl',
    'HTMLSelectElement.webidl',
    'HTMLShadowElement.webidl',
    'HTMLSourceElement.webidl',
    'HTMLSpanElement.webidl',
    'HTMLStyleElement.webidl',
    'HTMLTableCaptionElement.webidl',
    'HTMLTableCellElement.webidl',
    'HTMLTableColElement.webidl',
    'HTMLTableElement.webidl',
    'HTMLTableRowElement.webidl',
    'HTMLTableSectionElement.webidl',
    'HTMLTemplateElement.webidl',
    'HTMLTextAreaElement.webidl',
    'HTMLTimeElement.webidl',
    'HTMLTitleElement.webidl',
    'HTMLTrackElement.webidl',
    'HTMLUListElement.webidl',
    'HTMLVideoElement.webidl',
    'IDBCursor.webidl',
    'IDBDatabase.webidl',
    'IDBFactory.webidl',
    'IDBFileHandle.webidl',
    'IDBFileRequest.webidl',
    'IDBIndex.webidl',
    'IDBKeyRange.webidl',
    'IDBMutableFile.webidl',
    'IDBObjectStore.webidl',
    'IDBOpenDBRequest.webidl',
    'IDBRequest.webidl',
    'IDBTransaction.webidl',
    'IDBVersionChangeEvent.webidl',
    'IdleDeadline.webidl',
    'IIRFilterNode.webidl',
    'ImageBitmap.webidl',
    'ImageBitmapRenderingContext.webidl',
    'ImageCapture.webidl',
    'ImageData.webidl',
    'ImageDocument.webidl',
    'InputEvent.webidl',
    'InspectorUtils.webidl',
    'IntersectionObserver.webidl',
    'IterableIterator.webidl',
    'KeyAlgorithm.webidl',
    'KeyboardEvent.webidl',
    'KeyEvent.webidl',
    'KeyframeAnimationOptions.webidl',
    'KeyframeEffect.webidl',
    'KeyIdsInitData.webidl',
    'LegacyQueryInterface.webidl',
    'LinkStyle.webidl',
    'ListBoxObject.webidl',
    'LocalMediaStream.webidl',
    'Location.webidl',
    'MediaDeviceInfo.webidl',
    'MediaDevices.webidl',
    'MediaElementAudioSourceNode.webidl',
    'MediaEncryptedEvent.webidl',
    'MediaError.webidl',
    'MediaKeyError.webidl',
    'MediaKeyMessageEvent.webidl',
    'MediaKeys.webidl',
    'MediaKeySession.webidl',
    'MediaKeysRequestStatus.webidl',
    'MediaKeyStatusMap.webidl',
    'MediaKeySystemAccess.webidl',
    'MediaList.webidl',
    'MediaQueryList.webidl',
    'MediaRecorder.webidl',
    'MediaSource.webidl',
    'MediaStream.webidl',
    'MediaStreamAudioDestinationNode.webidl',
    'MediaStreamAudioSourceNode.webidl',
    'MediaStreamError.webidl',
    'MediaStreamTrack.webidl',
    'MediaTrackConstraintSet.webidl',
    'MediaTrackSettings.webidl',
    'MediaTrackSupportedConstraints.webidl',
    'MenuBoxObject.webidl',
    'MessageChannel.webidl',
    'MessageEvent.webidl',
    'MessagePort.webidl',
    'MimeType.webidl',
    'MimeTypeArray.webidl',
    'MouseEvent.webidl',
    'MouseScrollEvent.webidl',
    'MozPowerManager.webidl',
    'MozSelfSupport.webidl',
    'MozTimeManager.webidl',
    'MozWakeLock.webidl',
    'MutationEvent.webidl',
    'MutationObserver.webidl',
    'NamedNodeMap.webidl',
    'NativeOSFileInternals.webidl',
    'NetDashboard.webidl',
    'NetworkInformation.webidl',
    'NetworkOptions.webidl',
    'NodeFilter.webidl',
    'NodeIterator.webidl',
    'NodeList.webidl',
    'Notification.webidl',
    'NotificationEvent.webidl',
    'NotifyPaintEvent.webidl',
    'OfflineAudioContext.webidl',
    'OfflineResourceList.webidl',
    'OffscreenCanvas.webidl',
    'OscillatorNode.webidl',
    'PaintRequest.webidl',
    'PaintRequestList.webidl',
    'PaintWorkletGlobalScope.webidl',
    'PannerNode.webidl',
    'ParentNode.webidl',
    'Performance.webidl',
    'PerformanceEntry.webidl',
    'PerformanceMark.webidl',
    'PerformanceMeasure.webidl',
    'PerformanceNavigation.webidl',
    'PerformanceObserver.webidl',
    'PerformanceObserverEntryList.webidl',
    'PerformanceResourceTiming.webidl',
    'PerformanceTiming.webidl',
    'PeriodicWave.webidl',
    'Permissions.webidl',
    'PermissionStatus.webidl',
    'Plugin.webidl',
    'PluginArray.webidl',
    'PointerEvent.webidl',
    'PopupBoxObject.webidl',
    'Position.webidl',
    'PositionError.webidl',
    'Presentation.webidl',
    'PresentationAvailability.webidl',
    'PresentationConnection.webidl',
    'PresentationConnectionList.webidl',
    'PresentationDeviceInfoManager.webidl',
    'PresentationReceiver.webidl',
    'PresentationRequest.webidl',
    'ProcessingInstruction.webidl',
    'ProfileTimelineMarker.webidl',
    'Promise.webidl',
    'PromiseDebugging.webidl',
    'PushEvent.webidl',
    'PushManager.webidl',
    'PushManager.webidl',
    'PushMessageData.webidl',
    'PushSubscription.webidl',
    'PushSubscriptionOptions.webidl',
    'RadioNodeList.webidl',
    'Range.webidl',
    'Rect.webidl',
    'Request.webidl',
    'Response.webidl',
    'RGBColor.webidl',
    'RTCStatsReport.webidl',
    'Screen.webidl',
    'ScreenOrientation.webidl',
    'ScriptProcessorNode.webidl',
    'ScrollAreaEvent.webidl',
    'ScrollBoxObject.webidl',
    'Selection.webidl',
    'ServiceWorker.webidl',
    'ServiceWorkerContainer.webidl',
    'ServiceWorkerGlobalScope.webidl',
    'ServiceWorkerRegistration.webidl',
    'SettingChangeNotification.webidl',
    'ShadowRoot.webidl',
    'SharedWorker.webidl',
    'SharedWorkerGlobalScope.webidl',
    'SimpleGestureEvent.webidl',
    'SocketCommon.webidl',
    'SourceBuffer.webidl',
    'SourceBufferList.webidl',
    'StereoPannerNode.webidl',
    'Storage.webidl',
    'StorageEvent.webidl',
    'StorageManager.webidl',
    'StorageType.webidl',
    'StyleSheet.webidl',
    'StyleSheetList.webidl',
    'SubtleCrypto.webidl',
    'SVGAElement.webidl',
    'SVGAngle.webidl',
    'SVGAnimatedAngle.webidl',
    'SVGAnimatedBoolean.webidl',
    'SVGAnimatedEnumeration.webidl',
    'SVGAnimatedInteger.webidl',
    'SVGAnimatedLength.webidl',
    'SVGAnimatedLengthList.webidl',
    'SVGAnimatedNumber.webidl',
    'SVGAnimatedNumberList.webidl',
    'SVGAnimatedPathData.webidl',
    'SVGAnimatedPoints.webidl',
    'SVGAnimatedPreserveAspectRatio.webidl',
    'SVGAnimatedRect.webidl',
    'SVGAnimatedString.webidl',
    'SVGAnimatedTransformList.webidl',
    'SVGAnimateElement.webidl',
    'SVGAnimateMotionElement.webidl',
    'SVGAnimateTransformElement.webidl',
    'SVGAnimationElement.webidl',
    'SVGCircleElement.webidl',
    'SVGClipPathElement.webidl',
    'SVGComponentTransferFunctionElement.webidl',
    'SVGDefsElement.webidl',
    'SVGDescElement.webidl',
    'SVGElement.webidl',
    'SVGEllipseElement.webidl',
    'SVGFEBlendElement.webidl',
    'SVGFEColorMatrixElement.webidl',
    'SVGFEComponentTransferElement.webidl',
    'SVGFECompositeElement.webidl',
    'SVGFEConvolveMatrixElement.webidl',
    'SVGFEDiffuseLightingElement.webidl',
    'SVGFEDisplacementMapElement.webidl',
    'SVGFEDistantLightElement.webidl',
    'SVGFEDropShadowElement.webidl',
    'SVGFEFloodElement.webidl',
    'SVGFEFuncAElement.webidl',
    'SVGFEFuncBElement.webidl',
    'SVGFEFuncGElement.webidl',
    'SVGFEFuncRElement.webidl',
    'SVGFEGaussianBlurElement.webidl',
    'SVGFEImageElement.webidl',
    'SVGFEMergeElement.webidl',
    'SVGFEMergeNodeElement.webidl',
    'SVGFEMorphologyElement.webidl',
    'SVGFEOffsetElement.webidl',
    'SVGFEPointLightElement.webidl',
    'SVGFESpecularLightingElement.webidl',
    'SVGFESpotLightElement.webidl',
    'SVGFETileElement.webidl',
    'SVGFETurbulenceElement.webidl',
    'SVGFilterElement.webidl',
    'SVGFilterPrimitiveStandardAttributes.webidl',
    'SVGFitToViewBox.webidl',
    'SVGForeignObjectElement.webidl',
    'SVGGElement.webidl',
    'SVGGeometryElement.webidl',
    'SVGGradientElement.webidl',
    'SVGGraphicsElement.webidl',
    'SVGImageElement.webidl',
    'SVGLength.webidl',
    'SVGLengthList.webidl',
    'SVGLinearGradientElement.webidl',
    'SVGLineElement.webidl',
    'SVGMarkerElement.webidl',
    'SVGMaskElement.webidl',
    'SVGMatrix.webidl',
    'SVGMetadataElement.webidl',
    'SVGMPathElement.webidl',
    'SVGNumber.webidl',
    'SVGNumberList.webidl',
    'SVGPathElement.webidl',
    'SVGPathSeg.webidl',
    'SVGPathSegList.webidl',
    'SVGPatternElement.webidl',
    'SVGPoint.webidl',
    'SVGPointList.webidl',
    'SVGPolygonElement.webidl',
    'SVGPolylineElement.webidl',
    'SVGPreserveAspectRatio.webidl',
    'SVGRadialGradientElement.webidl',
    'SVGRect.webidl',
    'SVGRectElement.webidl',
    'SVGScriptElement.webidl',
    'SVGSetElement.webidl',
    'SVGStopElement.webidl',
    'SVGStringList.webidl',
    'SVGStyleElement.webidl',
    'SVGSVGElement.webidl',
    'SVGSwitchElement.webidl',
    'SVGSymbolElement.webidl',
    'SVGTests.webidl',
    'SVGTextContentElement.webidl',
    'SVGTextElement.webidl',
    'SVGTextPathElement.webidl',
    'SVGTextPositioningElement.webidl',
    'SVGTitleElement.webidl',
    'SVGTransform.webidl',
    'SVGTransformList.webidl',
    'SVGTSpanElement.webidl',
    'SVGUnitTypes.webidl',
    'SVGUnitTypeValues.webidl',
    'SVGURIReference.webidl',
    'SVGUseElement.webidl',
    'SVGViewElement.webidl',
    'SVGZoomAndPan.webidl',
    'SVGZoomAndPanValues.webidl',
    'SVGZoomEvent.webidl',
    'TCPServerSocket.webidl',
    'TCPServerSocketEvent.webidl',
    'TCPSocket.webidl',
    'TCPSocketErrorEvent.webidl',
    'TCPSocketEvent.webidl',
    'Text.webidl',
    'TextClause.webidl',
    'TextDecoder.webidl',
    'TextEncoder.webidl',
    'TextTrack.webidl',
    'TextTrackCue.webidl',
    'TextTrackCueList.webidl',
    'TextTrackList.webidl',
    'ThreadSafeChromeUtils.webidl',
    'TimeEvent.webidl',
    'TimeRanges.webidl',
    'Touch.webidl',
    'TouchEvent.webidl',
    'TouchList.webidl',
    'TransitionEvent.webidl',
    'TreeBoxObject.webidl',
    'TreeColumn.webidl',
    'TreeColumns.webidl',
    'TreeWalker.webidl',
    'U2F.webidl',
    'UDPMessageEvent.webidl',
    'UDPSocket.webidl',
    'UIEvent.webidl',
    'URL.webidl',
    'URLSearchParams.webidl',
    'ValidityState.webidl',
    'VideoPlaybackQuality.webidl',
    'VideoStreamTrack.webidl',
    'VideoTrack.webidl',
    'VideoTrackList.webidl',
    'VRDisplay.webidl',
    'VRDisplayEvent.webidl',
    'VTTCue.webidl',
    'VTTRegion.webidl',
    'WaveShaperNode.webidl',
    'WebAuthentication.webidl',
    'WebComponents.webidl',
    'WebGL2RenderingContext.webidl',
    'WebGLRenderingContext.webidl',
    'WebKitCSSMatrix.webidl',
    'WebSocket.webidl',
    'WheelEvent.webidl',
    'WidevineCDMManifest.webidl',
    'WindowOrWorkerGlobalScope.webidl',
    'WindowRoot.webidl',
    'Worker.webidl',
    'WorkerDebuggerGlobalScope.webidl',
    'WorkerGlobalScope.webidl',
    'WorkerLocation.webidl',
    'WorkerNavigator.webidl',
    'Worklet.webidl',
    'WorkletGlobalScope.webidl',
    'XMLDocument.webidl',
    'XMLHttpRequest.webidl',
    'XMLHttpRequestEventTarget.webidl',
    'XMLHttpRequestUpload.webidl',
    'XMLSerializer.webidl',
    'XMLStylesheetProcessingInstruction.webidl',
    'XPathEvaluator.webidl',
    'XPathExpression.webidl',
    'XPathNSResolver.webidl',
    'XPathResult.webidl',
    'XSLTProcessor.webidl',
    'XULCommandEvent.webidl',
    'XULDocument.webidl',
    'XULElement.webidl',
]

if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']:
    WEBIDL_FILES += [
        'AudioChannelManager.webidl',
    ]

if CONFIG['MOZ_WEBRTC']:
    WEBIDL_FILES += [
        'DataChannel.webidl',
        'MediaStreamList.webidl',
        'PeerConnectionImpl.webidl',
        'PeerConnectionImplEnums.webidl',
        'PeerConnectionObserver.webidl',
        'PeerConnectionObserverEnums.webidl',
        'RTCCertificate.webidl',
        'RTCConfiguration.webidl',
        'RTCDTMFSender.webidl',
        'RTCIceCandidate.webidl',
        'RTCIdentityAssertion.webidl',
        'RTCIdentityProvider.webidl',
        'RTCPeerConnection.webidl',
        'RTCPeerConnectionStatic.webidl',
        'RTCRtpReceiver.webidl',
        'RTCRtpSender.webidl',
        'RTCSessionDescription.webidl',
        'WebrtcDeprecated.webidl',
        'WebrtcGlobalInformation.webidl',
    ]

if CONFIG['MOZ_WEBSPEECH']:
    WEBIDL_FILES += [
        'SpeechGrammar.webidl',
        'SpeechGrammarList.webidl',
        'SpeechRecognition.webidl',
        'SpeechRecognitionAlternative.webidl',
        'SpeechRecognitionError.webidl',
        'SpeechRecognitionEvent.webidl',
        'SpeechRecognitionResult.webidl',
        'SpeechRecognitionResultList.webidl',
        'SpeechSynthesis.webidl',
        'SpeechSynthesisErrorEvent.webidl',
        'SpeechSynthesisEvent.webidl',
        'SpeechSynthesisUtterance.webidl',
        'SpeechSynthesisVoice.webidl',
    ]

WEBIDL_FILES += [
    'CloseEvent.webidl',
    'CustomEvent.webidl',
    'DeviceOrientationEvent.webidl',
    'DeviceStorageChangeEvent.webidl',
    'HashChangeEvent.webidl',
    'PageTransitionEvent.webidl',
    'PopStateEvent.webidl',
    'PopupBlockedEvent.webidl',
    'ProgressEvent.webidl',
    'RecordErrorEvent.webidl',
    'StyleRuleChangeEvent.webidl',
    'StyleSheetApplicableStateChangeEvent.webidl',
    'StyleSheetChangeEvent.webidl',
]

# We only expose our prefable test interfaces in debug builds, just to be on
# the safe side.
if CONFIG['MOZ_DEBUG']:
    WEBIDL_FILES += ['TestFunctions.webidl',
                     'TestInterfaceJS.webidl',
                     'TestInterfaceJSDictionaries.webidl',
                     'TestInterfaceJSMaplikeSetlikeIterable.webidl']

if CONFIG['MOZ_SECUREELEMENT']:
    WEBIDL_FILES += [
         'SecureElement.webidl',
         'SecureElementManager.webidl',
    ]

if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
    WEBIDL_FILES += [
        'InstallTrigger.webidl',
    ]

if CONFIG['FUZZING']:
    WEBIDL_FILES += [
        'FuzzingFunctions.webidl',
    ]

GENERATED_EVENTS_WEBIDL_FILES = [
    'AddonEvent.webidl',
    'AnimationPlaybackEvent.webidl',
    'AutocompleteErrorEvent.webidl',
    'BlobEvent.webidl',
    'CaretStateChangedEvent.webidl',
    'CloseEvent.webidl',
    'DeviceLightEvent.webidl',
    'DeviceOrientationEvent.webidl',
    'DeviceProximityEvent.webidl',
    'DeviceStorageAreaChangedEvent.webidl',
    'DeviceStorageChangeEvent.webidl',
    'ErrorEvent.webidl',
    'FontFaceSetLoadEvent.webidl',
    'GamepadAxisMoveEvent.webidl',
    'GamepadButtonEvent.webidl',
    'GamepadEvent.webidl',
    'GroupedHistoryEvent.webidl',
    'HashChangeEvent.webidl',
    'HiddenPluginEvent.webidl',
    'ImageCaptureErrorEvent.webidl',
    'MediaStreamEvent.webidl',
    'MediaStreamTrackEvent.webidl',
    'OfflineAudioCompletionEvent.webidl',
    'PageTransitionEvent.webidl',
    'PerformanceEntryEvent.webidl',
    'PluginCrashedEvent.webidl',
    'PopStateEvent.webidl',
    'PopupBlockedEvent.webidl',
    'PresentationConnectionAvailableEvent.webidl',
    'PresentationConnectionCloseEvent.webidl',
    'ProgressEvent.webidl',
    'RecordErrorEvent.webidl',
    'ScrollViewChangeEvent.webidl',
    'ServiceWorkerMessageEvent.webidl',
    'StyleRuleChangeEvent.webidl',
    'StyleSheetApplicableStateChangeEvent.webidl',
    'StyleSheetChangeEvent.webidl',
    'TCPServerSocketEvent.webidl',
    'TCPSocketErrorEvent.webidl',
    'TCPSocketEvent.webidl',
    'TrackEvent.webidl',
    'UDPMessageEvent.webidl',
    'UserProximityEvent.webidl',
    'WebGLContextEvent.webidl',
]

if CONFIG['MOZ_WEBRTC']:
    GENERATED_EVENTS_WEBIDL_FILES += [
        'RTCDataChannelEvent.webidl',
        'RTCDTMFToneChangeEvent.webidl',
        'RTCPeerConnectionIceEvent.webidl',
        'RTCTrackEvent.webidl',
    ]

if CONFIG['MOZ_WEBSPEECH']:
    GENERATED_EVENTS_WEBIDL_FILES += [
        'SpeechRecognitionEvent.webidl',
        'SpeechSynthesisErrorEvent.webidl',
        'SpeechSynthesisEvent.webidl',
    ]

if CONFIG['MOZ_BUILD_APP'] in ['browser', 'xulrunner'] or CONFIG['MOZ_SUITE']:
    WEBIDL_FILES += [
        'BrowserFeedWriter.webidl',
    ]

if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
    WEBIDL_FILES += [
        'External.webidl',
    ]

if CONFIG['MOZ_B2G']:
    WEBIDL_FILES += [
        'MozApplicationEvent.webidl'
    ]
    GENERATED_EVENTS_WEBIDL_FILES += [
        'MozApplicationEvent.webidl'
    ]

if CONFIG['ACCESSIBILITY']:
    WEBIDL_FILES += [
        'AccessibleNode.webidl',
    ]