e6488bf208c03b56dc20fe984c2b55058231863d
[WebKit-https.git] / Source / WebCore / DerivedSources.make
1 # Copyright (C) 2006-2008, 2012, 2014-2015 Apple Inc. All rights reserved.
2 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
3 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
8 #
9 # 1.  Redistributions of source code must retain the above copyright
10 #     notice, this list of conditions and the following disclaimer.
11 # 2.  Redistributions in binary form must reproduce the above copyright
12 #     notice, this list of conditions and the following disclaimer in the
13 #     documentation and/or other materials provided with the distribution.
14 # 3.  Neither the name of Apple Inc. ("Apple") nor the names of
15 #     its contributors may be used to endorse or promote products derived
16 #     from this software without specific prior written permission.
17 #
18 # THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
19 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 # DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 VPATH = \
30     $(WebCore) \
31     $(WebCore)/Modules/airplay \
32     $(WebCore)/Modules/applepay \
33     $(WebCore)/Modules/encryptedmedia \
34     $(WebCore)/Modules/encryptedmedia/legacy \
35     $(WebCore)/Modules/fetch \
36     $(WebCore)/Modules/gamepad \
37     $(WebCore)/Modules/geolocation \
38     $(WebCore)/Modules/indexeddb \
39     $(WebCore)/Modules/indieui \
40     $(WebCore)/Modules/mediacontrols \
41     $(WebCore)/Modules/mediasession \
42     $(WebCore)/Modules/mediasource \
43     $(WebCore)/Modules/mediastream \
44     $(WebCore)/Modules/notifications \
45     $(WebCore)/Modules/plugins \
46     $(WebCore)/Modules/quota \
47     $(WebCore)/Modules/speech \
48     $(WebCore)/Modules/streams \
49     $(WebCore)/Modules/webaudio \
50     $(WebCore)/Modules/webdatabase \
51     $(WebCore)/Modules/webdriver \
52     $(WebCore)/Modules/websockets \
53     $(WebCore)/animation \
54     $(WebCore)/bindings/js \
55     $(WebCore)/crypto \
56     $(WebCore)/crypto/parameters \
57     $(WebCore)/css \
58     $(WebCore)/dom \
59     $(WebCore)/editing \
60     $(WebCore)/fetch \
61     $(WebCore)/fileapi \
62     $(WebCore)/html \
63     $(WebCore)/html/canvas \
64     $(WebCore)/html/shadow \
65     $(WebCore)/html/track \
66     $(WebCore)/inspector \
67     $(WebCore)/loader/appcache \
68     $(WebCore)/page \
69     $(WebCore)/platform/network \
70     $(WebCore)/plugins \
71     $(WebCore)/storage \
72     $(WebCore)/xml \
73     $(WebCore)/workers \
74     $(WebCore)/svg \
75     $(WebCore)/testing \
76     $(WebCore)/websockets \
77 #
78
79 JS_BINDING_IDLS = \
80     $(WebCore)/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl \
81     $(WebCore)/Modules/applepay/ApplePayLineItem.idl \
82     $(WebCore)/Modules/applepay/ApplePayPayment.idl \
83     $(WebCore)/Modules/applepay/ApplePayPaymentAuthorizedEvent.idl \
84     $(WebCore)/Modules/applepay/ApplePayPaymentContact.idl \
85     $(WebCore)/Modules/applepay/ApplePayPaymentMethod.idl \
86     $(WebCore)/Modules/applepay/ApplePayPaymentMethodSelectedEvent.idl \
87     $(WebCore)/Modules/applepay/ApplePayPaymentPass.idl \
88     $(WebCore)/Modules/applepay/ApplePayPaymentRequest.idl \
89     $(WebCore)/Modules/applepay/ApplePaySession.idl \
90     $(WebCore)/Modules/applepay/ApplePayShippingContactSelectedEvent.idl \
91     $(WebCore)/Modules/applepay/ApplePayShippingMethod.idl \
92     $(WebCore)/Modules/applepay/ApplePayShippingMethodSelectedEvent.idl \
93     $(WebCore)/Modules/applepay/ApplePayValidateMerchantEvent.idl \
94     $(WebCore)/Modules/encryptedmedia/MediaKeyMessageEvent.idl \
95     $(WebCore)/Modules/encryptedmedia/MediaKeySession.idl \
96     $(WebCore)/Modules/encryptedmedia/MediaKeySessionType.idl \
97     $(WebCore)/Modules/encryptedmedia/MediaKeyStatusMap.idl \
98     $(WebCore)/Modules/encryptedmedia/MediaKeySystemAccess.idl \
99     $(WebCore)/Modules/encryptedmedia/MediaKeySystemConfiguration.idl \
100     $(WebCore)/Modules/encryptedmedia/MediaKeySystemMediaCapability.idl \
101     $(WebCore)/Modules/encryptedmedia/MediaKeys.idl \
102     $(WebCore)/Modules/encryptedmedia/MediaKeysRequirement.idl \
103     $(WebCore)/Modules/encryptedmedia/NavigatorEME.idl \
104     $(WebCore)/Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.idl \
105     $(WebCore)/Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.idl \
106     $(WebCore)/Modules/encryptedmedia/legacy/WebKitMediaKeySession.idl \
107     $(WebCore)/Modules/encryptedmedia/legacy/WebKitMediaKeys.idl \
108     $(WebCore)/Modules/fetch/DOMWindowFetch.idl \
109     $(WebCore)/Modules/fetch/FetchBody.idl \
110     $(WebCore)/Modules/fetch/FetchHeaders.idl \
111     $(WebCore)/Modules/fetch/FetchRequest.idl \
112     $(WebCore)/Modules/fetch/FetchResponse.idl \
113     $(WebCore)/Modules/fetch/WorkerGlobalScopeFetch.idl \
114     $(WebCore)/Modules/gamepad/Gamepad.idl \
115     $(WebCore)/Modules/gamepad/GamepadButton.idl \
116     $(WebCore)/Modules/gamepad/GamepadEvent.idl \
117     $(WebCore)/Modules/gamepad/NavigatorGamepad.idl \
118     $(WebCore)/Modules/geolocation/Coordinates.idl \
119     $(WebCore)/Modules/geolocation/Geolocation.idl \
120     $(WebCore)/Modules/geolocation/Geoposition.idl \
121     $(WebCore)/Modules/geolocation/NavigatorGeolocation.idl \
122     $(WebCore)/Modules/geolocation/PositionCallback.idl \
123     $(WebCore)/Modules/geolocation/PositionError.idl \
124     $(WebCore)/Modules/geolocation/PositionErrorCallback.idl \
125     $(WebCore)/Modules/geolocation/PositionOptions.idl \
126     $(WebCore)/Modules/indexeddb/DOMWindowIndexedDatabase.idl \
127     $(WebCore)/Modules/indexeddb/IDBCursor.idl \
128     $(WebCore)/Modules/indexeddb/IDBCursorDirection.idl \
129     $(WebCore)/Modules/indexeddb/IDBCursorWithValue.idl \
130     $(WebCore)/Modules/indexeddb/IDBDatabase.idl \
131     $(WebCore)/Modules/indexeddb/IDBFactory.idl \
132     $(WebCore)/Modules/indexeddb/IDBIndex.idl \
133     $(WebCore)/Modules/indexeddb/IDBKeyRange.idl \
134     $(WebCore)/Modules/indexeddb/IDBObjectStore.idl \
135     $(WebCore)/Modules/indexeddb/IDBOpenDBRequest.idl \
136     $(WebCore)/Modules/indexeddb/IDBRequest.idl \
137     $(WebCore)/Modules/indexeddb/IDBTransaction.idl \
138     $(WebCore)/Modules/indexeddb/IDBTransactionMode.idl \
139     $(WebCore)/Modules/indexeddb/IDBVersionChangeEvent.idl \
140     $(WebCore)/Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl \
141     $(WebCore)/Modules/mediacontrols/MediaControlsHost.idl \
142     $(WebCore)/Modules/mediasession/HTMLMediaElementMediaSession.idl \
143     $(WebCore)/Modules/mediasession/MediaRemoteControls.idl \
144     $(WebCore)/Modules/mediasession/MediaSession.idl \
145     $(WebCore)/Modules/mediasource/AudioTrackMediaSource.idl \
146     $(WebCore)/Modules/mediasource/DOMURLMediaSource.idl \
147     $(WebCore)/Modules/mediasource/MediaSource.idl \
148     $(WebCore)/Modules/mediasource/SourceBuffer.idl \
149     $(WebCore)/Modules/mediasource/SourceBufferList.idl \
150     $(WebCore)/Modules/mediasource/TextTrackMediaSource.idl \
151     $(WebCore)/Modules/mediasource/VideoPlaybackQuality.idl \
152     $(WebCore)/Modules/mediasource/VideoTrackMediaSource.idl \
153     $(WebCore)/Modules/mediastream/DOMURLMediaStream.idl \
154     $(WebCore)/Modules/mediastream/DoubleRange.idl \
155     $(WebCore)/Modules/mediastream/HTMLMediaElementMediaStream.idl \
156     $(WebCore)/Modules/mediastream/LongRange.idl \
157     $(WebCore)/Modules/mediastream/MediaDeviceInfo.idl \
158     $(WebCore)/Modules/mediastream/MediaDevices.idl \
159     $(WebCore)/Modules/mediastream/MediaStream.idl \
160     $(WebCore)/Modules/mediastream/MediaStreamEvent.idl \
161     $(WebCore)/Modules/mediastream/MediaStreamTrack.idl \
162     $(WebCore)/Modules/mediastream/MediaStreamTrackEvent.idl \
163     $(WebCore)/Modules/mediastream/MediaTrackConstraints.idl \
164     $(WebCore)/Modules/mediastream/MediaTrackSupportedConstraints.idl \
165     $(WebCore)/Modules/mediastream/NavigatorMediaDevices.idl \
166     $(WebCore)/Modules/mediastream/NavigatorUserMedia.idl \
167     $(WebCore)/Modules/mediastream/OverconstrainedError.idl \
168     $(WebCore)/Modules/mediastream/OverconstrainedErrorEvent.idl \
169     $(WebCore)/Modules/mediastream/RTCConfiguration.idl \
170     $(WebCore)/Modules/mediastream/RTCDTMFSender.idl \
171     $(WebCore)/Modules/mediastream/RTCDTMFToneChangeEvent.idl \
172     $(WebCore)/Modules/mediastream/RTCDataChannel.idl \
173     $(WebCore)/Modules/mediastream/RTCDataChannelEvent.idl \
174     $(WebCore)/Modules/mediastream/RTCIceCandidate.idl \
175     $(WebCore)/Modules/mediastream/RTCIceCandidateEvent.idl \
176     $(WebCore)/Modules/mediastream/RTCIceServer.idl \
177     $(WebCore)/Modules/mediastream/RTCPeerConnection.idl \
178     $(WebCore)/Modules/mediastream/RTCRtpReceiver.idl \
179     $(WebCore)/Modules/mediastream/RTCRtpSender.idl \
180     $(WebCore)/Modules/mediastream/RTCRtpTransceiver.idl \
181     $(WebCore)/Modules/mediastream/RTCSessionDescription.idl \
182     $(WebCore)/Modules/mediastream/RTCStatsReport.idl \
183     $(WebCore)/Modules/mediastream/RTCStatsResponse.idl \
184     $(WebCore)/Modules/mediastream/RTCTrackEvent.idl \
185     $(WebCore)/Modules/notifications/DOMWindowNotifications.idl \
186     $(WebCore)/Modules/notifications/Notification.idl \
187     $(WebCore)/Modules/notifications/NotificationCenter.idl \
188     $(WebCore)/Modules/notifications/NotificationPermissionCallback.idl \
189     $(WebCore)/Modules/notifications/WorkerGlobalScopeNotifications.idl \
190     $(WebCore)/Modules/plugins/QuickTimePluginReplacement.idl \
191     $(WebCore)/Modules/quota/DOMWindowQuota.idl \
192     $(WebCore)/Modules/quota/NavigatorStorageQuota.idl \
193     $(WebCore)/Modules/quota/StorageErrorCallback.idl \
194     $(WebCore)/Modules/quota/StorageInfo.idl \
195     $(WebCore)/Modules/quota/StorageQuota.idl \
196     $(WebCore)/Modules/quota/StorageQuotaCallback.idl \
197     $(WebCore)/Modules/quota/StorageUsageCallback.idl \
198     $(WebCore)/Modules/quota/WorkerNavigatorStorageQuota.idl \
199     $(WebCore)/Modules/speech/DOMWindowSpeechSynthesis.idl \
200     $(WebCore)/Modules/speech/SpeechSynthesis.idl \
201     $(WebCore)/Modules/speech/SpeechSynthesisEvent.idl \
202     $(WebCore)/Modules/speech/SpeechSynthesisUtterance.idl \
203     $(WebCore)/Modules/speech/SpeechSynthesisVoice.idl \
204     $(WebCore)/Modules/streams/ByteLengthQueuingStrategy.idl \
205     $(WebCore)/Modules/streams/CountQueuingStrategy.idl \
206     $(WebCore)/Modules/streams/ReadableByteStreamController.idl \
207     $(WebCore)/Modules/streams/ReadableStream.idl \
208     $(WebCore)/Modules/streams/ReadableStreamDefaultController.idl \
209     $(WebCore)/Modules/streams/ReadableStreamDefaultReader.idl \
210     $(WebCore)/Modules/streams/ReadableStreamSource.idl \
211     $(WebCore)/Modules/streams/WritableStream.idl \
212     $(WebCore)/Modules/webaudio/AnalyserNode.idl \
213     $(WebCore)/Modules/webaudio/AudioBuffer.idl \
214     $(WebCore)/Modules/webaudio/AudioBufferCallback.idl \
215     $(WebCore)/Modules/webaudio/AudioBufferSourceNode.idl \
216     $(WebCore)/Modules/webaudio/AudioContext.idl \
217     $(WebCore)/Modules/webaudio/AudioDestinationNode.idl \
218     $(WebCore)/Modules/webaudio/AudioListener.idl \
219     $(WebCore)/Modules/webaudio/AudioNode.idl \
220     $(WebCore)/Modules/webaudio/AudioParam.idl \
221     $(WebCore)/Modules/webaudio/AudioProcessingEvent.idl \
222     $(WebCore)/Modules/webaudio/BiquadFilterNode.idl \
223     $(WebCore)/Modules/webaudio/ChannelMergerNode.idl \
224     $(WebCore)/Modules/webaudio/ChannelSplitterNode.idl \
225     $(WebCore)/Modules/webaudio/ConvolverNode.idl \
226     $(WebCore)/Modules/webaudio/DelayNode.idl \
227     $(WebCore)/Modules/webaudio/DynamicsCompressorNode.idl \
228     $(WebCore)/Modules/webaudio/GainNode.idl \
229     $(WebCore)/Modules/webaudio/MediaElementAudioSourceNode.idl \
230     $(WebCore)/Modules/webaudio/MediaStreamAudioDestinationNode.idl \
231     $(WebCore)/Modules/webaudio/MediaStreamAudioSourceNode.idl \
232     $(WebCore)/Modules/webaudio/OfflineAudioCompletionEvent.idl \
233     $(WebCore)/Modules/webaudio/OfflineAudioContext.idl \
234     $(WebCore)/Modules/webaudio/OscillatorNode.idl \
235     $(WebCore)/Modules/webaudio/PannerNode.idl \
236     $(WebCore)/Modules/webaudio/PeriodicWave.idl \
237     $(WebCore)/Modules/webaudio/ScriptProcessorNode.idl \
238     $(WebCore)/Modules/webaudio/WaveShaperNode.idl \
239     $(WebCore)/Modules/webdatabase/DOMWindowWebDatabase.idl \
240     $(WebCore)/Modules/webdatabase/Database.idl \
241     $(WebCore)/Modules/webdatabase/DatabaseCallback.idl \
242     $(WebCore)/Modules/webdatabase/SQLError.idl \
243     $(WebCore)/Modules/webdatabase/SQLException.idl \
244     $(WebCore)/Modules/webdatabase/SQLResultSet.idl \
245     $(WebCore)/Modules/webdatabase/SQLResultSetRowList.idl \
246     $(WebCore)/Modules/webdatabase/SQLStatementCallback.idl \
247     $(WebCore)/Modules/webdatabase/SQLStatementErrorCallback.idl \
248     $(WebCore)/Modules/webdatabase/SQLTransaction.idl \
249     $(WebCore)/Modules/webdatabase/SQLTransactionCallback.idl \
250     $(WebCore)/Modules/webdatabase/SQLTransactionErrorCallback.idl \
251     $(WebCore)/Modules/webdriver/NavigatorWebDriver.idl \
252     $(WebCore)/Modules/websockets/CloseEvent.idl \
253     $(WebCore)/Modules/websockets/WebSocket.idl \
254     $(WebCore)/animation/Animatable.idl \
255     $(WebCore)/animation/AnimationEffect.idl \
256     $(WebCore)/animation/AnimationTimeline.idl \
257     $(WebCore)/animation/DocumentAnimation.idl \
258     $(WebCore)/animation/DocumentTimeline.idl \
259     $(WebCore)/animation/KeyframeEffect.idl \
260     $(WebCore)/animation/WebAnimation.idl \
261     $(WebCore)/crypto/CryptoAlgorithmParameters.idl \
262     $(WebCore)/crypto/CryptoKey.idl \
263     $(WebCore)/crypto/CryptoKeyPair.idl \
264     $(WebCore)/crypto/CryptoKeyUsage.idl \
265     $(WebCore)/crypto/JsonWebKey.idl \
266     $(WebCore)/crypto/RsaOtherPrimesInfo.idl \
267     $(WebCore)/crypto/SubtleCrypto.idl \
268     $(WebCore)/crypto/WebKitSubtleCrypto.idl \
269     $(WebCore)/crypto/parameters/AesCbcParams.idl \
270     $(WebCore)/crypto/parameters/AesKeyGenParams.idl \
271     $(WebCore)/crypto/parameters/HmacKeyParams.idl \
272     $(WebCore)/crypto/parameters/RsaHashedImportParams.idl \
273     $(WebCore)/crypto/parameters/RsaHashedKeyGenParams.idl \
274     $(WebCore)/crypto/parameters/RsaKeyGenParams.idl \
275     $(WebCore)/crypto/parameters/RsaOaepParams.idl \
276     $(WebCore)/css/CSSFontFaceLoadEvent.idl \
277     $(WebCore)/css/CSSFontFaceRule.idl \
278     $(WebCore)/css/CSSImportRule.idl \
279     $(WebCore)/css/CSSKeyframeRule.idl \
280     $(WebCore)/css/CSSKeyframesRule.idl \
281     $(WebCore)/css/CSSMediaRule.idl \
282     $(WebCore)/css/CSSNamespaceRule.idl \
283     $(WebCore)/css/CSSPageRule.idl \
284     $(WebCore)/css/CSSRule.idl \
285     $(WebCore)/css/CSSRuleList.idl \
286     $(WebCore)/css/CSSStyleDeclaration.idl \
287     $(WebCore)/css/CSSStyleRule.idl \
288     $(WebCore)/css/CSSStyleSheet.idl \
289     $(WebCore)/css/CSSSupportsRule.idl \
290     $(WebCore)/css/CSSUnknownRule.idl \
291     $(WebCore)/css/DeprecatedCSSOMCounter.idl \
292         $(WebCore)/css/DeprecatedCSSOMPrimitiveValue.idl \
293         $(WebCore)/css/DeprecatedCSSOMRGBColor.idl \
294         $(WebCore)/css/DeprecatedCSSOMRect.idl \
295         $(WebCore)/css/DeprecatedCSSOMValue.idl \
296     $(WebCore)/css/DeprecatedCSSOMValueList.idl \
297     $(WebCore)/css/DOMCSSNamespace.idl \
298     $(WebCore)/css/FontFace.idl \
299     $(WebCore)/css/FontFaceSet.idl \
300     $(WebCore)/css/MediaList.idl \
301     $(WebCore)/css/MediaQueryList.idl \
302     $(WebCore)/css/MediaQueryListListener.idl \
303     $(WebCore)/css/StyleMedia.idl \
304     $(WebCore)/css/StyleSheet.idl \
305     $(WebCore)/css/StyleSheetList.idl \
306     $(WebCore)/css/WebKitCSSMatrix.idl \
307     $(WebCore)/css/WebKitCSSRegionRule.idl \
308     $(WebCore)/css/WebKitCSSViewportRule.idl \
309     $(WebCore)/dom/AnimationEvent.idl \
310     $(WebCore)/dom/Attr.idl \
311     $(WebCore)/dom/AutocompleteErrorEvent.idl \
312     $(WebCore)/dom/BeforeLoadEvent.idl \
313     $(WebCore)/dom/BeforeUnloadEvent.idl \
314     $(WebCore)/dom/CDATASection.idl \
315     $(WebCore)/dom/CharacterData.idl \
316     $(WebCore)/dom/ChildNode.idl \
317     $(WebCore)/dom/ClientRect.idl \
318     $(WebCore)/dom/ClientRectList.idl \
319     $(WebCore)/dom/ClipboardEvent.idl \
320     $(WebCore)/dom/Comment.idl \
321     $(WebCore)/dom/CompositionEvent.idl \
322     $(WebCore)/dom/CustomElementRegistry.idl \
323     $(WebCore)/dom/CustomEvent.idl \
324     $(WebCore)/dom/DOMCoreException.idl \
325     $(WebCore)/dom/DOMError.idl \
326     $(WebCore)/dom/DOMImplementation.idl \
327     $(WebCore)/dom/DOMNamedFlowCollection.idl \
328     $(WebCore)/dom/DOMPoint.idl \
329     $(WebCore)/dom/DOMPointInit.idl \
330     $(WebCore)/dom/DOMPointReadOnly.idl \
331     $(WebCore)/dom/DOMRect.idl \
332     $(WebCore)/dom/DOMRectInit.idl \
333     $(WebCore)/dom/DOMRectReadOnly.idl \
334     $(WebCore)/dom/DOMStringList.idl \
335     $(WebCore)/dom/DOMStringMap.idl \
336     $(WebCore)/dom/DataTransfer.idl \
337     $(WebCore)/dom/DataTransferItem.idl \
338     $(WebCore)/dom/DataTransferItemList.idl \
339     $(WebCore)/dom/DeviceMotionEvent.idl \
340     $(WebCore)/dom/DeviceOrientationEvent.idl \
341     $(WebCore)/dom/Document.idl \
342     $(WebCore)/dom/DocumentFragment.idl \
343     $(WebCore)/dom/DocumentOrShadowRoot.idl \
344     $(WebCore)/dom/DocumentType.idl \
345     $(WebCore)/dom/Element.idl \
346     $(WebCore)/dom/ErrorEvent.idl \
347     $(WebCore)/dom/Event.idl \
348     $(WebCore)/dom/EventInit.idl \
349     $(WebCore)/dom/EventListener.idl \
350     $(WebCore)/dom/EventModifierInit.idl \
351     $(WebCore)/dom/EventTarget.idl \
352     $(WebCore)/dom/FocusEvent.idl \
353     $(WebCore)/dom/GlobalEventHandlers.idl \
354     $(WebCore)/dom/HashChangeEvent.idl \
355     $(WebCore)/dom/InputEvent.idl \
356     $(WebCore)/dom/KeyboardEvent.idl \
357     $(WebCore)/dom/MessageChannel.idl \
358     $(WebCore)/dom/MessageEvent.idl \
359     $(WebCore)/dom/MessagePort.idl \
360     $(WebCore)/dom/MouseEvent.idl \
361     $(WebCore)/dom/MouseEventInit.idl \
362     $(WebCore)/dom/MutationEvent.idl \
363     $(WebCore)/dom/MutationObserver.idl \
364     $(WebCore)/dom/MutationRecord.idl \
365     $(WebCore)/dom/NamedNodeMap.idl \
366     $(WebCore)/dom/Node.idl \
367     $(WebCore)/dom/NodeFilter.idl \
368     $(WebCore)/dom/NodeIterator.idl \
369     $(WebCore)/dom/NodeList.idl \
370     $(WebCore)/dom/NonDocumentTypeChildNode.idl \
371     $(WebCore)/dom/NonElementParentNode.idl \
372     $(WebCore)/dom/OverflowEvent.idl \
373     $(WebCore)/dom/PageTransitionEvent.idl \
374     $(WebCore)/dom/ParentNode.idl \
375     $(WebCore)/dom/PopStateEvent.idl \
376     $(WebCore)/dom/ProcessingInstruction.idl \
377     $(WebCore)/dom/ProgressEvent.idl \
378     $(WebCore)/dom/ProgressEvent.idl \
379     $(WebCore)/dom/Range.idl \
380     $(WebCore)/dom/RequestAnimationFrameCallback.idl \
381     $(WebCore)/dom/SecurityPolicyViolationEvent.idl \
382     $(WebCore)/dom/ShadowRoot.idl \
383     $(WebCore)/dom/ShadowRootMode.idl \
384     $(WebCore)/dom/Slotable.idl \
385     $(WebCore)/dom/StaticRange.idl \
386     $(WebCore)/dom/StringCallback.idl \
387     $(WebCore)/dom/Text.idl \
388     $(WebCore)/dom/TextDecoder.idl \
389     $(WebCore)/dom/TextEncoder.idl \
390     $(WebCore)/dom/TextEvent.idl \
391     $(WebCore)/dom/TransitionEvent.idl \
392     $(WebCore)/dom/TreeWalker.idl \
393     $(WebCore)/dom/UIEvent.idl \
394     $(WebCore)/dom/UIEventInit.idl \
395     $(WebCore)/dom/WebKitAnimationEvent.idl \
396     $(WebCore)/dom/WebKitNamedFlow.idl \
397     $(WebCore)/dom/WebKitTransitionEvent.idl \
398     $(WebCore)/dom/WheelEvent.idl \
399     $(WebCore)/dom/XMLDocument.idl \
400     $(WebCore)/fileapi/Blob.idl \
401     $(WebCore)/fileapi/BlobLineEndings.idl \
402     $(WebCore)/fileapi/BlobPropertyBag.idl \
403     $(WebCore)/fileapi/File.idl \
404     $(WebCore)/fileapi/FileError.idl \
405     $(WebCore)/fileapi/FileException.idl \
406     $(WebCore)/fileapi/FileList.idl \
407     $(WebCore)/fileapi/FileReader.idl \
408     $(WebCore)/fileapi/FileReaderSync.idl \
409     $(WebCore)/html/DOMFormData.idl \
410     $(WebCore)/html/DOMTokenList.idl \
411     $(WebCore)/html/DOMURL.idl \
412     $(WebCore)/html/HTMLAllCollection.idl \
413     $(WebCore)/html/HTMLAnchorElement.idl \
414     $(WebCore)/html/HTMLAppletElement.idl \
415     $(WebCore)/html/HTMLAreaElement.idl \
416     $(WebCore)/html/HTMLAttachmentElement.idl \
417     $(WebCore)/html/HTMLAudioElement.idl \
418     $(WebCore)/html/HTMLBRElement.idl \
419     $(WebCore)/html/HTMLBaseElement.idl \
420     $(WebCore)/html/HTMLBodyElement.idl \
421     $(WebCore)/html/HTMLButtonElement.idl \
422     $(WebCore)/html/HTMLCanvasElement.idl \
423     $(WebCore)/html/HTMLCollection.idl \
424     $(WebCore)/html/HTMLDListElement.idl \
425     $(WebCore)/html/HTMLDataElement.idl \
426     $(WebCore)/html/HTMLDataListElement.idl \
427     $(WebCore)/html/HTMLDetailsElement.idl \
428     $(WebCore)/html/HTMLDirectoryElement.idl \
429     $(WebCore)/html/HTMLDivElement.idl \
430     $(WebCore)/html/HTMLDocument.idl \
431     $(WebCore)/html/HTMLElement.idl \
432     $(WebCore)/html/HTMLEmbedElement.idl \
433     $(WebCore)/html/HTMLFieldSetElement.idl \
434     $(WebCore)/html/HTMLFontElement.idl \
435     $(WebCore)/html/HTMLFormControlsCollection.idl \
436     $(WebCore)/html/HTMLFormElement.idl \
437     $(WebCore)/html/HTMLFrameElement.idl \
438     $(WebCore)/html/HTMLFrameSetElement.idl \
439     $(WebCore)/html/HTMLHRElement.idl \
440     $(WebCore)/html/HTMLHeadElement.idl \
441     $(WebCore)/html/HTMLHeadingElement.idl \
442     $(WebCore)/html/HTMLHtmlElement.idl \
443     $(WebCore)/html/HTMLHyperlinkElementUtils.idl \
444     $(WebCore)/html/HTMLIFrameElement.idl \
445     $(WebCore)/html/HTMLImageElement.idl \
446     $(WebCore)/html/HTMLInputElement.idl \
447     $(WebCore)/html/HTMLKeygenElement.idl \
448     $(WebCore)/html/HTMLLIElement.idl \
449     $(WebCore)/html/HTMLLabelElement.idl \
450     $(WebCore)/html/HTMLLegendElement.idl \
451     $(WebCore)/html/HTMLLinkElement.idl \
452     $(WebCore)/html/HTMLMapElement.idl \
453     $(WebCore)/html/HTMLMarqueeElement.idl \
454     $(WebCore)/html/HTMLMediaElement.idl \
455     $(WebCore)/html/HTMLMenuElement.idl \
456     $(WebCore)/html/HTMLMetaElement.idl \
457     $(WebCore)/html/HTMLMeterElement.idl \
458     $(WebCore)/html/HTMLModElement.idl \
459     $(WebCore)/html/HTMLOListElement.idl \
460     $(WebCore)/html/HTMLObjectElement.idl \
461     $(WebCore)/html/HTMLOptGroupElement.idl \
462     $(WebCore)/html/HTMLOptionElement.idl \
463     $(WebCore)/html/HTMLOptionsCollection.idl \
464     $(WebCore)/html/HTMLOutputElement.idl \
465     $(WebCore)/html/HTMLParagraphElement.idl \
466     $(WebCore)/html/HTMLParamElement.idl \
467     $(WebCore)/html/HTMLPictureElement.idl \
468     $(WebCore)/html/HTMLPreElement.idl \
469     $(WebCore)/html/HTMLProgressElement.idl \
470     $(WebCore)/html/HTMLQuoteElement.idl \
471     $(WebCore)/html/HTMLScriptElement.idl \
472     $(WebCore)/html/HTMLSelectElement.idl \
473     $(WebCore)/html/HTMLSlotElement.idl \
474     $(WebCore)/html/HTMLSourceElement.idl \
475     $(WebCore)/html/HTMLSpanElement.idl \
476     $(WebCore)/html/HTMLStyleElement.idl \
477     $(WebCore)/html/HTMLTableCaptionElement.idl \
478     $(WebCore)/html/HTMLTableCellElement.idl \
479     $(WebCore)/html/HTMLTableColElement.idl \
480     $(WebCore)/html/HTMLTableElement.idl \
481     $(WebCore)/html/HTMLTableRowElement.idl \
482     $(WebCore)/html/HTMLTableSectionElement.idl \
483     $(WebCore)/html/HTMLTemplateElement.idl \
484     $(WebCore)/html/HTMLTextAreaElement.idl \
485     $(WebCore)/html/HTMLTimeElement.idl \
486     $(WebCore)/html/HTMLTitleElement.idl \
487     $(WebCore)/html/HTMLTrackElement.idl \
488     $(WebCore)/html/HTMLUListElement.idl \
489     $(WebCore)/html/HTMLUnknownElement.idl \
490     $(WebCore)/html/HTMLVideoElement.idl \
491     $(WebCore)/html/ImageData.idl \
492     $(WebCore)/html/MediaController.idl \
493     $(WebCore)/html/MediaEncryptedEvent.idl \
494     $(WebCore)/html/MediaError.idl \
495     $(WebCore)/html/RadioNodeList.idl \
496     $(WebCore)/html/TextMetrics.idl \
497     $(WebCore)/html/TimeRanges.idl \
498     $(WebCore)/html/URLSearchParams.idl \
499     $(WebCore)/html/URLUtils.idl \
500     $(WebCore)/html/ValidityState.idl \
501     $(WebCore)/html/VoidCallback.idl \
502     $(WebCore)/html/WebKitMediaKeyError.idl \
503     $(WebCore)/html/canvas/ANGLEInstancedArrays.idl \
504     $(WebCore)/html/canvas/CanvasGradient.idl \
505     $(WebCore)/html/canvas/CanvasPath.idl \
506     $(WebCore)/html/canvas/CanvasPattern.idl \
507     $(WebCore)/html/canvas/CanvasProxy.idl \
508     $(WebCore)/html/canvas/CanvasRenderingContext2D.idl \
509     $(WebCore)/html/canvas/DOMPath.idl \
510     $(WebCore)/html/canvas/EXTBlendMinMax.idl \
511     $(WebCore)/html/canvas/EXTFragDepth.idl \
512     $(WebCore)/html/canvas/EXTShaderTextureLOD.idl \
513     $(WebCore)/html/canvas/EXTTextureFilterAnisotropic.idl \
514     $(WebCore)/html/canvas/EXTsRGB.idl \
515     $(WebCore)/html/canvas/OESElementIndexUint.idl \
516     $(WebCore)/html/canvas/OESStandardDerivatives.idl \
517     $(WebCore)/html/canvas/OESTextureFloat.idl \
518     $(WebCore)/html/canvas/OESTextureFloatLinear.idl \
519     $(WebCore)/html/canvas/OESTextureHalfFloat.idl \
520     $(WebCore)/html/canvas/OESTextureHalfFloatLinear.idl \
521     $(WebCore)/html/canvas/OESVertexArrayObject.idl \
522     $(WebCore)/html/canvas/WebGL2RenderingContext.idl \
523     $(WebCore)/html/canvas/WebGLActiveInfo.idl \
524     $(WebCore)/html/canvas/WebGLBuffer.idl \
525     $(WebCore)/html/canvas/WebGLCompressedTextureATC.idl \
526     $(WebCore)/html/canvas/WebGLCompressedTexturePVRTC.idl \
527     $(WebCore)/html/canvas/WebGLCompressedTextureS3TC.idl \
528     $(WebCore)/html/canvas/WebGLContextAttributes.idl \
529     $(WebCore)/html/canvas/WebGLContextEvent.idl \
530     $(WebCore)/html/canvas/WebGLDebugRendererInfo.idl \
531     $(WebCore)/html/canvas/WebGLDebugShaders.idl \
532     $(WebCore)/html/canvas/WebGLDepthTexture.idl \
533     $(WebCore)/html/canvas/WebGLDrawBuffers.idl \
534     $(WebCore)/html/canvas/WebGLFramebuffer.idl \
535     $(WebCore)/html/canvas/WebGLLoseContext.idl \
536     $(WebCore)/html/canvas/WebGLProgram.idl \
537     $(WebCore)/html/canvas/WebGLQuery.idl \
538     $(WebCore)/html/canvas/WebGLRenderbuffer.idl \
539     $(WebCore)/html/canvas/WebGLRenderingContext.idl \
540     $(WebCore)/html/canvas/WebGLRenderingContextBase.idl \
541     $(WebCore)/html/canvas/WebGLSampler.idl \
542     $(WebCore)/html/canvas/WebGLShader.idl \
543     $(WebCore)/html/canvas/WebGLShaderPrecisionFormat.idl \
544     $(WebCore)/html/canvas/WebGLSync.idl \
545     $(WebCore)/html/canvas/WebGLTexture.idl \
546     $(WebCore)/html/canvas/WebGLTransformFeedback.idl \
547     $(WebCore)/html/canvas/WebGLUniformLocation.idl \
548     $(WebCore)/html/canvas/WebGLVertexArrayObject.idl \
549     $(WebCore)/html/canvas/WebGLVertexArrayObjectOES.idl \
550     $(WebCore)/html/track/AudioTrack.idl \
551     $(WebCore)/html/track/AudioTrackList.idl \
552     $(WebCore)/html/track/DataCue.idl \
553     $(WebCore)/html/track/TextTrack.idl \
554     $(WebCore)/html/track/TextTrackCue.idl \
555     $(WebCore)/html/track/TextTrackCueList.idl \
556     $(WebCore)/html/track/TextTrackList.idl \
557     $(WebCore)/html/track/TrackEvent.idl \
558     $(WebCore)/html/track/VTTCue.idl \
559     $(WebCore)/html/track/VTTRegion.idl \
560     $(WebCore)/html/track/VTTRegionList.idl \
561     $(WebCore)/html/track/VideoTrack.idl \
562     $(WebCore)/html/track/VideoTrackList.idl \
563     $(WebCore)/inspector/CommandLineAPIHost.idl \
564     $(WebCore)/inspector/InspectorFrontendHost.idl \
565     $(WebCore)/loader/appcache/DOMApplicationCache.idl \
566     $(WebCore)/page/BarProp.idl \
567     $(WebCore)/page/Crypto.idl \
568     $(WebCore)/page/DOMSelection.idl \
569     $(WebCore)/page/DOMWindow.idl \
570     $(WebCore)/page/EventSource.idl \
571     $(WebCore)/page/GlobalCrypto.idl \
572     $(WebCore)/page/History.idl \
573     $(WebCore)/page/IntersectionObserver.idl \
574     $(WebCore)/page/IntersectionObserverCallback.idl \
575     $(WebCore)/page/IntersectionObserverEntry.idl \
576     $(WebCore)/page/Location.idl \
577     $(WebCore)/page/Navigator.idl \
578     $(WebCore)/page/NavigatorConcurrentHardware.idl \
579     $(WebCore)/page/NavigatorID.idl \
580     $(WebCore)/page/NavigatorLanguage.idl \
581     $(WebCore)/page/NavigatorOnLine.idl \
582     $(WebCore)/page/Performance.idl \
583     $(WebCore)/page/PerformanceEntry.idl \
584     $(WebCore)/page/PerformanceNavigation.idl \
585     $(WebCore)/page/PerformanceResourceTiming.idl \
586     $(WebCore)/page/PerformanceTiming.idl \
587     $(WebCore)/page/Screen.idl \
588     $(WebCore)/page/ScrollToOptions.idl \
589     $(WebCore)/page/UserMessageHandler.idl \
590     $(WebCore)/page/UserMessageHandlersNamespace.idl \
591     $(WebCore)/page/WebKitNamespace.idl \
592     $(WebCore)/page/WebKitPoint.idl \
593     $(WebCore)/page/WindowEventHandlers.idl \
594     $(WebCore)/page/WindowOrWorkerGlobalScope.idl \
595     $(WebCore)/page/WorkerNavigator.idl \
596     $(WebCore)/plugins/DOMMimeType.idl \
597     $(WebCore)/plugins/DOMMimeTypeArray.idl \
598     $(WebCore)/plugins/DOMPlugin.idl \
599     $(WebCore)/plugins/DOMPluginArray.idl \
600     $(WebCore)/storage/Storage.idl \
601     $(WebCore)/storage/StorageEvent.idl \
602     $(WebCore)/svg/SVGAElement.idl \
603     $(WebCore)/svg/SVGAltGlyphDefElement.idl \
604     $(WebCore)/svg/SVGAltGlyphElement.idl \
605     $(WebCore)/svg/SVGAltGlyphItemElement.idl \
606     $(WebCore)/svg/SVGAngle.idl \
607     $(WebCore)/svg/SVGAnimateColorElement.idl \
608     $(WebCore)/svg/SVGAnimateElement.idl \
609     $(WebCore)/svg/SVGAnimateMotionElement.idl \
610     $(WebCore)/svg/SVGAnimateTransformElement.idl \
611     $(WebCore)/svg/SVGAnimatedAngle.idl \
612     $(WebCore)/svg/SVGAnimatedBoolean.idl \
613     $(WebCore)/svg/SVGAnimatedEnumeration.idl \
614     $(WebCore)/svg/SVGAnimatedInteger.idl \
615     $(WebCore)/svg/SVGAnimatedLength.idl \
616     $(WebCore)/svg/SVGAnimatedLengthList.idl \
617     $(WebCore)/svg/SVGAnimatedNumber.idl \
618     $(WebCore)/svg/SVGAnimatedNumberList.idl \
619     $(WebCore)/svg/SVGAnimatedPreserveAspectRatio.idl \
620     $(WebCore)/svg/SVGAnimatedRect.idl \
621     $(WebCore)/svg/SVGAnimatedString.idl \
622     $(WebCore)/svg/SVGAnimatedTransformList.idl \
623     $(WebCore)/svg/SVGAnimationElement.idl \
624     $(WebCore)/svg/SVGCircleElement.idl \
625     $(WebCore)/svg/SVGClipPathElement.idl \
626     $(WebCore)/svg/SVGComponentTransferFunctionElement.idl \
627     $(WebCore)/svg/SVGCursorElement.idl \
628     $(WebCore)/svg/SVGDefsElement.idl \
629     $(WebCore)/svg/SVGDescElement.idl \
630     $(WebCore)/svg/SVGDocument.idl \
631     $(WebCore)/svg/SVGElement.idl \
632     $(WebCore)/svg/SVGEllipseElement.idl \
633     $(WebCore)/svg/SVGException.idl \
634     $(WebCore)/svg/SVGExternalResourcesRequired.idl \
635     $(WebCore)/svg/SVGFEBlendElement.idl \
636     $(WebCore)/svg/SVGFEColorMatrixElement.idl \
637     $(WebCore)/svg/SVGFEComponentTransferElement.idl \
638     $(WebCore)/svg/SVGFECompositeElement.idl \
639     $(WebCore)/svg/SVGFEConvolveMatrixElement.idl \
640     $(WebCore)/svg/SVGFEDiffuseLightingElement.idl \
641     $(WebCore)/svg/SVGFEDisplacementMapElement.idl \
642     $(WebCore)/svg/SVGFEDistantLightElement.idl \
643     $(WebCore)/svg/SVGFEDropShadowElement.idl \
644     $(WebCore)/svg/SVGFEFloodElement.idl \
645     $(WebCore)/svg/SVGFEFuncAElement.idl \
646     $(WebCore)/svg/SVGFEFuncBElement.idl \
647     $(WebCore)/svg/SVGFEFuncGElement.idl \
648     $(WebCore)/svg/SVGFEFuncRElement.idl \
649     $(WebCore)/svg/SVGFEGaussianBlurElement.idl \
650     $(WebCore)/svg/SVGFEImageElement.idl \
651     $(WebCore)/svg/SVGFEMergeElement.idl \
652     $(WebCore)/svg/SVGFEMergeNodeElement.idl \
653     $(WebCore)/svg/SVGFEMorphologyElement.idl \
654     $(WebCore)/svg/SVGFEOffsetElement.idl \
655     $(WebCore)/svg/SVGFEPointLightElement.idl \
656     $(WebCore)/svg/SVGFESpecularLightingElement.idl \
657     $(WebCore)/svg/SVGFESpotLightElement.idl \
658     $(WebCore)/svg/SVGFETileElement.idl \
659     $(WebCore)/svg/SVGFETurbulenceElement.idl \
660     $(WebCore)/svg/SVGFilterElement.idl \
661     $(WebCore)/svg/SVGFilterPrimitiveStandardAttributes.idl \
662     $(WebCore)/svg/SVGFitToViewBox.idl \
663     $(WebCore)/svg/SVGFontElement.idl \
664     $(WebCore)/svg/SVGFontFaceElement.idl \
665     $(WebCore)/svg/SVGFontFaceFormatElement.idl \
666     $(WebCore)/svg/SVGFontFaceNameElement.idl \
667     $(WebCore)/svg/SVGFontFaceSrcElement.idl \
668     $(WebCore)/svg/SVGFontFaceUriElement.idl \
669     $(WebCore)/svg/SVGForeignObjectElement.idl \
670     $(WebCore)/svg/SVGGElement.idl \
671     $(WebCore)/svg/SVGGlyphElement.idl \
672     $(WebCore)/svg/SVGGlyphRefElement.idl \
673     $(WebCore)/svg/SVGGradientElement.idl \
674     $(WebCore)/svg/SVGGraphicsElement.idl \
675     $(WebCore)/svg/SVGHKernElement.idl \
676     $(WebCore)/svg/SVGImageElement.idl \
677     $(WebCore)/svg/SVGLength.idl \
678     $(WebCore)/svg/SVGLengthList.idl \
679     $(WebCore)/svg/SVGLineElement.idl \
680     $(WebCore)/svg/SVGLinearGradientElement.idl \
681     $(WebCore)/svg/SVGMPathElement.idl \
682     $(WebCore)/svg/SVGMarkerElement.idl \
683     $(WebCore)/svg/SVGMaskElement.idl \
684     $(WebCore)/svg/SVGMatrix.idl \
685     $(WebCore)/svg/SVGMetadataElement.idl \
686     $(WebCore)/svg/SVGMissingGlyphElement.idl \
687     $(WebCore)/svg/SVGNumber.idl \
688     $(WebCore)/svg/SVGNumberList.idl \
689     $(WebCore)/svg/SVGPathElement.idl \
690     $(WebCore)/svg/SVGPathSeg.idl \
691     $(WebCore)/svg/SVGPathSegArcAbs.idl \
692     $(WebCore)/svg/SVGPathSegArcRel.idl \
693     $(WebCore)/svg/SVGPathSegClosePath.idl \
694     $(WebCore)/svg/SVGPathSegCurvetoCubicAbs.idl \
695     $(WebCore)/svg/SVGPathSegCurvetoCubicRel.idl \
696     $(WebCore)/svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
697     $(WebCore)/svg/SVGPathSegCurvetoCubicSmoothRel.idl \
698     $(WebCore)/svg/SVGPathSegCurvetoQuadraticAbs.idl \
699     $(WebCore)/svg/SVGPathSegCurvetoQuadraticRel.idl \
700     $(WebCore)/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
701     $(WebCore)/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
702     $(WebCore)/svg/SVGPathSegLinetoAbs.idl \
703     $(WebCore)/svg/SVGPathSegLinetoHorizontalAbs.idl \
704     $(WebCore)/svg/SVGPathSegLinetoHorizontalRel.idl \
705     $(WebCore)/svg/SVGPathSegLinetoRel.idl \
706     $(WebCore)/svg/SVGPathSegLinetoVerticalAbs.idl \
707     $(WebCore)/svg/SVGPathSegLinetoVerticalRel.idl \
708     $(WebCore)/svg/SVGPathSegList.idl \
709     $(WebCore)/svg/SVGPathSegMovetoAbs.idl \
710     $(WebCore)/svg/SVGPathSegMovetoRel.idl \
711     $(WebCore)/svg/SVGPatternElement.idl \
712     $(WebCore)/svg/SVGPoint.idl \
713     $(WebCore)/svg/SVGPointList.idl \
714     $(WebCore)/svg/SVGPolygonElement.idl \
715     $(WebCore)/svg/SVGPolylineElement.idl \
716     $(WebCore)/svg/SVGPreserveAspectRatio.idl \
717     $(WebCore)/svg/SVGRadialGradientElement.idl \
718     $(WebCore)/svg/SVGRect.idl \
719     $(WebCore)/svg/SVGRectElement.idl \
720     $(WebCore)/svg/SVGRenderingIntent.idl \
721     $(WebCore)/svg/SVGSVGElement.idl \
722     $(WebCore)/svg/SVGScriptElement.idl \
723     $(WebCore)/svg/SVGSetElement.idl \
724     $(WebCore)/svg/SVGStopElement.idl \
725     $(WebCore)/svg/SVGStringList.idl \
726     $(WebCore)/svg/SVGStyleElement.idl \
727     $(WebCore)/svg/SVGSwitchElement.idl \
728     $(WebCore)/svg/SVGSymbolElement.idl \
729     $(WebCore)/svg/SVGTRefElement.idl \
730     $(WebCore)/svg/SVGTSpanElement.idl \
731     $(WebCore)/svg/SVGTests.idl \
732     $(WebCore)/svg/SVGTextContentElement.idl \
733     $(WebCore)/svg/SVGTextElement.idl \
734     $(WebCore)/svg/SVGTextPathElement.idl \
735     $(WebCore)/svg/SVGTextPositioningElement.idl \
736     $(WebCore)/svg/SVGTitleElement.idl \
737     $(WebCore)/svg/SVGTransform.idl \
738     $(WebCore)/svg/SVGTransformList.idl \
739     $(WebCore)/svg/SVGURIReference.idl \
740     $(WebCore)/svg/SVGUnitTypes.idl \
741     $(WebCore)/svg/SVGUseElement.idl \
742     $(WebCore)/svg/SVGVKernElement.idl \
743     $(WebCore)/svg/SVGViewElement.idl \
744     $(WebCore)/svg/SVGViewSpec.idl \
745     $(WebCore)/svg/SVGZoomAndPan.idl \
746     $(WebCore)/svg/SVGZoomEvent.idl \
747     $(WebCore)/testing/GCObservation.idl \
748     $(WebCore)/testing/InternalSettings.idl \
749     $(WebCore)/testing/Internals.idl \
750     $(WebCore)/testing/MallocStatistics.idl \
751     $(WebCore)/testing/MemoryInfo.idl \
752     $(WebCore)/testing/MockCDMFactory.idl \
753     $(WebCore)/testing/MockContentFilterSettings.idl \
754     $(WebCore)/testing/MockPageOverlay.idl \
755     $(WebCore)/testing/TypeConversions.idl \
756     $(WebCore)/workers/AbstractWorker.idl \
757     $(WebCore)/workers/DedicatedWorkerGlobalScope.idl \
758     $(WebCore)/workers/Worker.idl \
759     $(WebCore)/workers/WorkerGlobalScope.idl \
760     $(WebCore)/workers/WorkerLocation.idl \
761     $(WebCore)/xml/DOMParser.idl \
762     $(WebCore)/xml/XMLHttpRequest.idl \
763     $(WebCore)/xml/XMLHttpRequestEventTarget.idl \
764     $(WebCore)/xml/XMLHttpRequestProgressEvent.idl \
765     $(WebCore)/xml/XMLHttpRequestUpload.idl \
766     $(WebCore)/xml/XMLSerializer.idl \
767     $(WebCore)/xml/XPathEvaluator.idl \
768     $(WebCore)/xml/XPathException.idl \
769     $(WebCore)/xml/XPathExpression.idl \
770     $(WebCore)/xml/XPathNSResolver.idl \
771     $(WebCore)/xml/XPathResult.idl \
772     $(WebCore)/xml/XSLTProcessor.idl \
773     InternalSettingsGenerated.idl \
774 #
775
776 PYTHON = python
777 PERL = perl
778 RUBY = ruby
779
780 ifeq ($(OS),Windows_NT)
781     DELETE = cmd //C del
782 else
783     DELETE = rm -f
784 endif
785 # --------
786
787 ifeq ($(OS),MACOS)
788
789 FRAMEWORK_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) | perl -e 'print "-F " . join(" -F ", split(" ", <>));')
790 HEADER_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) | perl -e 'print "-I" . join(" -I", split(" ", <>));')
791 TEXT_PREPROCESSOR_FLAGS=-E -P -x c -traditional
792
793 ifneq ($(SDKROOT),)
794     SDK_FLAGS=-isysroot $(SDKROOT)
795 endif
796
797 ifeq ($(shell $(CC) -std=gnu++11 -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep ' WTF_PLATFORM_IOS ' | cut -d' ' -f3), 1)
798     WTF_PLATFORM_IOS = 1
799 else
800     WTF_PLATFORM_IOS = 0
801 endif
802
803 ifeq ($(shell $(CC) -std=gnu++11 -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep USE_APPLE_INTERNAL_SDK | cut -d' ' -f3), 1)
804     USE_APPLE_INTERNAL_SDK = 1
805 else
806     USE_APPLE_INTERNAL_SDK = 0
807 endif
808
809 ifeq ($(shell $(CC) -std=gnu++11 -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep ENABLE_ORIENTATION_EVENTS | cut -d' ' -f3), 1)
810     ENABLE_ORIENTATION_EVENTS = 1
811 endif
812
813 ifeq ($(PLATFORM_FEATURE_DEFINES),)
814 ifeq ($(OS), Windows_NT)
815 PLATFORM_FEATURE_DEFINES = $(WEBKIT_LIBRARIES)/tools/vsprops/FeatureDefines.props
816 else
817 PLATFORM_FEATURE_DEFINES = Configurations/FeatureDefines.xcconfig
818 endif
819 endif
820
821 ADDITIONAL_BINDING_IDLS =
822 ifeq ($(findstring ENABLE_MAC_GESTURE_EVENTS,$(FEATURE_DEFINES)), ENABLE_MAC_GESTURE_EVENTS)
823 ADDITIONAL_BINDING_IDLS += GestureEvent.idl
824 endif
825
826 ifeq ($(findstring ENABLE_IOS_GESTURE_EVENTS,$(FEATURE_DEFINES)), ENABLE_IOS_GESTURE_EVENTS)
827 ADDITIONAL_BINDING_IDLS += GestureEvent.idl
828 endif
829
830 ifeq ($(WTF_PLATFORM_IOS), 1)
831 ifeq ($(findstring ENABLE_IOS_TOUCH_EVENTS,$(FEATURE_DEFINES)), ENABLE_IOS_TOUCH_EVENTS)
832 ADDITIONAL_BINDING_IDLS += \
833     Touch.idl \
834     TouchEvent.idl \
835     TouchList.idl
836 endif
837 endif # IOS
838
839 vpath %.in $(WEBKITADDITIONS_HEADER_SEARCH_PATHS)
840
841 ADDITIONAL_EVENT_NAMES =
842 ADDITIONAL_EVENT_TARGET_FACTORY =
843
844 JS_BINDING_IDLS += $(ADDITIONAL_BINDING_IDLS)
845
846 all : $(ADDITIONAL_BINDING_IDLS:%.idl=JS%.h)
847
848 vpath %.idl $(BUILT_PRODUCTS_DIR)/usr/local/include $(SDKROOT)/usr/local/include
849
850 $(ADDITIONAL_BINDING_IDLS) : % : WebKitAdditions/%
851         cp $< .
852
853 endif # MACOS
854
855 ifneq ($(WTF_PLATFORM_IOS), 1)
856 JS_BINDING_IDLS += \
857     $(WebCore)/dom/Touch.idl \
858     $(WebCore)/dom/TouchEvent.idl \
859     $(WebCore)/dom/TouchList.idl
860 endif
861
862 .PHONY : all
863
864 JS_DOM_CLASSES=$(basename $(notdir $(JS_BINDING_IDLS)))
865
866 JS_DOM_HEADERS=$(filter-out JSEventListener.h, $(JS_DOM_CLASSES:%=JS%.h))
867
868 WEB_DOM_HEADERS :=
869
870 all : \
871     $(SUPPLEMENTAL_DEPENDENCY_FILE) \
872     $(WINDOW_CONSTRUCTORS_FILE) \
873     $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) \
874     $(JS_DOM_HEADERS) \
875     $(WEB_DOM_HEADERS) \
876     \
877     CSSPropertyNames.cpp \
878     CSSPropertyNames.h \
879     CSSValueKeywords.cpp \
880     CSSValueKeywords.h \
881     ColorData.cpp \
882     DOMJITAbstractHeapRepository.h \
883     EventInterfaces.h \
884     EventTargetInterfaces.h \
885     ExceptionCodeDescription.cpp \
886     HTMLElementFactory.cpp \
887     HTMLElementFactory.h \
888     HTMLElementTypeHelpers.h \
889     HTMLEntityTable.cpp \
890     HTMLNames.cpp \
891     HTMLNames.h \
892     HTTPHeaderNames.h \
893     JSHTMLElementWrapperFactory.cpp \
894     JSHTMLElementWrapperFactory.h \
895     JSMathMLElementWrapperFactory.cpp \
896     JSMathMLElementWrapperFactory.h \
897     JSSVGElementWrapperFactory.cpp \
898     JSSVGElementWrapperFactory.h \
899     PlugInsResources.h \
900     SVGElementFactory.cpp \
901     SVGElementFactory.h \
902     SVGElementTypeHelpers.h \
903     SVGNames.cpp \
904     SVGNames.h \
905     SelectorPseudoClassAndCompatibilityElementMap.cpp \
906     SelectorPseudoElementTypeMap.cpp \
907     StyleBuilder.cpp \
908     StylePropertyShorthandFunctions.cpp \
909     StylePropertyShorthandFunctions.h \
910     UserAgentStyleSheets.h \
911     WebKitFontFamilyNames.cpp \
912     WebKitFontFamilyNames.h \
913     XLinkNames.cpp \
914     XMLNSNames.cpp \
915     XMLNames.cpp \
916     MathMLElementFactory.cpp \
917     MathMLElementFactory.h \
918     MathMLElementTypeHelpers.h \
919     MathMLNames.cpp \
920     MathMLNames.h \
921 #
922
923 # --------
924
925 ADDITIONAL_IDL_DEFINES :=
926
927 ifndef ENABLE_ORIENTATION_EVENTS
928     ENABLE_ORIENTATION_EVENTS = 0
929 endif
930
931 ifeq ($(ENABLE_ORIENTATION_EVENTS), 1)
932     ADDITIONAL_IDL_DEFINES := $(ADDITIONAL_IDL_DEFINES) ENABLE_ORIENTATION_EVENTS
933 endif
934
935 ifeq ($(USE_APPLE_INTERNAL_SDK), 1)
936     ADDITIONAL_IDL_DEFINES := $(ADDITIONAL_IDL_DEFINES) USE_APPLE_INTERNAL_SDK
937 endif
938
939 # --------
940
941 ADDITIONAL_CSS_PROPERTIES_DEFINES :=
942
943 ifeq ($(WTF_PLATFORM_IOS), 1)
944     ADDITIONAL_CSS_PROPERTIES_DEFINES := WTF_PLATFORM_IOS
945 endif
946
947 # --------
948
949 # CSS property names and value keywords
950
951 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSProperties.json
952 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
953 WEBCORE_CSS_VALUE_KEYWORDS := $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/SVGCSSValueKeywords.in
954 WEBCORE_CSS_VALUE_KEYWORDS_DEFINES := $(FEATURE_DEFINES) $(ADDITIONAL_CSS_VALUE_KEYWORDS_DEFINES)
955 WEBCORE_CSS_PROPERTIES_DEFINES := $(FEATURE_DEFINES) $(ADDITIONAL_CSS_PROPERTIES_DEFINES)
956
957 all : CSSPropertyNames.h CSSPropertyNames.cpp StyleBuilder.cpp StylePropertyShorthandFunctions.h StylePropertyShorthandFunctions.cpp
958 CSSPropertyNames%h CSSPropertyNames%cpp StyleBuilder%cpp StylePropertyShorthandFunctions%h StylePropertyShorthandFunctions%cpp : $(WEBCORE_CSS_PROPERTY_NAMES) css/makeprop.pl $(PLATFORM_FEATURE_DEFINES)
959         $(PERL) -pe '' $(WEBCORE_CSS_PROPERTY_NAMES) > CSSProperties.json
960         $(PERL) "$(WebCore)/css/makeprop.pl" --defines "$(WEBCORE_CSS_PROPERTIES_DEFINES)"
961
962 all : CSSValueKeywords.h CSSValueKeywords.cpp
963 CSSValueKeywords%h CSSValueKeywords%cpp : $(WEBCORE_CSS_VALUE_KEYWORDS) css/makevalues.pl bindings/scripts/preprocessor.pm $(PLATFORM_FEATURE_DEFINES)
964         $(PERL) -pe '' $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
965         $(PERL) "$(WebCore)/css/makevalues.pl" --defines "$(WEBCORE_CSS_VALUE_KEYWORDS_DEFINES)"
966
967 # --------
968
969 # CSS Selector pseudo type name to value map.
970
971 SelectorPseudoClassAndCompatibilityElementMap.cpp : $(WebCore)/css/makeSelectorPseudoClassAndCompatibilityElementMap.py $(WebCore)/css/SelectorPseudoClassAndCompatibilityElementMap.in
972         $(PYTHON) "$(WebCore)/css/makeSelectorPseudoClassAndCompatibilityElementMap.py" $(WebCore)/css/SelectorPseudoClassAndCompatibilityElementMap.in gperf "$(FEATURE_DEFINES)"
973
974 SelectorPseudoElementTypeMap.cpp : $(WebCore)/css/makeSelectorPseudoElementsMap.py $(WebCore)/css/SelectorPseudoElementTypeMap.in
975         $(PYTHON) "$(WebCore)/css/makeSelectorPseudoElementsMap.py" $(WebCore)/css/SelectorPseudoElementTypeMap.in gperf "$(FEATURE_DEFINES)"
976
977 # --------
978
979 # DOMJIT Abstract Heap
980
981 all : DOMJITAbstractHeapRepository.h
982
983 DOMJITAbstractHeapRepository.h : $(WebCore)/domjit/generate-abstract-heap.rb $(WebCore)/domjit/DOMJITAbstractHeapRepository.yaml
984         $(RUBY) "$(WebCore)/domjit/generate-abstract-heap.rb" $(WebCore)/domjit/DOMJITAbstractHeapRepository.yaml ./DOMJITAbstractHeapRepository.h
985
986 # --------
987
988 # XMLViewer CSS
989
990 all : XMLViewerCSS.h
991
992 XMLViewerCSS.h : xml/XMLViewer.css
993         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/cssmin.py <"$(WebCore)/xml/XMLViewer.css" > ./XMLViewer.min.css
994         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl XMLViewer_css ./XMLViewer.min.css XMLViewerCSS.h
995         $(DELETE) XMLViewer.min.css
996
997 # --------
998
999 # XMLViewer JS
1000
1001 all : XMLViewerJS.h
1002
1003 XMLViewerJS.h : xml/XMLViewer.js
1004         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/jsmin.py <"$(WebCore)/xml/XMLViewer.js" > ./XMLViewer.min.js
1005         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl XMLViewer_js ./XMLViewer.min.js XMLViewerJS.h
1006         $(DELETE) XMLViewer.min.js
1007
1008 # --------
1009
1010 # HTML entity names
1011
1012 HTMLEntityTable.cpp : html/parser/HTMLEntityNames.in $(WebCore)/html/parser/create-html-entity-table
1013         $(PYTHON) $(WebCore)/html/parser/create-html-entity-table -o HTMLEntityTable.cpp $(WebCore)/html/parser/HTMLEntityNames.in
1014
1015 # --------
1016
1017 # HTTP header names
1018
1019 HTTPHeaderNames.h : platform/network/HTTPHeaderNames.in $(WebCore)/platform/network/create-http-header-name-table
1020         $(PYTHON) $(WebCore)/platform/network/create-http-header-name-table $(WebCore)/platform/network/HTTPHeaderNames.in gperf
1021
1022 # --------
1023
1024 # color names
1025
1026 ColorData.cpp : platform/ColorData.gperf $(WebCore)/make-hash-tools.pl
1027         $(PERL) $(WebCore)/make-hash-tools.pl . $(WebCore)/platform/ColorData.gperf
1028
1029 # --------
1030
1031 # WebRTC scripts
1032
1033 WEBCORE_SDP_PROCESSOR_SCRIPTS = 
1034
1035 ifeq ($(OS),MACOS)
1036     WEBCORE_SDP_PROCESSOR_SCRIPTS := $(WEBCORE_SDP_PROCESSOR_SCRIPTS) $(WebCore)/Modules/mediastream/sdp.js
1037 endif
1038
1039 ifdef WEBCORE_SDP_PROCESSOR_SCRIPTS
1040 all : SDPProcessorScriptsData.h
1041
1042 SDPProcessorScriptsData.h : Scripts/make-js-file-arrays.py $(WEBCORE_SDP_PROCESSOR_SCRIPTS)
1043         PYTHONPATH=$(JavaScriptCore_SCRIPTS_DIR) $(PYTHON) $< $@ SDPProcessorScriptsData.cpp $(WEBCORE_SDP_PROCESSOR_SCRIPTS)
1044 endif
1045
1046 # --------
1047
1048 # user agent style sheets
1049
1050 USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html.css $(WebCore)/css/quirks.css $(WebCore)/css/plugIns.css
1051 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/svg.css
1052
1053 ifeq ($(findstring ENABLE_MATHML,$(FEATURE_DEFINES)), ENABLE_MATHML)
1054     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mathml.css
1055 endif
1056
1057 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
1058     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControls.css
1059 endif
1060
1061 ifeq ($(findstring ENABLE_FULLSCREEN_API,$(FEATURE_DEFINES)), ENABLE_FULLSCREEN_API)
1062     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/fullscreen.css
1063 endif
1064
1065 ifeq ($(findstring ENABLE_SERVICE_CONTROLS,$(FEATURE_DEFINES)), ENABLE_SERVICE_CONTROLS)
1066     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/html/shadow/mac/imageControlsMac.css
1067 endif
1068
1069 ifeq ($(OS),MACOS)
1070     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/Modules/plugins/QuickTimePluginReplacement.css
1071 endif
1072
1073 ifeq ($(OS), Windows_NT)
1074     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/themeWin.css $(WebCore)/css/themeWinQuirks.css
1075 endif
1076
1077 ifeq ($(findstring ENABLE_METER_ELEMENT,$(FEATURE_DEFINES)), ENABLE_METER_ELEMENT)
1078         USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/html/shadow/meterElementShadow.css
1079 endif
1080
1081 UserAgentStyleSheets.h : css/make-css-file-arrays.pl bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS) $(PLATFORM_FEATURE_DEFINES)
1082         $(PERL) $< --defines "$(FEATURE_DEFINES)" $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
1083
1084 # --------
1085
1086 # user agent scripts
1087
1088 USER_AGENT_SCRIPTS = 
1089
1090 ifeq ($(OS),MACOS)
1091     USER_AGENT_SCRIPTS := $(USER_AGENT_SCRIPTS) $(WebCore)/Modules/plugins/QuickTimePluginReplacement.js
1092 endif
1093
1094 ifdef USER_AGENT_SCRIPTS
1095 all : UserAgentScripts.h
1096
1097 UserAgentScripts.h : Scripts/make-js-file-arrays.py $(USER_AGENT_SCRIPTS)
1098         PYTHONPATH=$(JavaScriptCore_SCRIPTS_DIR) $(PYTHON) $< $@ UserAgentScriptsData.cpp $(USER_AGENT_SCRIPTS)
1099 endif
1100
1101 # --------
1102
1103 # plugIns resources
1104
1105 PLUG_INS_RESOURCES = $(WebCore)/Resources/plugIns.js
1106
1107 PlugInsResources.h : css/make-css-file-arrays.pl bindings/scripts/preprocessor.pm $(PLUG_INS_RESOURCES) $(PLATFORM_FEATURE_DEFINES)
1108         $(PERL) $< --defines "$(FEATURE_DEFINES)" $@ PlugInsResourcesData.cpp $(PLUG_INS_RESOURCES)
1109
1110 # --------
1111
1112 all : WebKitFontFamilyNames.cpp WebKitFontFamilyNames.h
1113 WebKitFontFamilyNames%cpp WebKitFontFamilyNames%h: dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm css/WebKitFontFamilyNames.in
1114         $(PERL) $< --fonts $(WebCore)/css/WebKitFontFamilyNames.in
1115
1116 # HTML tag and attribute names
1117
1118 ifeq ($(findstring ENABLE_DATALIST_ELEMENT,$(FEATURE_DEFINES)), ENABLE_DATALIST_ELEMENT)
1119     HTML_FLAGS := $(HTML_FLAGS) ENABLE_DATALIST_ELEMENT=1
1120 endif
1121
1122 ifeq ($(findstring ENABLE_DETAILS_ELEMENT,$(FEATURE_DEFINES)), ENABLE_DETAILS_ELEMENT)
1123     HTML_FLAGS := $(HTML_FLAGS) ENABLE_DETAILS_ELEMENT=1
1124 endif
1125
1126 ifeq ($(findstring ENABLE_METER_ELEMENT,$(FEATURE_DEFINES)), ENABLE_METER_ELEMENT)
1127     HTML_FLAGS := $(HTML_FLAGS) ENABLE_METER_ELEMENT=1
1128 endif
1129
1130 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
1131     HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO=1
1132 endif
1133
1134 ifeq ($(findstring ENABLE_VIDEO_TRACK,$(FEATURE_DEFINES)), ENABLE_VIDEO_TRACK)
1135     HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO_TRACK=0
1136 endif
1137
1138 ifeq ($(findstring ENABLE_DATACUE_VALUE,$(FEATURE_DEFINES)), ENABLE_DATACUE_VALUE)
1139     HTML_FLAGS := $(HTML_FLAGS) ENABLE_DATACUE_VALUE=0
1140 endif
1141
1142 ifeq ($(findstring ENABLE_MEDIA_STREAM,$(FEATURE_DEFINES)), ENABLE_MEDIA_STREAM)
1143     HTML_FLAGS := $(HTML_FLAGS) ENABLE_MEDIA_STREAM=1
1144 endif
1145
1146 ifeq ($(findstring ENABLE_LEGACY_ENCRYPTED_MEDIA,$(FEATURE_DEFINES)), ENABLE_LEGACY_ENCRYPTED_MEDIA)
1147     HTML_FLAGS := $(HTML_FLAGS) ENABLE_LEGACY_ENCRYPTED_MEDIA=1
1148 endif
1149
1150 ifeq ($(findstring ENABLE_ENCRYPTED_MEDIA,$(FEATURE_DEFINES)), ENABLE_ENCRYPTED_MEDIA)
1151     HTML_FLAGS := $(HTML_FLAGS) ENABLE_ENCRYPTED_MEDIA=1
1152 endif
1153
1154 all : JSHTMLElementWrapperFactory.cpp JSHTMLElementWrapperFactory.h HTMLElementFactory.cpp HTMLElementFactory.h HTMLElementTypeHelpers.h HTMLNames.cpp HTMLNames.h
1155
1156 ifdef HTML_FLAGS
1157
1158 JSHTMLElementWrapperFactory%cpp JSHTMLElementWrapperFactory%h HTMLElementFactory%cpp HTMLElementFactory%h HTMLElementTypeHelpers%h HTMLNames%cpp HTMLNames%h : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm html/HTMLTagNames.in html/HTMLAttributeNames.in
1159         $(PERL) $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory --extraDefines "$(HTML_FLAGS)"
1160
1161 else
1162
1163 JSHTMLElementWrapperFactory%cpp JSHTMLElementWrapperFactory%h HTMLElementFactory%cpp HTMLElementFactory%h HTMLElementTypeHelpers%h HTMLNames%cpp HTMLNames%h : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm html/HTMLTagNames.in html/HTMLAttributeNames.in
1164         $(PERL) $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory
1165
1166 endif
1167
1168 XMLNSNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm xml/xmlnsattrs.in
1169         $(PERL) $< --attrs $(WebCore)/xml/xmlnsattrs.in
1170
1171 XMLNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm xml/xmlattrs.in
1172         $(PERL) $< --attrs $(WebCore)/xml/xmlattrs.in
1173
1174 # --------
1175
1176 # SVG tag and attribute names, and element factory
1177
1178 ifeq ($(findstring ENABLE_SVG_FONTS,$(FEATURE_DEFINES)), ENABLE_SVG_FONTS)
1179     SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FONTS=1
1180 endif
1181
1182 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
1183
1184 all : JSSVGElementWrapperFactory.cpp JSSVGElementWrapperFactory.h SVGElementFactory.cpp SVGElementFactory.h SVGElementTypeHelpers.h SVGNames.cpp SVGNames.h
1185
1186 ifdef SVG_FLAGS
1187 JSSVGElementWrapperFactory%cpp JSSVGElementWrapperFactory%h SVGElementFactory%cpp SVGElementFactory%h SVGElementTypeHelpers%h SVGNames%cpp SVGNames%h : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm svg/svgtags.in svg/svgattrs.in
1188         $(PERL) $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" --factory --wrapperFactory
1189 else
1190
1191 JSSVGElementWrapperFactory%cpp JSSVGElementWrapperFactory%h SVGElementFactory%cpp SVGElementFactory%h SVGElementTypeHelpers%h SVGNames%cpp SVGNames%h : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm svg/svgtags.in svg/svgattrs.in
1192         $(PERL) $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --factory --wrapperFactory
1193
1194 endif
1195
1196 XLinkNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm svg/xlinkattrs.in
1197         $(PERL) $< --attrs $(WebCore)/svg/xlinkattrs.in
1198
1199 # --------
1200
1201 # Register event constructors and targets
1202
1203 EVENT_NAMES = EventNames.in $(ADDITIONAL_EVENT_NAMES)
1204
1205 all : EventFactory.cpp EventHeaders.h EventInterfaces.h
1206 EventFactory%cpp EventHeaders%h EventInterfaces%h : dom/make_event_factory.pl $(EVENT_NAMES)
1207         $(PERL) $< $(addprefix --input , $(filter-out $(WebCore)/dom/make_event_factory.pl, $^))
1208
1209 EVENT_TARGET_FACTORY = EventTargetFactory.in $(ADDITIONAL_EVENT_TARGET_FACTORY)
1210
1211 all : EventTargetHeaders.h EventTargetInterfaces.h
1212 EventTargetHeaders%h EventTargetInterfaces%h : dom/make_event_factory.pl $(EVENT_TARGET_FACTORY)
1213         $(PERL) $< $(addprefix --input , $(filter-out $(WebCore)/dom/make_event_factory.pl, $^))
1214
1215 all : ExceptionCodeDescription.cpp ExceptionCodeDescription.h ExceptionHeaders.h ExceptionInterfaces.h
1216 ExceptionCodeDescription%cpp ExceptionCodeDescription%h ExceptionHeaders%h ExceptionInterfaces%h : dom/make_dom_exceptions.pl dom/DOMExceptions.in
1217         $(PERL) $< --input $(WebCore)/dom/DOMExceptions.in
1218
1219 # --------
1220
1221 # MathML tag and attribute names, and element factory
1222
1223 all : JSMathMLElementWrapperFactory.cpp JSMathMLElementWrapperFactory.h MathMLElementFactory.cpp MathMLElementFactory.h MathMLElementTypeHelpers.h MathMLNames.cpp MathMLNames.h
1224 JSMathMLElementWrapperFactory%cpp JSMathMLElementWrapperFactory%h MathMLElementFactory%cpp MathMLElementFactory%h MathMLElementTypeHelpers%h MathMLNames%cpp MathMLNames%h : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm mathml/mathtags.in mathml/mathattrs.in
1225         $(PERL) $< --tags $(WebCore)/mathml/mathtags.in --attrs $(WebCore)/mathml/mathattrs.in --factory --wrapperFactory
1226
1227 # --------
1228
1229 # Internal Settings
1230
1231 all : InternalSettingsGenerated.idl InternalSettingsGenerated.cpp InternalSettingsGenerated.h SettingsMacros.h
1232 InternalSettingsGenerated%idl InternalSettingsGenerated%cpp InternalSettingsGenerated%h SettingsMacros%h : page/make_settings.pl page/Settings.in
1233         $(PERL) $< --input $(WebCore)/page/Settings.in
1234
1235 # --------
1236
1237 # Common generator things
1238
1239 COMMON_BINDINGS_SCRIPTS = \
1240     bindings/scripts/CodeGenerator.pm \
1241     bindings/scripts/IDLParser.pm \
1242     bindings/scripts/generate-bindings.pl \
1243     bindings/scripts/preprocessor.pm
1244
1245 PREPROCESS_IDLS_SCRIPTS = \
1246     bindings/scripts/preprocess-idls.pl
1247
1248 # JS bindings generator
1249
1250 IDL_INCLUDES = \
1251     $(WebCore)/Modules \
1252     $(WebCore)/animation \
1253     $(WebCore)/css \
1254     $(WebCore)/crypto \
1255     $(WebCore)/dom \
1256     $(WebCore)/fileapi \
1257     $(WebCore)/html \
1258     $(WebCore)/html/canvas \
1259     $(WebCore)/html/shadow \
1260     $(WebCore)/html/track \
1261     $(WebCore)/inspector \
1262     $(WebCore)/loader/appcache \
1263     $(WebCore)/page \
1264     $(WebCore)/plugins \
1265     $(WebCore)/storage \
1266     $(WebCore)/svg \
1267     $(WebCore)/testing \
1268     $(WebCore)/workers \
1269     $(WebCore)/xml
1270
1271 IDL_COMMON_ARGS = $(IDL_INCLUDES:%=--include %) --write-dependencies --outputDir .
1272
1273 JS_BINDINGS_SCRIPTS = $(COMMON_BINDINGS_SCRIPTS) bindings/scripts/CodeGeneratorJS.pm
1274
1275 SUPPLEMENTAL_DEPENDENCY_FILE = ./SupplementalDependencies.txt
1276 SUPPLEMENTAL_MAKEFILE_DEPS = ./SupplementalDependencies.dep
1277 WINDOW_CONSTRUCTORS_FILE = ./DOMWindowConstructors.idl
1278 WORKERGLOBALSCOPE_CONSTRUCTORS_FILE = ./WorkerGlobalScopeConstructors.idl
1279 DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE = ./DedicatedWorkerGlobalScopeConstructors.idl
1280 IDL_FILES_TMP = ./idl_files.tmp
1281 IDL_ATTRIBUTES_FILE = $(WebCore)/bindings/scripts/IDLAttributes.txt
1282
1283 # The following lines get a newline character stored in a variable.
1284 # See <http://stackoverflow.com/questions/7039811/how-do-i-process-extremely-long-lists-of-files-in-a-make-recipe>.
1285 define NL
1286
1287
1288 endef
1289
1290 $(SUPPLEMENTAL_MAKEFILE_DEPS) : $(PREPROCESS_IDLS_SCRIPTS) $(JS_BINDING_IDLS) $(PLATFORM_FEATURE_DEFINES) DerivedSources.make
1291         $(foreach f,$(JS_BINDING_IDLS),@echo $(f)>>$(IDL_FILES_TMP)$(NL))
1292         $(PERL) $(WebCore)/bindings/scripts/preprocess-idls.pl --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --idlFilesList $(IDL_FILES_TMP) --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) --windowConstructorsFile $(WINDOW_CONSTRUCTORS_FILE) --workerGlobalScopeConstructorsFile $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) --dedicatedWorkerGlobalScopeConstructorsFile $(DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE) --supplementalMakefileDeps $@
1293         $(DELETE) $(IDL_FILES_TMP)
1294
1295 JS%.cpp JS%.h : %.idl $(JS_BINDINGS_SCRIPTS) $(IDL_ATTRIBUTES_FILE) $(WINDOW_CONSTRUCTORS_FILE) $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) $(PLATFORM_FEATURE_DEFINES)
1296         $(PERL) $(WebCore)/bindings/scripts/generate-bindings.pl $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --idlAttributesFile $(IDL_ATTRIBUTES_FILE) --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<
1297
1298 -include $(SUPPLEMENTAL_MAKEFILE_DEPS)
1299
1300 # Inspector interfaces
1301
1302 all : InspectorOverlayPage.h
1303
1304 InspectorOverlayPage.h : InspectorOverlayPage.html InspectorOverlayPage.css InspectorOverlayPage.js
1305         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/inline-and-minify-stylesheets-and-scripts.py $(WebCore)/inspector/InspectorOverlayPage.html ./InspectorOverlayPage.combined.html
1306         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl InspectorOverlayPage_html ./InspectorOverlayPage.combined.html InspectorOverlayPage.h
1307         $(DELETE) InspectorOverlayPage.combined.html
1308
1309 all : CommandLineAPIModuleSource.h
1310
1311 CommandLineAPIModuleSource.h : CommandLineAPIModuleSource.js
1312         echo "//# sourceURL=__InjectedScript_CommandLineAPIModuleSource.js" > ./CommandLineAPIModuleSource.min.js
1313         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/jsmin.py <$(WebCore)/inspector/CommandLineAPIModuleSource.js >> ./CommandLineAPIModuleSource.min.js
1314         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl CommandLineAPIModuleSource_js ./CommandLineAPIModuleSource.min.js CommandLineAPIModuleSource.h
1315         $(DELETE) CommandLineAPIModuleSource.min.js
1316
1317 # Web Replay inputs generator
1318
1319 INPUT_GENERATOR_SCRIPTS = \
1320     $(JavaScriptCore_SCRIPTS_DIR)/CodeGeneratorReplayInputs.py \
1321     $(JavaScriptCore_SCRIPTS_DIR)/CodeGeneratorReplayInputsTemplates.py \
1322 #
1323
1324 INPUT_GENERATOR_SPECIFICATIONS = \
1325     $(WebCore)/replay/WebInputs.json \
1326     $(JavaScriptCore_SCRIPTS_DIR)/JSInputs.json \
1327 #
1328
1329 all : WebReplayInputs.h
1330
1331 WebReplayInputs.h : $(INPUT_GENERATOR_SPECIFICATIONS) $(INPUT_GENERATOR_SCRIPTS)
1332         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/CodeGeneratorReplayInputs.py --outputDir . --framework WebCore $(INPUT_GENERATOR_SPECIFICATIONS)
1333
1334 -include $(JS_DOM_HEADERS:.h=.dep)
1335
1336 # WebCore JS Builtins
1337
1338 WebCore_BUILTINS_SOURCES = \
1339     ${WebCore}/Modules/fetch/DOMWindowFetch.js \
1340     $(WebCore)/Modules/fetch/FetchHeaders.js \
1341     $(WebCore)/Modules/fetch/FetchInternals.js \
1342     $(WebCore)/Modules/fetch/FetchRequest.js \
1343     $(WebCore)/Modules/fetch/FetchResponse.js \
1344     ${WebCore}/Modules/fetch/WorkerGlobalScopeFetch.js \
1345     $(WebCore)/Modules/mediastream/NavigatorUserMedia.js \
1346     $(WebCore)/Modules/mediastream/RTCPeerConnection.js \
1347     $(WebCore)/Modules/mediastream/RTCPeerConnectionInternals.js \
1348     $(WebCore)/Modules/streams/ByteLengthQueuingStrategy.js \
1349     $(WebCore)/Modules/streams/CountQueuingStrategy.js \
1350     $(WebCore)/Modules/streams/ReadableByteStreamController.js \
1351     $(WebCore)/Modules/streams/ReadableByteStreamInternals.js \
1352     $(WebCore)/Modules/streams/ReadableStream.js \
1353     $(WebCore)/Modules/streams/ReadableStreamDefaultController.js \
1354     $(WebCore)/Modules/streams/ReadableStreamInternals.js \
1355     $(WebCore)/Modules/streams/ReadableStreamDefaultReader.js \
1356     $(WebCore)/Modules/streams/StreamInternals.js \
1357     $(WebCore)/Modules/streams/WritableStream.js \
1358     $(WebCore)/Modules/streams/WritableStreamInternals.js \
1359     $(WebCore)/xml/XMLHttpRequest.js \
1360 #
1361
1362 BUILTINS_GENERATOR_SCRIPTS = \
1363     $(JavaScriptCore_SCRIPTS_DIR)/builtins.py \
1364     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generator.py \
1365     $(JavaScriptCore_SCRIPTS_DIR)/builtins_model.py \
1366     $(JavaScriptCore_SCRIPTS_DIR)/builtins_templates.py \
1367     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_combined_header.py \
1368     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_combined_implementation.py \
1369     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_separate_header.py \
1370     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_separate_implementation.py \
1371     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_internals_wrapper_header.py \
1372     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_internals_wrapper_implementation.py \
1373     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_wrapper_header.py \
1374     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_wrapper_implementation.py \
1375     $(JavaScriptCore_SCRIPTS_DIR)/generate-js-builtins.py \
1376     $(JavaScriptCore_SCRIPTS_DIR)/lazywriter.py \
1377 #
1378
1379 WebCore_BUILTINS_WRAPPERS = \
1380     WebCoreJSBuiltins.h \
1381     WebCoreJSBuiltins.cpp \
1382     WebCoreJSBuiltinInternals.h \
1383     WebCoreJSBuiltinInternals.cpp \
1384 #
1385
1386 # Adding/removing scripts should trigger regeneration, but changing which builtins are
1387 # generated should not affect other builtins when not passing '--combined' to the generator.
1388
1389 WebCore_BUILTINS_SOURCES_LIST : $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py DerivedSources.make
1390         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py '$(WebCore_BUILTINS_SOURCES)' $@
1391
1392 WebCore_BUILTINS_DEPENDENCIES_LIST : $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py DerivedSources.make
1393         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py '$(BUILTINS_GENERATOR_SCRIPTS)' $@
1394
1395 $(firstword $(WebCore_BUILTINS_WRAPPERS)): $(WebCore_BUILTINS_SOURCES) WebCore_BUILTINS_SOURCES_LIST $(BUILTINS_GENERATOR_SCRIPTS) WebCore_BUILTINS_DEPENDENCIES_LIST
1396         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/generate-js-builtins.py --wrappers-only --output-directory . --framework WebCore $(WebCore_BUILTINS_SOURCES)
1397
1398 %Builtins.h: %.js $(BUILTINS_GENERATOR_SCRIPTS) WebCore_BUILTINS_DEPENDENCIES_LIST
1399         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/generate-js-builtins.py --output-directory . --framework WebCore $<
1400
1401 all : $(notdir $(WebCore_BUILTINS_SOURCES:%.js=%Builtins.h)) $(firstword $(WebCore_BUILTINS_WRAPPERS))
1402
1403 # ------------------------
1404
1405 # Mac-specific rules
1406
1407 ifeq ($(OS),MACOS)
1408
1409 all : CharsetData.cpp
1410
1411 # --------
1412
1413 # character set name table
1414
1415 ifeq ($(WTF_PLATFORM_IOS),1)
1416 ENCODINGS_FILENAME := ios-encodings.txt
1417 else
1418 ENCODINGS_FILENAME := mac-encodings.txt
1419 endif # WTF_PLATFORM_IOS
1420
1421 CharsetData.cpp : platform/text/mac/make-charset-table.pl platform/text/mac/character-sets.txt platform/text/mac/$(ENCODINGS_FILENAME)
1422         $(PERL) $^ kTextEncoding > $@
1423
1424 # --------
1425
1426 endif # MACOS
1427
1428 # ------------------------
1429
1430 # Header detection
1431
1432 ifeq ($(OS),Windows_NT)
1433
1434 all : WebCoreHeaderDetection.h
1435
1436 WebCoreHeaderDetection.h : $(WebCore)/AVFoundationSupport.py DerivedSources.make
1437         $(PYTHON) $(WebCore)/AVFoundationSupport.py $(WEBKIT_LIBRARIES) > $@
1438
1439 endif # Windows_NT