[MediaControls][iOS] Enable JavaScript Media Controls on iOS.
[WebKit-https.git] / Source / WebCore / DerivedSources.make
1 # Copyright (C) 2006, 2007, 2008, 2012 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 Computer, 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/encryptedmedia \
32     $(WebCore)/Modules/geolocation \
33     $(WebCore)/Modules/indexeddb \
34     $(WebCore)/Modules/indieui \
35     $(WebCore)/Modules/mediacontrols \
36     $(WebCore)/Modules/mediasource \
37     $(WebCore)/Modules/mediastream \
38     $(WebCore)/Modules/notifications \
39     $(WebCore)/Modules/plugins \
40     $(WebCore)/Modules/quota \
41     $(WebCore)/Modules/speech \
42     $(WebCore)/Modules/webaudio \
43     $(WebCore)/Modules/webdatabase \
44     $(WebCore)/Modules/websockets \
45     $(WebCore)/bindings/generic \
46     $(WebCore)/bindings/js \
47     $(WebCore)/bindings/objc \
48     $(WebCore)/crypto \
49     $(WebCore)/css \
50     $(WebCore)/dom \
51     $(WebCore)/editing \
52     $(WebCore)/fileapi \
53     $(WebCore)/html \
54     $(WebCore)/html/canvas \
55     $(WebCore)/html/shadow \
56     $(WebCore)/html/track \
57     $(WebCore)/inspector \
58     $(WebCore)/loader/appcache \
59     $(WebCore)/page \
60     $(WebCore)/plugins \
61     $(WebCore)/storage \
62     $(WebCore)/xml \
63     $(WebCore)/workers \
64     $(WebCore)/svg \
65     $(WebCore)/testing \
66     $(WebCore)/websockets \
67 #
68
69 BINDING_IDLS = \
70     $(WebCore)/Modules/encryptedmedia/MediaKeyMessageEvent.idl \
71     $(WebCore)/Modules/encryptedmedia/MediaKeyNeededEvent.idl \
72     $(WebCore)/Modules/encryptedmedia/MediaKeySession.idl \
73     $(WebCore)/Modules/encryptedmedia/MediaKeys.idl \
74     $(WebCore)/Modules/geolocation/Coordinates.idl \
75     $(WebCore)/Modules/geolocation/Geolocation.idl \
76     $(WebCore)/Modules/geolocation/Geoposition.idl \
77     $(WebCore)/Modules/geolocation/NavigatorGeolocation.idl \
78     $(WebCore)/Modules/geolocation/PositionCallback.idl \
79     $(WebCore)/Modules/geolocation/PositionError.idl \
80     $(WebCore)/Modules/geolocation/PositionErrorCallback.idl \
81     $(WebCore)/Modules/indexeddb/DOMWindowIndexedDatabase.idl \
82     $(WebCore)/Modules/indexeddb/IDBAny.idl \
83     $(WebCore)/Modules/indexeddb/IDBCursor.idl \
84     $(WebCore)/Modules/indexeddb/IDBCursorWithValue.idl \
85     $(WebCore)/Modules/indexeddb/IDBDatabase.idl \
86     $(WebCore)/Modules/indexeddb/IDBFactory.idl \
87     $(WebCore)/Modules/indexeddb/IDBIndex.idl \
88     $(WebCore)/Modules/indexeddb/IDBKeyRange.idl \
89     $(WebCore)/Modules/indexeddb/IDBObjectStore.idl \
90     $(WebCore)/Modules/indexeddb/IDBOpenDBRequest.idl \
91     $(WebCore)/Modules/indexeddb/IDBRequest.idl \
92     $(WebCore)/Modules/indexeddb/IDBTransaction.idl \
93     $(WebCore)/Modules/indexeddb/IDBVersionChangeEvent.idl \
94     $(WebCore)/Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl \
95     $(WebCore)/Modules/indieui/UIRequestEvent.idl \
96     $(WebCore)/Modules/mediacontrols/MediaControlsHost.idl \
97         $(WebCore)/Modules/mediasource/DOMURLMediaSource.idl \
98         $(WebCore)/Modules/mediasource/AudioTrackMediaSource.idl \
99         $(WebCore)/Modules/mediasource/MediaSource.idl \
100         $(WebCore)/Modules/mediasource/SourceBuffer.idl \
101         $(WebCore)/Modules/mediasource/SourceBufferList.idl \
102     $(WebCore)/Modules/mediasource/SourceBuffer.idl \
103     $(WebCore)/Modules/mediasource/SourceBufferList.idl \
104         $(WebCore)/Modules/mediasource/TextTrackMediaSource.idl \
105         $(WebCore)/Modules/mediasource/VideoTrackMediaSource.idl \
106         $(WebCore)/Modules/mediasource/VideoPlaybackQuality.idl \
107         $(WebCore)/Modules/mediastream/AllVideoCapabilities.idl \
108         $(WebCore)/Modules/mediastream/AllAudioCapabilities.idl \
109         $(WebCore)/Modules/mediastream/AudioStreamTrack.idl \
110     $(WebCore)/Modules/mediastream/CapabilityRange.idl \
111     $(WebCore)/Modules/mediastream/HTMLMediaElementMediaStream.idl \
112     $(WebCore)/Modules/mediastream/MediaSourceStates.idl \
113         $(WebCore)/Modules/mediastream/MediaStream.idl \
114         $(WebCore)/Modules/mediastream/MediaStreamCapabilities.idl \
115     $(WebCore)/Modules/mediastream/MediaStreamEvent.idl \
116     $(WebCore)/Modules/mediastream/MediaStreamTrack.idl \
117     $(WebCore)/Modules/mediastream/MediaStreamTrackEvent.idl \
118     $(WebCore)/Modules/mediastream/MediaStreamTrackSourcesCallback.idl \
119     $(WebCore)/Modules/mediastream/MediaTrackConstraint.idl \
120     $(WebCore)/Modules/mediastream/MediaTrackConstraints.idl \
121     $(WebCore)/Modules/mediastream/MediaTrackConstraintSet.idl \
122     $(WebCore)/Modules/mediastream/NavigatorMediaStream.idl \
123     $(WebCore)/Modules/mediastream/NavigatorUserMediaError.idl \
124     $(WebCore)/Modules/mediastream/NavigatorUserMediaErrorCallback.idl \
125     $(WebCore)/Modules/mediastream/NavigatorUserMediaSuccessCallback.idl \
126     $(WebCore)/Modules/mediastream/RTCDTMFSender.idl \
127     $(WebCore)/Modules/mediastream/RTCDTMFToneChangeEvent.idl \
128     $(WebCore)/Modules/mediastream/RTCDataChannel.idl \
129     $(WebCore)/Modules/mediastream/RTCDataChannelEvent.idl \
130     $(WebCore)/Modules/mediastream/RTCIceCandidate.idl \
131     $(WebCore)/Modules/mediastream/RTCIceCandidateEvent.idl \
132     $(WebCore)/Modules/mediastream/RTCPeerConnection.idl \
133     $(WebCore)/Modules/mediastream/RTCPeerConnectionErrorCallback.idl \
134     $(WebCore)/Modules/mediastream/RTCSessionDescription.idl \
135     $(WebCore)/Modules/mediastream/RTCSessionDescriptionCallback.idl \
136     $(WebCore)/Modules/mediastream/RTCStatsCallback.idl \
137     $(WebCore)/Modules/mediastream/RTCStatsReport.idl \
138     $(WebCore)/Modules/mediastream/RTCStatsResponse.idl \
139         $(WebCore)/Modules/mediastream/VideoStreamTrack.idl \
140     $(WebCore)/Modules/mediastream/SourceInfo.idl \
141     $(WebCore)/Modules/notifications/DOMWindowNotifications.idl \
142     $(WebCore)/Modules/notifications/Notification.idl \
143     $(WebCore)/Modules/notifications/NotificationCenter.idl \
144     $(WebCore)/Modules/notifications/NotificationPermissionCallback.idl \
145     $(WebCore)/Modules/notifications/WorkerGlobalScopeNotifications.idl \
146     $(WebCore)/Modules/plugins/QuickTimePluginReplacement.idl \
147     $(WebCore)/Modules/quota/DOMWindowQuota.idl \
148     $(WebCore)/Modules/quota/NavigatorStorageQuota.idl \
149     $(WebCore)/Modules/quota/StorageInfo.idl \
150     $(WebCore)/Modules/quota/StorageErrorCallback.idl \
151     $(WebCore)/Modules/quota/StorageQuota.idl \
152     $(WebCore)/Modules/quota/StorageQuotaCallback.idl \
153     $(WebCore)/Modules/quota/StorageUsageCallback.idl \
154     $(WebCore)/Modules/quota/WorkerNavigatorStorageQuota.idl \
155     $(WebCore)/Modules/speech/DOMWindowSpeechSynthesis.idl \
156     $(WebCore)/Modules/speech/SpeechSynthesis.idl \
157     $(WebCore)/Modules/speech/SpeechSynthesisEvent.idl \
158     $(WebCore)/Modules/speech/SpeechSynthesisUtterance.idl \
159     $(WebCore)/Modules/speech/SpeechSynthesisVoice.idl \
160     $(WebCore)/Modules/webaudio/AudioBuffer.idl \
161     $(WebCore)/Modules/webaudio/AudioBufferCallback.idl \
162     $(WebCore)/Modules/webaudio/AudioBufferSourceNode.idl \
163     $(WebCore)/Modules/webaudio/ChannelMergerNode.idl \
164     $(WebCore)/Modules/webaudio/ChannelSplitterNode.idl \
165     $(WebCore)/Modules/webaudio/AudioContext.idl \
166     $(WebCore)/Modules/webaudio/AudioDestinationNode.idl \
167     $(WebCore)/Modules/webaudio/GainNode.idl \
168     $(WebCore)/Modules/webaudio/AudioListener.idl \
169     $(WebCore)/Modules/webaudio/AudioNode.idl \
170     $(WebCore)/Modules/webaudio/PannerNode.idl \
171     $(WebCore)/Modules/webaudio/AudioParam.idl \
172     $(WebCore)/Modules/webaudio/AudioProcessingEvent.idl \
173     $(WebCore)/Modules/webaudio/BiquadFilterNode.idl \
174     $(WebCore)/Modules/webaudio/ConvolverNode.idl \
175     $(WebCore)/Modules/webaudio/DelayNode.idl \
176     $(WebCore)/Modules/webaudio/DynamicsCompressorNode.idl \
177     $(WebCore)/Modules/webaudio/ScriptProcessorNode.idl \
178     $(WebCore)/Modules/webaudio/MediaElementAudioSourceNode.idl \
179     $(WebCore)/Modules/webaudio/MediaStreamAudioDestinationNode.idl \
180     $(WebCore)/Modules/webaudio/MediaStreamAudioSourceNode.idl \
181     $(WebCore)/Modules/webaudio/OscillatorNode.idl \
182     $(WebCore)/Modules/webaudio/OfflineAudioContext.idl \
183     $(WebCore)/Modules/webaudio/OfflineAudioCompletionEvent.idl \
184     $(WebCore)/Modules/webaudio/AnalyserNode.idl \
185     $(WebCore)/Modules/webaudio/WaveShaperNode.idl \
186     $(WebCore)/Modules/webaudio/PeriodicWave.idl \
187     $(WebCore)/Modules/webdatabase/DOMWindowWebDatabase.idl \
188     $(WebCore)/Modules/webdatabase/Database.idl \
189     $(WebCore)/Modules/webdatabase/DatabaseCallback.idl \
190     $(WebCore)/Modules/webdatabase/DatabaseSync.idl \
191     $(WebCore)/Modules/webdatabase/SQLError.idl \
192     $(WebCore)/Modules/webdatabase/SQLException.idl \
193     $(WebCore)/Modules/webdatabase/SQLResultSet.idl \
194     $(WebCore)/Modules/webdatabase/SQLResultSetRowList.idl \
195     $(WebCore)/Modules/webdatabase/SQLStatementCallback.idl \
196     $(WebCore)/Modules/webdatabase/SQLStatementErrorCallback.idl \
197     $(WebCore)/Modules/webdatabase/SQLTransaction.idl \
198     $(WebCore)/Modules/webdatabase/SQLTransactionCallback.idl \
199     $(WebCore)/Modules/webdatabase/SQLTransactionErrorCallback.idl \
200     $(WebCore)/Modules/webdatabase/SQLTransactionSync.idl \
201     $(WebCore)/Modules/webdatabase/SQLTransactionSyncCallback.idl \
202     $(WebCore)/Modules/webdatabase/WorkerGlobalScopeWebDatabase.idl \
203     $(WebCore)/Modules/websockets/CloseEvent.idl \
204     $(WebCore)/Modules/websockets/WebSocket.idl \
205     $(WebCore)/crypto/CryptoKey.idl \
206     $(WebCore)/crypto/CryptoKeyPair.idl \
207     $(WebCore)/crypto/SubtleCrypto.idl \
208     $(WebCore)/css/CSSCharsetRule.idl \
209     $(WebCore)/css/CSSFontFaceLoadEvent.idl \
210     $(WebCore)/css/CSSFontFaceRule.idl \
211     $(WebCore)/css/CSSHostRule.idl \
212     $(WebCore)/css/CSSImportRule.idl \
213     $(WebCore)/css/CSSMediaRule.idl \
214     $(WebCore)/css/CSSPageRule.idl \
215     $(WebCore)/css/CSSPrimitiveValue.idl \
216     $(WebCore)/css/CSSRule.idl \
217     $(WebCore)/css/CSSRuleList.idl \
218     $(WebCore)/css/CSSStyleDeclaration.idl \
219     $(WebCore)/css/CSSStyleRule.idl \
220     $(WebCore)/css/CSSStyleSheet.idl \
221     $(WebCore)/css/CSSSupportsRule.idl \
222     $(WebCore)/css/CSSUnknownRule.idl \
223     $(WebCore)/css/CSSValue.idl \
224     $(WebCore)/css/CSSValueList.idl \
225     $(WebCore)/css/Counter.idl \
226     $(WebCore)/css/DOMWindowCSS.idl \
227     $(WebCore)/css/FontLoader.idl \
228     $(WebCore)/css/MediaList.idl \
229     $(WebCore)/css/MediaQueryList.idl \
230     $(WebCore)/css/MediaQueryListListener.idl \
231     $(WebCore)/css/RGBColor.idl \
232     $(WebCore)/css/Rect.idl \
233     $(WebCore)/css/StyleMedia.idl \
234     $(WebCore)/css/StyleSheet.idl \
235     $(WebCore)/css/StyleSheetList.idl \
236     $(WebCore)/css/WebKitCSSFilterValue.idl \
237     $(WebCore)/css/WebKitCSSFilterRule.idl \
238     $(WebCore)/css/WebKitCSSKeyframeRule.idl \
239     $(WebCore)/css/WebKitCSSKeyframesRule.idl \
240     $(WebCore)/css/WebKitCSSMatrix.idl \
241     $(WebCore)/css/WebKitCSSMixFunctionValue.idl \
242     $(WebCore)/css/WebKitCSSRegionRule.idl \
243     $(WebCore)/css/WebKitCSSTransformValue.idl \
244     $(WebCore)/css/WebKitCSSViewportRule.idl \
245     $(WebCore)/dom/Attr.idl \
246     $(WebCore)/dom/BeforeLoadEvent.idl \
247     $(WebCore)/dom/BeforeUnloadEvent.idl \
248     $(WebCore)/dom/CDATASection.idl \
249     $(WebCore)/dom/CharacterData.idl \
250     $(WebCore)/dom/ChildNode.idl \
251     $(WebCore)/dom/ClientRect.idl \
252     $(WebCore)/dom/ClientRectList.idl \
253     $(WebCore)/dom/Clipboard.idl \
254     $(WebCore)/dom/Comment.idl \
255     $(WebCore)/dom/CompositionEvent.idl \
256     $(WebCore)/dom/CustomEvent.idl \
257     $(WebCore)/dom/DOMCoreException.idl \
258     $(WebCore)/dom/DOMError.idl \
259     $(WebCore)/dom/DOMImplementation.idl \
260     $(WebCore)/dom/DOMStringList.idl \
261     $(WebCore)/dom/DOMStringMap.idl \
262     $(WebCore)/dom/DataTransferItem.idl \
263     $(WebCore)/dom/DataTransferItemList.idl \
264     $(WebCore)/dom/DeviceMotionEvent.idl \
265     $(WebCore)/dom/DeviceOrientationEvent.idl \
266     $(WebCore)/dom/Document.idl \
267     $(WebCore)/dom/DocumentFragment.idl \
268     $(WebCore)/dom/DocumentType.idl \
269     $(WebCore)/dom/Element.idl \
270     $(WebCore)/dom/Entity.idl \
271     $(WebCore)/dom/EntityReference.idl \
272     $(WebCore)/dom/ErrorEvent.idl \
273     $(WebCore)/dom/Event.idl \
274     $(WebCore)/dom/EventException.idl \
275     $(WebCore)/dom/EventListener.idl \
276     $(WebCore)/dom/EventTarget.idl \
277     $(WebCore)/dom/FocusEvent.idl \
278     $(WebCore)/dom/HashChangeEvent.idl \
279     $(WebCore)/dom/KeyboardEvent.idl \
280     $(WebCore)/dom/MessageChannel.idl \
281     $(WebCore)/dom/MessageEvent.idl \
282     $(WebCore)/dom/MessagePort.idl \
283     $(WebCore)/dom/MouseEvent.idl \
284     $(WebCore)/dom/MutationEvent.idl \
285     $(WebCore)/dom/MutationObserver.idl \
286     $(WebCore)/dom/MutationRecord.idl \
287     $(WebCore)/dom/DOMNamedFlowCollection.idl \
288     $(WebCore)/dom/NamedNodeMap.idl \
289     $(WebCore)/dom/Node.idl \
290     $(WebCore)/dom/NodeFilter.idl \
291     $(WebCore)/dom/NodeIterator.idl \
292     $(WebCore)/dom/NodeList.idl \
293     $(WebCore)/dom/Notation.idl \
294     $(WebCore)/dom/OverflowEvent.idl \
295     $(WebCore)/dom/PageTransitionEvent.idl \
296     $(WebCore)/dom/PopStateEvent.idl \
297     $(WebCore)/dom/ProcessingInstruction.idl \
298     $(WebCore)/dom/ProgressEvent.idl \
299     $(WebCore)/dom/ProgressEvent.idl \
300     $(WebCore)/dom/Range.idl \
301     $(WebCore)/dom/RangeException.idl \
302     $(WebCore)/dom/RequestAnimationFrameCallback.idl \
303     $(WebCore)/dom/ShadowRoot.idl \
304     $(WebCore)/dom/StringCallback.idl \
305     $(WebCore)/dom/Text.idl \
306     $(WebCore)/dom/TextEvent.idl \
307     $(WebCore)/dom/Touch.idl \
308     $(WebCore)/dom/TouchEvent.idl \
309     $(WebCore)/dom/TouchList.idl \
310     $(WebCore)/dom/TransitionEvent.idl \
311     $(WebCore)/dom/TreeWalker.idl \
312     $(WebCore)/dom/UIEvent.idl \
313     $(WebCore)/dom/WebKitAnimationEvent.idl \
314     $(WebCore)/dom/WebKitNamedFlow.idl \
315     $(WebCore)/dom/WebKitTransitionEvent.idl \
316     $(WebCore)/dom/WheelEvent.idl \
317     $(WebCore)/fileapi/Blob.idl \
318     $(WebCore)/fileapi/File.idl \
319     $(WebCore)/fileapi/FileError.idl \
320     $(WebCore)/fileapi/FileException.idl \
321     $(WebCore)/fileapi/FileList.idl \
322     $(WebCore)/fileapi/FileReader.idl \
323     $(WebCore)/fileapi/FileReaderSync.idl \
324     $(WebCore)/html/DOMFormData.idl \
325     $(WebCore)/html/DOMSettableTokenList.idl \
326     $(WebCore)/html/DOMTokenList.idl \
327     $(WebCore)/html/DOMURL.idl \
328     $(WebCore)/html/HTMLAllCollection.idl \
329     $(WebCore)/html/HTMLAnchorElement.idl \
330     $(WebCore)/html/HTMLAppletElement.idl \
331     $(WebCore)/html/HTMLAreaElement.idl \
332     $(WebCore)/html/HTMLAudioElement.idl \
333     $(WebCore)/html/HTMLBRElement.idl \
334     $(WebCore)/html/HTMLBaseElement.idl \
335     $(WebCore)/html/HTMLBaseFontElement.idl \
336     $(WebCore)/html/HTMLBodyElement.idl \
337     $(WebCore)/html/HTMLButtonElement.idl \
338     $(WebCore)/html/HTMLCanvasElement.idl \
339     $(WebCore)/html/HTMLCollection.idl \
340     $(WebCore)/html/HTMLDListElement.idl \
341     $(WebCore)/html/HTMLDataListElement.idl \
342     $(WebCore)/html/HTMLDetailsElement.idl \
343     $(WebCore)/html/HTMLDirectoryElement.idl \
344     $(WebCore)/html/HTMLDivElement.idl \
345     $(WebCore)/html/HTMLDocument.idl \
346     $(WebCore)/html/HTMLElement.idl \
347     $(WebCore)/html/HTMLEmbedElement.idl \
348     $(WebCore)/html/HTMLFieldSetElement.idl \
349     $(WebCore)/html/HTMLFontElement.idl \
350     $(WebCore)/html/HTMLFormControlsCollection.idl \
351     $(WebCore)/html/HTMLFormElement.idl \
352     $(WebCore)/html/HTMLFrameElement.idl \
353     $(WebCore)/html/HTMLFrameSetElement.idl \
354     $(WebCore)/html/HTMLHRElement.idl \
355     $(WebCore)/html/HTMLHeadElement.idl \
356     $(WebCore)/html/HTMLHeadingElement.idl \
357     $(WebCore)/html/HTMLHtmlElement.idl \
358     $(WebCore)/html/HTMLIFrameElement.idl \
359     $(WebCore)/html/HTMLImageElement.idl \
360     $(WebCore)/html/HTMLInputElement.idl \
361     $(WebCore)/html/HTMLKeygenElement.idl \
362     $(WebCore)/html/HTMLLIElement.idl \
363     $(WebCore)/html/HTMLLabelElement.idl \
364     $(WebCore)/html/HTMLLegendElement.idl \
365     $(WebCore)/html/HTMLLinkElement.idl \
366     $(WebCore)/html/HTMLMapElement.idl \
367     $(WebCore)/html/HTMLMarqueeElement.idl \
368     $(WebCore)/html/HTMLMediaElement.idl \
369     $(WebCore)/html/HTMLMenuElement.idl \
370     $(WebCore)/html/HTMLMetaElement.idl \
371     $(WebCore)/html/HTMLMeterElement.idl \
372     $(WebCore)/html/HTMLModElement.idl \
373     $(WebCore)/html/HTMLOListElement.idl \
374     $(WebCore)/html/HTMLObjectElement.idl \
375     $(WebCore)/html/HTMLOptGroupElement.idl \
376     $(WebCore)/html/HTMLOptionElement.idl \
377     $(WebCore)/html/HTMLOptionsCollection.idl \
378     $(WebCore)/html/HTMLOutputElement.idl \
379     $(WebCore)/html/HTMLParagraphElement.idl \
380     $(WebCore)/html/HTMLParamElement.idl \
381     $(WebCore)/html/HTMLPreElement.idl \
382     $(WebCore)/html/HTMLProgressElement.idl \
383     $(WebCore)/html/HTMLQuoteElement.idl \
384     $(WebCore)/html/HTMLScriptElement.idl \
385     $(WebCore)/html/HTMLSelectElement.idl \
386     $(WebCore)/html/HTMLSourceElement.idl \
387     $(WebCore)/html/HTMLSpanElement.idl \
388     $(WebCore)/html/HTMLStyleElement.idl \
389     $(WebCore)/html/HTMLTableCaptionElement.idl \
390     $(WebCore)/html/HTMLTableCellElement.idl \
391     $(WebCore)/html/HTMLTableColElement.idl \
392     $(WebCore)/html/HTMLTableElement.idl \
393     $(WebCore)/html/HTMLTableRowElement.idl \
394     $(WebCore)/html/HTMLTableSectionElement.idl \
395     $(WebCore)/html/HTMLTemplateElement.idl \
396     $(WebCore)/html/HTMLTextAreaElement.idl \
397     $(WebCore)/html/HTMLTitleElement.idl \
398     $(WebCore)/html/HTMLTrackElement.idl \
399     $(WebCore)/html/HTMLUListElement.idl \
400     $(WebCore)/html/HTMLUnknownElement.idl \
401     $(WebCore)/html/HTMLVideoElement.idl \
402     $(WebCore)/html/ImageData.idl \
403     $(WebCore)/html/MediaController.idl \
404     $(WebCore)/html/MediaError.idl \
405     $(WebCore)/html/MediaKeyError.idl \
406     $(WebCore)/html/MediaKeyEvent.idl \
407     $(WebCore)/html/RadioNodeList.idl \
408     $(WebCore)/html/TextMetrics.idl \
409     $(WebCore)/html/TimeRanges.idl \
410     $(WebCore)/html/ValidityState.idl \
411     $(WebCore)/html/VoidCallback.idl \
412     $(WebCore)/html/canvas/CanvasGradient.idl \
413     $(WebCore)/html/canvas/CanvasPattern.idl \
414     $(WebCore)/html/canvas/CanvasProxy.idl \
415     $(WebCore)/html/canvas/CanvasRenderingContext.idl \
416     $(WebCore)/html/canvas/CanvasRenderingContext2D.idl \
417     $(WebCore)/html/canvas/DOMPath.idl \
418     $(WebCore)/html/canvas/EXTDrawBuffers.idl \
419     $(WebCore)/html/canvas/EXTTextureFilterAnisotropic.idl \
420     $(WebCore)/html/canvas/OESElementIndexUint.idl \
421     $(WebCore)/html/canvas/OESStandardDerivatives.idl \
422     $(WebCore)/html/canvas/OESTextureFloat.idl \
423     $(WebCore)/html/canvas/OESTextureFloatLinear.idl \
424     $(WebCore)/html/canvas/OESTextureHalfFloat.idl \
425     $(WebCore)/html/canvas/OESVertexArrayObject.idl \
426     $(WebCore)/html/canvas/WebGLActiveInfo.idl \
427     $(WebCore)/html/canvas/WebGLBuffer.idl \
428     $(WebCore)/html/canvas/WebGLCompressedTextureATC.idl \
429     $(WebCore)/html/canvas/WebGLCompressedTexturePVRTC.idl \
430     $(WebCore)/html/canvas/WebGLCompressedTextureS3TC.idl \
431     $(WebCore)/html/canvas/WebGLContextAttributes.idl \
432     $(WebCore)/html/canvas/WebGLContextEvent.idl \
433     $(WebCore)/html/canvas/WebGLDebugRendererInfo.idl \
434     $(WebCore)/html/canvas/WebGLDebugShaders.idl \
435     $(WebCore)/html/canvas/WebGLDepthTexture.idl \
436     $(WebCore)/html/canvas/WebGLFramebuffer.idl \
437     $(WebCore)/html/canvas/WebGLLoseContext.idl \
438     $(WebCore)/html/canvas/WebGLProgram.idl \
439     $(WebCore)/html/canvas/WebGLRenderbuffer.idl \
440     $(WebCore)/html/canvas/WebGLRenderingContext.idl \
441     $(WebCore)/html/canvas/WebGLShader.idl \
442     $(WebCore)/html/canvas/WebGLShaderPrecisionFormat.idl \
443     $(WebCore)/html/canvas/WebGLTexture.idl \
444     $(WebCore)/html/canvas/WebGLUniformLocation.idl \
445     $(WebCore)/html/canvas/WebGLVertexArrayObjectOES.idl \
446     $(WebCore)/html/track/AudioTrack.idl \
447     $(WebCore)/html/track/AudioTrackList.idl \
448     $(WebCore)/html/track/TextTrack.idl \
449     $(WebCore)/html/track/TextTrackCue.idl \
450     $(WebCore)/html/track/TextTrackCueList.idl \
451     $(WebCore)/html/track/TextTrackList.idl \
452     $(WebCore)/html/track/TrackEvent.idl \
453     $(WebCore)/html/track/VideoTrack.idl \
454     $(WebCore)/html/track/VideoTrackList.idl \
455     $(WebCore)/inspector/CommandLineAPIHost.idl \
456     $(WebCore)/inspector/InjectedScriptHost.idl \
457     $(WebCore)/inspector/InspectorFrontendHost.idl \
458     $(WebCore)/inspector/ScriptProfile.idl \
459     $(WebCore)/inspector/ScriptProfileNode.idl \
460     $(WebCore)/loader/appcache/DOMApplicationCache.idl \
461     $(WebCore)/page/AbstractView.idl \
462     $(WebCore)/page/BarProp.idl \
463     $(WebCore)/page/Console.idl \
464     $(WebCore)/page/Crypto.idl \
465     $(WebCore)/page/DOMSecurityPolicy.idl \
466     $(WebCore)/page/DOMSelection.idl \
467     $(WebCore)/page/DOMWindow.idl \
468     $(WebCore)/page/EventSource.idl \
469     $(WebCore)/page/History.idl \
470     $(WebCore)/page/Location.idl \
471     $(WebCore)/page/Navigator.idl \
472     $(WebCore)/page/Performance.idl \
473     $(WebCore)/page/PerformanceNavigation.idl \
474     $(WebCore)/page/PerformanceTiming.idl \
475     $(WebCore)/page/Screen.idl \
476     $(WebCore)/page/SpeechInputEvent.idl \
477     $(WebCore)/page/SpeechInputResult.idl \
478     $(WebCore)/page/SpeechInputResultList.idl \
479     $(WebCore)/page/WebKitPoint.idl \
480     $(WebCore)/page/WindowBase64.idl \
481     $(WebCore)/page/WindowTimers.idl \
482     $(WebCore)/page/WorkerNavigator.idl \
483     $(WebCore)/plugins/DOMMimeType.idl \
484     $(WebCore)/plugins/DOMMimeTypeArray.idl \
485     $(WebCore)/plugins/DOMPlugin.idl \
486     $(WebCore)/plugins/DOMPluginArray.idl \
487     $(WebCore)/storage/Storage.idl \
488     $(WebCore)/storage/StorageEvent.idl \
489     $(WebCore)/svg/SVGAElement.idl \
490     $(WebCore)/svg/SVGAltGlyphDefElement.idl \
491     $(WebCore)/svg/SVGAltGlyphElement.idl \
492     $(WebCore)/svg/SVGAltGlyphItemElement.idl \
493     $(WebCore)/svg/SVGAngle.idl \
494     $(WebCore)/svg/SVGAnimateColorElement.idl \
495     $(WebCore)/svg/SVGAnimateElement.idl \
496     $(WebCore)/svg/SVGAnimateMotionElement.idl \
497     $(WebCore)/svg/SVGAnimateTransformElement.idl \
498     $(WebCore)/svg/SVGAnimatedAngle.idl \
499     $(WebCore)/svg/SVGAnimatedBoolean.idl \
500     $(WebCore)/svg/SVGAnimatedEnumeration.idl \
501     $(WebCore)/svg/SVGAnimatedInteger.idl \
502     $(WebCore)/svg/SVGAnimatedLength.idl \
503     $(WebCore)/svg/SVGAnimatedLengthList.idl \
504     $(WebCore)/svg/SVGAnimatedNumber.idl \
505     $(WebCore)/svg/SVGAnimatedNumberList.idl \
506     $(WebCore)/svg/SVGAnimatedPreserveAspectRatio.idl \
507     $(WebCore)/svg/SVGAnimatedRect.idl \
508     $(WebCore)/svg/SVGAnimatedString.idl \
509     $(WebCore)/svg/SVGAnimatedTransformList.idl \
510     $(WebCore)/svg/SVGAnimationElement.idl \
511     $(WebCore)/svg/SVGCircleElement.idl \
512     $(WebCore)/svg/SVGClipPathElement.idl \
513     $(WebCore)/svg/SVGColor.idl \
514     $(WebCore)/svg/SVGComponentTransferFunctionElement.idl \
515     $(WebCore)/svg/SVGCursorElement.idl \
516     $(WebCore)/svg/SVGDefsElement.idl \
517     $(WebCore)/svg/SVGDescElement.idl \
518     $(WebCore)/svg/SVGDocument.idl \
519     $(WebCore)/svg/SVGElement.idl \
520     $(WebCore)/svg/SVGElementInstance.idl \
521     $(WebCore)/svg/SVGElementInstanceList.idl \
522     $(WebCore)/svg/SVGEllipseElement.idl \
523     $(WebCore)/svg/SVGException.idl \
524     $(WebCore)/svg/SVGExternalResourcesRequired.idl \
525     $(WebCore)/svg/SVGFEBlendElement.idl \
526     $(WebCore)/svg/SVGFEColorMatrixElement.idl \
527     $(WebCore)/svg/SVGFEComponentTransferElement.idl \
528     $(WebCore)/svg/SVGFECompositeElement.idl \
529     $(WebCore)/svg/SVGFEConvolveMatrixElement.idl \
530     $(WebCore)/svg/SVGFEDiffuseLightingElement.idl \
531     $(WebCore)/svg/SVGFEDisplacementMapElement.idl \
532     $(WebCore)/svg/SVGFEDistantLightElement.idl \
533     $(WebCore)/svg/SVGFEDropShadowElement.idl \
534     $(WebCore)/svg/SVGFEFloodElement.idl \
535     $(WebCore)/svg/SVGFEFuncAElement.idl \
536     $(WebCore)/svg/SVGFEFuncBElement.idl \
537     $(WebCore)/svg/SVGFEFuncGElement.idl \
538     $(WebCore)/svg/SVGFEFuncRElement.idl \
539     $(WebCore)/svg/SVGFEGaussianBlurElement.idl \
540     $(WebCore)/svg/SVGFEImageElement.idl \
541     $(WebCore)/svg/SVGFEMergeElement.idl \
542     $(WebCore)/svg/SVGFEMergeNodeElement.idl \
543     $(WebCore)/svg/SVGFEMorphologyElement.idl \
544     $(WebCore)/svg/SVGFEOffsetElement.idl \
545     $(WebCore)/svg/SVGFEPointLightElement.idl \
546     $(WebCore)/svg/SVGFESpecularLightingElement.idl \
547     $(WebCore)/svg/SVGFESpotLightElement.idl \
548     $(WebCore)/svg/SVGFETileElement.idl \
549     $(WebCore)/svg/SVGFETurbulenceElement.idl \
550     $(WebCore)/svg/SVGFilterElement.idl \
551     $(WebCore)/svg/SVGFilterPrimitiveStandardAttributes.idl \
552     $(WebCore)/svg/SVGFitToViewBox.idl \
553     $(WebCore)/svg/SVGFontElement.idl \
554     $(WebCore)/svg/SVGFontFaceElement.idl \
555     $(WebCore)/svg/SVGFontFaceFormatElement.idl \
556     $(WebCore)/svg/SVGFontFaceNameElement.idl \
557     $(WebCore)/svg/SVGFontFaceSrcElement.idl \
558     $(WebCore)/svg/SVGFontFaceUriElement.idl \
559     $(WebCore)/svg/SVGForeignObjectElement.idl \
560     $(WebCore)/svg/SVGGElement.idl \
561     $(WebCore)/svg/SVGGlyphElement.idl \
562     $(WebCore)/svg/SVGGlyphRefElement.idl \
563     $(WebCore)/svg/SVGGradientElement.idl \
564     $(WebCore)/svg/SVGGraphicsElement.idl \
565     $(WebCore)/svg/SVGHKernElement.idl \
566     $(WebCore)/svg/SVGImageElement.idl \
567     $(WebCore)/svg/SVGLength.idl \
568     $(WebCore)/svg/SVGLengthList.idl \
569     $(WebCore)/svg/SVGLineElement.idl \
570     $(WebCore)/svg/SVGLinearGradientElement.idl \
571     $(WebCore)/svg/SVGMPathElement.idl \
572     $(WebCore)/svg/SVGMarkerElement.idl \
573     $(WebCore)/svg/SVGMaskElement.idl \
574     $(WebCore)/svg/SVGMatrix.idl \
575     $(WebCore)/svg/SVGMetadataElement.idl \
576     $(WebCore)/svg/SVGMissingGlyphElement.idl \
577     $(WebCore)/svg/SVGNumber.idl \
578     $(WebCore)/svg/SVGNumberList.idl \
579     $(WebCore)/svg/SVGPaint.idl \
580     $(WebCore)/svg/SVGPathElement.idl \
581     $(WebCore)/svg/SVGPathSeg.idl \
582     $(WebCore)/svg/SVGPathSegArcAbs.idl \
583     $(WebCore)/svg/SVGPathSegArcRel.idl \
584     $(WebCore)/svg/SVGPathSegClosePath.idl \
585     $(WebCore)/svg/SVGPathSegCurvetoCubicAbs.idl \
586     $(WebCore)/svg/SVGPathSegCurvetoCubicRel.idl \
587     $(WebCore)/svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
588     $(WebCore)/svg/SVGPathSegCurvetoCubicSmoothRel.idl \
589     $(WebCore)/svg/SVGPathSegCurvetoQuadraticAbs.idl \
590     $(WebCore)/svg/SVGPathSegCurvetoQuadraticRel.idl \
591     $(WebCore)/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
592     $(WebCore)/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
593     $(WebCore)/svg/SVGPathSegLinetoAbs.idl \
594     $(WebCore)/svg/SVGPathSegLinetoHorizontalAbs.idl \
595     $(WebCore)/svg/SVGPathSegLinetoHorizontalRel.idl \
596     $(WebCore)/svg/SVGPathSegLinetoRel.idl \
597     $(WebCore)/svg/SVGPathSegLinetoVerticalAbs.idl \
598     $(WebCore)/svg/SVGPathSegLinetoVerticalRel.idl \
599     $(WebCore)/svg/SVGPathSegList.idl \
600     $(WebCore)/svg/SVGPathSegMovetoAbs.idl \
601     $(WebCore)/svg/SVGPathSegMovetoRel.idl \
602     $(WebCore)/svg/SVGPatternElement.idl \
603     $(WebCore)/svg/SVGPoint.idl \
604     $(WebCore)/svg/SVGPointList.idl \
605     $(WebCore)/svg/SVGPolygonElement.idl \
606     $(WebCore)/svg/SVGPolylineElement.idl \
607     $(WebCore)/svg/SVGPreserveAspectRatio.idl \
608     $(WebCore)/svg/SVGRadialGradientElement.idl \
609     $(WebCore)/svg/SVGRect.idl \
610     $(WebCore)/svg/SVGRectElement.idl \
611     $(WebCore)/svg/SVGRenderingIntent.idl \
612     $(WebCore)/svg/SVGSVGElement.idl \
613     $(WebCore)/svg/SVGScriptElement.idl \
614     $(WebCore)/svg/SVGSetElement.idl \
615     $(WebCore)/svg/SVGStopElement.idl \
616     $(WebCore)/svg/SVGStringList.idl \
617     $(WebCore)/svg/SVGStyleElement.idl \
618     $(WebCore)/svg/SVGSwitchElement.idl \
619     $(WebCore)/svg/SVGSymbolElement.idl \
620     $(WebCore)/svg/SVGTRefElement.idl \
621     $(WebCore)/svg/SVGTSpanElement.idl \
622     $(WebCore)/svg/SVGTests.idl \
623     $(WebCore)/svg/SVGTextContentElement.idl \
624     $(WebCore)/svg/SVGTextElement.idl \
625     $(WebCore)/svg/SVGTextPathElement.idl \
626     $(WebCore)/svg/SVGTextPositioningElement.idl \
627     $(WebCore)/svg/SVGTitleElement.idl \
628     $(WebCore)/svg/SVGTransform.idl \
629     $(WebCore)/svg/SVGTransformList.idl \
630     $(WebCore)/svg/SVGURIReference.idl \
631     $(WebCore)/svg/SVGUnitTypes.idl \
632     $(WebCore)/svg/SVGUseElement.idl \
633     $(WebCore)/svg/SVGVKernElement.idl \
634     $(WebCore)/svg/SVGViewElement.idl \
635     $(WebCore)/svg/SVGViewSpec.idl \
636     $(WebCore)/svg/SVGZoomAndPan.idl \
637     $(WebCore)/svg/SVGZoomEvent.idl \
638     $(WebCore)/testing/Internals.idl \
639     $(WebCore)/testing/InternalSettings.idl \
640     $(WebCore)/testing/MallocStatistics.idl \
641     $(WebCore)/testing/MemoryInfo.idl \
642     $(WebCore)/testing/TypeConversions.idl \
643     $(WebCore)/workers/AbstractWorker.idl \
644     $(WebCore)/workers/DedicatedWorkerGlobalScope.idl \
645     $(WebCore)/workers/SharedWorker.idl \
646     $(WebCore)/workers/SharedWorkerGlobalScope.idl \
647     $(WebCore)/workers/Worker.idl \
648     $(WebCore)/workers/WorkerGlobalScope.idl \
649     $(WebCore)/workers/WorkerLocation.idl \
650     $(WebCore)/xml/DOMParser.idl \
651     $(WebCore)/xml/XMLHttpRequest.idl \
652     $(WebCore)/xml/XMLHttpRequestException.idl \
653     $(WebCore)/xml/XMLHttpRequestProgressEvent.idl \
654     $(WebCore)/xml/XMLHttpRequestUpload.idl \
655     $(WebCore)/xml/XMLSerializer.idl \
656     $(WebCore)/xml/XPathEvaluator.idl \
657     $(WebCore)/xml/XPathException.idl \
658     $(WebCore)/xml/XPathExpression.idl \
659     $(WebCore)/xml/XPathNSResolver.idl \
660     $(WebCore)/xml/XPathResult.idl \
661     $(WebCore)/xml/XSLTProcessor.idl \
662     InternalSettingsGenerated.idl
663 #
664
665 .PHONY : all
666
667 DOM_CLASSES=$(basename $(notdir $(BINDING_IDLS)))
668
669 JS_DOM_HEADERS=$(filter-out JSEventListener.h, $(DOM_CLASSES:%=JS%.h))
670
671 WEB_DOM_HEADERS :=
672
673 all : \
674     $(SUPPLEMENTAL_DEPENDENCY_FILE) \
675     $(WINDOW_CONSTRUCTORS_FILE) \
676     $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) \
677     $(JS_DOM_HEADERS) \
678     $(WEB_DOM_HEADERS) \
679     \
680     JSJavaScriptCallFrame.h \
681     \
682     CSSGrammar.cpp \
683     CSSPropertyNames.h \
684     CSSValueKeywords.h \
685     ColorData.cpp \
686     EventFactory.cpp \
687     EventTargetInterfaces.h \
688     ExceptionCodeDescription.cpp \
689     HTMLElementFactory.cpp \
690     HTMLEntityTable.cpp \
691     HTMLNames.cpp \
692     JSHTMLElementWrapperFactory.cpp \
693     JSSVGElementWrapperFactory.cpp \
694     PlugInsResources.h \
695     SVGElementFactory.cpp \
696     SVGNames.cpp \
697     UserAgentScripts.h \
698     UserAgentStyleSheets.h \
699     WebKitFontFamilyNames.cpp \
700     WebKitFontFamilyNames.h \
701     XLinkNames.cpp \
702     XMLNSNames.cpp \
703     XMLNames.cpp \
704     MathMLElementFactory.cpp \
705     MathMLNames.cpp \
706     XPathGrammar.cpp \
707 #
708
709 # --------
710
711 ADDITIONAL_IDL_DEFINES :=
712
713 ifeq ($(OS),MACOS)
714
715 FRAMEWORK_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) | perl -e 'print "-F " . join(" -F ", split(" ", <>));')
716 HEADER_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) | perl -e 'print "-I" . join(" -I", split(" ", <>));')
717 TEXT_PREPROCESSOR_FLAGS=-E -P -x c -traditional
718
719 ifneq ($(SDKROOT),)
720         SDK_FLAGS=-isysroot $(SDKROOT)
721 endif
722
723 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)
724     ENABLE_ORIENTATION_EVENTS = 1
725 endif
726
727 ifeq ($(PLATFORM_FEATURE_DEFINES),)
728 PLATFORM_FEATURE_DEFINES = Configurations/FeatureDefines.xcconfig
729 endif
730
731 endif # MACOS
732
733 ifndef ENABLE_ORIENTATION_EVENTS
734     ENABLE_ORIENTATION_EVENTS = 0
735 endif
736
737 ifndef ENABLE_DRAGGABLE_REGION
738     ENABLE_DRAGGABLE_REGION = 0
739 endif
740
741 ifeq ($(ENABLE_ORIENTATION_EVENTS), 1)
742     ADDITIONAL_IDL_DEFINES := $(ADDITIONAL_IDL_DEFINES) ENABLE_ORIENTATION_EVENTS
743 endif
744
745 ifeq ($(ENABLE_DRAGGABLE_REGION), 1)
746     ADDITIONAL_IDL_DEFINES := $(ADDITIONAL_IDL_DEFINES) ENABLE_DRAGGABLE_REGION
747 endif
748
749 # --------
750
751 # CSS property names and value keywords
752
753 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
754 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
755
756 ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
757     WEBCORE_CSS_PROPERTY_NAMES := $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/SVGCSSPropertyNames.in
758     WEBCORE_CSS_VALUE_KEYWORDS := $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/SVGCSSValueKeywords.in
759 endif
760
761 CSSPropertyNames.h : $(WEBCORE_CSS_PROPERTY_NAMES) css/makeprop.pl $(PLATFORM_FEATURE_DEFINES)
762         cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
763         perl -I$(WebCore)/bindings/scripts "$(WebCore)/css/makeprop.pl" --defines "$(FEATURE_DEFINES)"
764
765 CSSValueKeywords.h : $(WEBCORE_CSS_VALUE_KEYWORDS) css/makevalues.pl $(PLATFORM_FEATURE_DEFINES)
766         cat $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
767         perl -I$(WebCore)/bindings/scripts "$(WebCore)/css/makevalues.pl" --defines "$(FEATURE_DEFINES)"
768
769 # --------
770
771 # XMLViewer CSS
772
773 all : XMLViewerCSS.h
774
775 XMLViewerCSS.h : xml/XMLViewer.css
776         python "$(WebCore)/inspector/Scripts/cssmin.py" <"$(WebCore)/xml/XMLViewer.css" > ./XMLViewer.min.css
777         perl $(WebCore)/inspector/xxd.pl XMLViewer_css ./XMLViewer.min.css XMLViewerCSS.h
778         rm -f ./XMLViewer.min.css
779
780 # --------
781
782 # XMLViewer JS
783
784 all : XMLViewerJS.h
785
786 XMLViewerJS.h : xml/XMLViewer.js
787         python "$(WebCore)/inspector/Scripts/jsmin.py" <"$(WebCore)/xml/XMLViewer.js" > ./XMLViewer.min.js
788         perl $(WebCore)/inspector/xxd.pl XMLViewer_js ./XMLViewer.min.js XMLViewerJS.h
789         rm -f ./XMLViewer.min.js
790
791 # --------
792
793 # HTML entity names
794
795 HTMLEntityTable.cpp : html/parser/HTMLEntityNames.in $(WebCore)/html/parser/create-html-entity-table
796         python $(WebCore)/html/parser/create-html-entity-table -o HTMLEntityTable.cpp $(WebCore)/html/parser/HTMLEntityNames.in
797
798 # --------
799
800 # color names
801
802 ColorData.cpp : platform/ColorData.gperf $(WebCore)/make-hash-tools.pl
803         perl $(WebCore)/make-hash-tools.pl . $(WebCore)/platform/ColorData.gperf
804
805 # --------
806
807 # Path to bison
808
809 ifeq ($(OS),MACOS)
810 BISON=$(shell xcrun -find bison)
811 else
812 BISON=bison
813 endif
814
815 # --------
816
817 # CSS grammar
818 CSSGrammar.cpp : css/CSSGrammar.y.in $(PLATFORM_FEATURE_DEFINES)
819         perl -I $(WebCore)/bindings/scripts $(WebCore)/css/makegrammar.pl --extraDefines "$(FEATURE_DEFINES)" --outputDir . --bison "$(BISON)" --symbolsPrefix cssyy $<
820
821 # --------
822
823 # XPath grammar
824 XPathGrammar.cpp : xml/XPathGrammar.y $(PROJECT_FILE)
825         perl $(WebCore)/css/makegrammar.pl --outputDir . --bison "$(BISON)" --symbolsPrefix xpathyy $<
826
827 # --------
828
829 # user agent style sheets
830
831 USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html.css $(WebCore)/css/quirks.css $(WebCore)/css/view-source.css $(WebCore)/css/themeWin.css $(WebCore)/css/themeWinQuirks.css $(WebCore)/css/plugIns.css
832
833 ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
834     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/svg.css
835 endif
836
837 ifeq ($(findstring ENABLE_MATHML,$(FEATURE_DEFINES)), ENABLE_MATHML)
838     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mathml.css
839 endif
840
841 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
842     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControls.css
843 endif
844
845 ifeq ($(findstring ENABLE_FULLSCREEN_API,$(FEATURE_DEFINES)), ENABLE_FULLSCREEN_API)
846     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/fullscreen.css
847 endif
848
849 ifeq ($(findstring ENABLE_MEDIA_CONTROLS_SCRIPT,$(FEATURE_DEFINES)), ENABLE_MEDIA_CONTROLS_SCRIPT)
850         USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/Modules/mediacontrols/mediaControlsApple.css
851 ifeq ($(WTF_PLATFORM_IOS), 1)
852     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/Modules/mediacontrols/mediaControlsiOS.css
853 endif
854 endif
855
856 ifeq ($(OS),MACOS)
857         USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/Modules/plugins/QuickTimePluginReplacement.css
858 endif
859
860 UserAgentStyleSheets.h : css/make-css-file-arrays.pl bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS) $(PLATFORM_FEATURE_DEFINES)
861         perl -I$(WebCore)/bindings/scripts $< --defines "$(FEATURE_DEFINES)" $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
862
863 # --------
864
865 # user agent scripts
866
867 USER_AGENT_SCRIPTS = 
868
869 ifeq ($(findstring ENABLE_MEDIA_CONTROLS_SCRIPT,$(FEATURE_DEFINES)), ENABLE_MEDIA_CONTROLS_SCRIPT)
870         USER_AGENT_SCRIPTS := $(USER_AGENT_SCRIPTS) $(WebCore)/Modules/mediacontrols/mediaControlsApple.js
871 ifeq ($(WTF_PLATFORM_IOS), 1)
872         USER_AGENT_SCRIPTS := $(USER_AGENT_SCRIPTS) $(WebCore)/Modules/mediacontrols/mediaControlsiOS.js
873 endif
874 endif
875
876 ifeq ($(OS),MACOS)
877         USER_AGENT_SCRIPTS := $(USER_AGENT_SCRIPTS) $(WebCore)/Modules/plugins/QuickTimePluginReplacement.js
878 endif
879
880 UserAgentScripts.h : css/make-css-file-arrays.pl bindings/scripts/preprocessor.pm $(USER_AGENT_SCRIPTS) $(PLATFORM_FEATURE_DEFINES)
881         perl -I$(WebCore)/bindings/scripts $< --defines "$(FEATURE_DEFINES)" $@ UserAgentScriptsData.cpp $(USER_AGENT_SCRIPTS)
882
883 # --------
884
885 # plugIns resources
886
887 PLUG_INS_RESOURCES = $(WebCore)/Resources/plugIns.js
888
889 PlugInsResources.h : css/make-css-file-arrays.pl bindings/scripts/preprocessor.pm $(PLUG_INS_RESOURCES) $(PLATFORM_FEATURE_DEFINES)
890         perl -I$(WebCore)/bindings/scripts $< --defines "$(FEATURE_DEFINES)" $@ PlugInsResourcesData.cpp $(PLUG_INS_RESOURCES)
891
892 # --------
893
894 WebKitFontFamilyNames.cpp WebKitFontFamilyNames.h : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm css/WebKitFontFamilyNames.in
895         perl -I $(WebCore)/bindings/scripts $< --fonts $(WebCore)/css/WebKitFontFamilyNames.in
896
897 # HTML tag and attribute names
898
899 ifeq ($(findstring ENABLE_DATALIST_ELEMENT,$(FEATURE_DEFINES)), ENABLE_DATALIST_ELEMENT)
900     HTML_FLAGS := $(HTML_FLAGS) ENABLE_DATALIST_ELEMENT=1
901 endif
902
903 ifeq ($(findstring ENABLE_DETAILS_ELEMENT,$(FEATURE_DEFINES)), ENABLE_DETAILS_ELEMENT)
904     HTML_FLAGS := $(HTML_FLAGS) ENABLE_DETAILS_ELEMENT=1
905 endif
906
907 ifeq ($(findstring ENABLE_ENCRYPTED_MEDIA_V2,$(FEATURE_DEFINES)), ENABLE_ENCRYPTED_MEDIA_V2)
908         HTML_FLAGS := $(HTML_FLAGS) ENABLE_ENCRYPTED_MEDIA_V2=1
909 endif
910
911 ifeq ($(findstring ENABLE_METER_ELEMENT,$(FEATURE_DEFINES)), ENABLE_METER_ELEMENT)
912     HTML_FLAGS := $(HTML_FLAGS) ENABLE_METER_ELEMENT=1
913 endif
914
915 ifeq ($(findstring ENABLE_PROGRESS_ELEMENT,$(FEATURE_DEFINES)), ENABLE_PROGRESS_ELEMENT)
916     HTML_FLAGS := $(HTML_FLAGS) ENABLE_PROGRESS_ELEMENT=1
917 endif
918
919 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
920     HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO=1
921 endif
922
923 ifeq ($(findstring ENABLE_VIDEO_TRACK,$(FEATURE_DEFINES)), ENABLE_VIDEO_TRACK)
924     HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO_TRACK=0
925 endif
926
927 ifeq ($(findstring ENABLE_SHADOW_DOM,$(FEATURE_DEFINES)), ENABLE_SHADOW_DOM)
928     HTML_FLAGS := $(HTML_FLAGS) ENABLE_SHADOW_DOM=1
929 endif
930
931 ifeq ($(findstring ENABLE_ENCRYPTED_MEDIA,$(FEATURE_DEFINES)), ENABLE_ENCRYPTED_MEDIA)
932     HTML_FLAGS := $(HTML_FLAGS) ENABLE_ENCRYPTED_MEDIA=1
933 endif
934
935 ifeq ($(findstring ENABLE_MEDIA_STREAM,$(FEATURE_DEFINES)), ENABLE_MEDIA_STREAM)
936     HTML_FLAGS := $(HTML_FLAGS) ENABLE_MEDIA_STREAM=1
937 endif
938
939 ifdef HTML_FLAGS
940
941 HTMLElementFactory.cpp HTMLNames.cpp JSHTMLElementWrapperFactory.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm html/HTMLTagNames.in html/HTMLAttributeNames.in
942         perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory --extraDefines "$(HTML_FLAGS)"
943
944 else
945
946 HTMLElementFactory.cpp HTMLNames.cpp JSHTMLElementWrapperFactory.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm html/HTMLTagNames.in html/HTMLAttributeNames.in
947         perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory
948
949 endif
950
951 XMLNSNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm xml/xmlnsattrs.in
952         perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlnsattrs.in
953
954 XMLNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm xml/xmlattrs.in
955         perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in
956
957 # --------
958
959 # SVG tag and attribute names, and element factory
960
961 ifeq ($(findstring ENABLE_SVG_FONTS,$(FEATURE_DEFINES)), ENABLE_SVG_FONTS)
962     SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FONTS=1
963 endif
964
965 ifeq ($(findstring ENABLE_FILTERS,$(FEATURE_DEFINES)), ENABLE_FILTERS)
966     SVG_FLAGS := $(SVG_FLAGS) ENABLE_FILTERS=1
967 endif
968
969 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
970
971 ifdef SVG_FLAGS
972
973 JSSVGElementWrapperFactory.cpp SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm svg/svgtags.in svg/svgattrs.in
974         perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" --factory --wrapperFactory
975 else
976
977 JSSVGElementWrapperFactory.cpp SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm svg/svgtags.in svg/svgattrs.in
978         perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --factory --wrapperFactory
979
980 endif
981
982 XLinkNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm svg/xlinkattrs.in
983         perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in
984
985 # --------
986
987 # Register event constructors and targets
988
989 EventFactory.cpp EventHeaders.h EventInterfaces.h : dom/make_event_factory.pl dom/EventNames.in
990         perl -I $(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventNames.in
991
992 EventTargetHeaders.h EventTargetInterfaces.h : dom/make_event_factory.pl dom/EventTargetFactory.in
993         perl -I $(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventTargetFactory.in
994
995 ExceptionCodeDescription.cpp ExceptionCodeDescription.h ExceptionHeaders.h ExceptionInterfaces.h : dom/make_dom_exceptions.pl dom/DOMExceptions.in
996         perl -I $(WebCore)/bindings/scripts $< --input $(WebCore)/dom/DOMExceptions.in
997
998 # --------
999
1000 # MathML tag and attribute names, and element factory
1001
1002 MathMLElementFactory.cpp MathMLNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm mathml/mathtags.in mathml/mathattrs.in
1003         perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/mathml/mathtags.in --attrs $(WebCore)/mathml/mathattrs.in --factory --wrapperFactory
1004
1005 # --------
1006
1007 InternalSettingsGenerated.idl InternalSettingsGenerated.cpp InternalSettingsGenerated.h SettingsMacros.h : page/make_settings.pl page/Settings.in
1008         perl -I $(WebCore)/bindings/scripts $< --input $(WebCore)/page/Settings.in
1009
1010 # --------
1011
1012 # Common generator things
1013
1014 GENERATE_SCRIPTS = \
1015     bindings/scripts/CodeGenerator.pm \
1016     bindings/scripts/IDLParser.pm \
1017     bindings/scripts/generate-bindings.pl \
1018     bindings/scripts/preprocessor.pm
1019
1020 PREPROCESS_IDLS_SCRIPTS = \
1021     bindings/scripts/preprocess-idls.pl
1022
1023 generator_script = perl $(addprefix -I $(WebCore)/, $(sort $(dir $(1)))) $(WebCore)/bindings/scripts/generate-bindings.pl
1024
1025 preprocess_idls_script = perl $(addprefix -I $(WebCore)/, $(sort $(dir $(1)))) $(WebCore)/bindings/scripts/preprocess-idls.pl
1026
1027 # JS bindings generator
1028
1029 IDL_INCLUDES = \
1030     $(WebCore)/Modules \
1031     $(WebCore)/css \
1032     $(WebCore)/dom \
1033     $(WebCore)/fileapi \
1034     $(WebCore)/html \
1035     $(WebCore)/html/canvas \
1036     $(WebCore)/html/shadow \
1037     $(WebCore)/html/track \
1038     $(WebCore)/inspector \
1039     $(WebCore)/loader/appcache \
1040     $(WebCore)/page \
1041     $(WebCore)/plugins \
1042     $(WebCore)/storage \
1043     $(WebCore)/svg \
1044     $(WebCore)/workers \
1045     $(WebCore)/xml
1046
1047 IDL_COMMON_ARGS = $(IDL_INCLUDES:%=--include %) --write-dependencies --outputDir .
1048
1049 JS_BINDINGS_SCRIPTS = $(GENERATE_SCRIPTS) bindings/scripts/CodeGeneratorJS.pm
1050
1051 SUPPLEMENTAL_DEPENDENCY_FILE = ./SupplementalDependencies.txt
1052 SUPPLEMENTAL_MAKEFILE_DEPS = ./SupplementalDependencies.dep
1053 WINDOW_CONSTRUCTORS_FILE = ./DOMWindowConstructors.idl
1054 WORKERGLOBALSCOPE_CONSTRUCTORS_FILE = ./WorkerGlobalScopeConstructors.idl
1055 SHAREDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE = ./SharedWorkerGlobalScopeConstructors.idl
1056 DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE = ./DedicatedWorkerGlobalScopeConstructors.idl
1057 IDL_FILES_TMP = ./idl_files.tmp
1058 ADDITIONAL_IDLS = $(WebCore)/inspector/JavaScriptCallFrame.idl
1059 IDL_ATTRIBUTES_FILE = $(WebCore)/bindings/scripts/IDLAttributes.txt
1060
1061 # The following two lines get a space character stored in a variable.
1062 # See <http://blog.jgc.org/2007/06/escaping-comma-and-space-in-gnu-make.html>.
1063 space :=
1064 space +=
1065
1066 $(SUPPLEMENTAL_MAKEFILE_DEPS) : $(PREPROCESS_IDLS_SCRIPTS) $(BINDING_IDLS) $(ADDITIONAL_IDLS) $(PLATFORM_FEATURE_DEFINES)
1067         printf "$(subst $(space),,$(patsubst %,%\n,$(BINDING_IDLS) $(ADDITIONAL_IDLS)))" > $(IDL_FILES_TMP)
1068         $(call preprocess_idls_script, $(PREPROCESS_IDLS_SCRIPTS)) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --idlFilesList $(IDL_FILES_TMP) --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) --windowConstructorsFile $(WINDOW_CONSTRUCTORS_FILE) --workerGlobalScopeConstructorsFile $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) --sharedWorkerGlobalScopeConstructorsFile $(SHAREDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE) --dedicatedWorkerGlobalScopeConstructorsFile $(DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE) --supplementalMakefileDeps $@
1069         rm -f $(IDL_FILES_TMP)
1070
1071 JS%.h : %.idl $(JS_BINDINGS_SCRIPTS) $(IDL_ATTRIBUTES_FILE) $(WINDOW_CONSTRUCTORS_FILE) $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) $(PLATFORM_FEATURE_DEFINES)
1072         $(call generator_script, $(JS_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --idlAttributesFile $(IDL_ATTRIBUTES_FILE) --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<
1073
1074 -include $(SUPPLEMENTAL_MAKEFILE_DEPS)
1075
1076 # Inspector interfaces generator
1077
1078 INSPECTOR_DOMAINS = \
1079     $(WebCore)/inspector/protocol/ApplicationCache.json \
1080     $(WebCore)/inspector/protocol/CSS.json \
1081     $(WebCore)/inspector/protocol/Canvas.json \
1082     $(WebCore)/inspector/protocol/Console.json \
1083     $(WebCore)/inspector/protocol/DOM.json \
1084     $(WebCore)/inspector/protocol/DOMDebugger.json \
1085     $(WebCore)/inspector/protocol/DOMStorage.json \
1086     $(WebCore)/inspector/protocol/Database.json \
1087     $(WebCore)/inspector/protocol/FileSystem.json \
1088     $(WebCore)/inspector/protocol/HeapProfiler.json \
1089     $(WebCore)/inspector/protocol/IndexedDB.json \
1090     $(WebCore)/inspector/protocol/Input.json \
1091     $(WebCore)/inspector/protocol/LayerTree.json \
1092     $(WebCore)/inspector/protocol/Memory.json \
1093     $(WebCore)/inspector/protocol/Network.json \
1094     $(WebCore)/inspector/protocol/Page.json \
1095     $(WebCore)/inspector/protocol/Profiler.json \
1096     $(WebCore)/inspector/protocol/Timeline.json \
1097     $(WebCore)/inspector/protocol/Worker.json \
1098 #
1099
1100 INSPECTOR_GENERATOR_SCRIPTS = \
1101         $(InspectorScripts)/CodeGeneratorInspector.py \
1102         $(InspectorScripts)/CodeGeneratorInspectorStrings.py \
1103 #
1104
1105 all : InspectorWeb.json
1106
1107 InspectorWeb.json : $(InspectorScripts)/generate-combined-inspector-json.py $(INSPECTOR_DOMAINS)
1108         python $(InspectorScripts)/generate-combined-inspector-json.py $(WebCore)/inspector/protocol > ./InspectorWeb.json
1109
1110 all : InspectorWebFrontendDispatchers.h
1111
1112 InspectorWebFrontendDispatchers.h : InspectorWeb.json $(InspectorScripts)/InspectorJS.json $(INSPECTOR_GENERATOR_SCRIPTS)
1113         python $(InspectorScripts)/CodeGeneratorInspector.py ./InspectorWeb.json $(InspectorScripts)/InspectorJS.json --output_h_dir . --output_cpp_dir . --output_js_dir . --output_type Web
1114
1115 all : InspectorOverlayPage.h
1116
1117 InspectorOverlayPage.h : InspectorOverlayPage.html InspectorOverlayPage.css InspectorOverlayPage.js
1118         python "$(WebCore)/inspector/Scripts/inline-and-minify-stylesheets-and-scripts.py" "$(WebCore)/inspector/InspectorOverlayPage.html" ./InspectorOverlayPage.combined.html
1119         perl "$(WebCore)/inspector/xxd.pl" InspectorOverlayPage_html ./InspectorOverlayPage.combined.html InspectorOverlayPage.h
1120         rm -f ./InspectorOverlayPage.combined.html
1121
1122 all : InjectedScriptSource.h
1123
1124 InjectedScriptSource.h : InjectedScriptSource.js
1125         python "$(WebCore)/inspector/Scripts/jsmin.py" <"$(WebCore)/inspector/InjectedScriptSource.js" > ./InjectedScriptSource.min.js
1126         perl "$(WebCore)/inspector/xxd.pl" InjectedScriptSource_js ./InjectedScriptSource.min.js InjectedScriptSource.h
1127         rm -f ./InjectedScriptSource.min.js
1128
1129 all : CommandLineAPIModuleSource.h
1130
1131 CommandLineAPIModuleSource.h : CommandLineAPIModuleSource.js
1132         python "$(WebCore)/inspector/Scripts/jsmin.py" <"$(WebCore)/inspector/CommandLineAPIModuleSource.js" > ./CommandLineAPIModuleSource.min.js
1133         perl "$(WebCore)/inspector/xxd.pl" CommandLineAPIModuleSource_js ./CommandLineAPIModuleSource.min.js CommandLineAPIModuleSource.h
1134         rm -f ./CommandLineAPIModuleSource.min.js
1135
1136 all : InjectedScriptCanvasModuleSource.h
1137
1138 InjectedScriptCanvasModuleSource.h : InjectedScriptCanvasModuleSource.js
1139         python "$(WebCore)/inspector/Scripts/jsmin.py" <"$(WebCore)/inspector/InjectedScriptCanvasModuleSource.js" > ./InjectedScriptCanvasModuleSource.min.js
1140         perl "$(WebCore)/inspector/xxd.pl" InjectedScriptCanvasModuleSource_js ./InjectedScriptCanvasModuleSource.min.js InjectedScriptCanvasModuleSource.h
1141         rm -f ./InjectedScriptCanvasModuleSource.min.js
1142
1143 -include $(JS_DOM_HEADERS:.h=.dep)
1144
1145 # ------------------------
1146
1147 # Mac-specific rules
1148
1149 ifeq ($(OS),MACOS)
1150
1151 OBJC_DOM_HEADERS=$(filter-out DOMDOMWindow.h DOMDOMMimeType.h DOMDOMPlugin.h,$(DOM_CLASSES:%=DOM%.h))
1152
1153 all : $(OBJC_DOM_HEADERS)
1154
1155 all : CharsetData.cpp
1156
1157 # --------
1158
1159 # character set name table
1160
1161 CharsetData.cpp : platform/text/mac/make-charset-table.pl platform/text/mac/character-sets.txt platform/text/mac/mac-encodings.txt
1162         perl $^ kTextEncoding > $@
1163
1164 # --------
1165
1166 ifneq ($(ACTION),installhdrs)
1167
1168 all : WebCore.exp WebCore.LP64.exp
1169
1170 WebCore.exp : $(BUILT_PRODUCTS_DIR)/WebCoreExportFileGenerator
1171         $^ > $@
1172
1173 # Switch NSRect, NSSize and NSPoint with their CG counterparts for the 64-bit exports file.
1174 WebCore.LP64.exp : WebCore.exp
1175         cat $^ | sed -e s/7_NSRect/6CGRect/ -e s/7_NSSize/6CGSize/ -e s/8_NSPoint/7CGPoint/ > $@
1176
1177 endif # installhdrs
1178
1179 # --------
1180
1181 # Objective-C bindings
1182
1183 DOM_BINDINGS_SCRIPTS = $(GENERATE_BINDING_SCRIPTS) bindings/scripts/CodeGeneratorObjC.pm
1184 DOM%.h : %.idl $(DOM_BINDINGS_SCRIPTS) bindings/objc/PublicDOMInterfaces.h $(PLATFORM_FEATURE_DEFINES)
1185         $(call generator_script, $(DOM_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_OBJECTIVE_C" --generator ObjC --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<
1186
1187 -include $(OBJC_DOM_HEADERS:.h=.dep)
1188
1189 # --------
1190
1191 endif # MACOS
1192
1193 # ------------------------
1194
1195 # Header detection
1196
1197 ifeq ($(OS),Windows_NT)
1198
1199 all : WebCoreHeaderDetection.h
1200
1201 WebCoreHeaderDetection.h : DerivedSources.make
1202         echo "/* Identifying AVFoundation Support */" > $@
1203         if [ -f "$(WEBKIT_LIBRARIES)/include/AVFoundationCF/AVCFBase.h" ]||[ -f "$(WEBKITLIBRARIESDIR)/include/AVFoundationCF/AVCFBase.h" ]; then echo "#define HAVE_AVCF 1" >> $@; else echo >> $@; fi
1204         if [ -f "$(WEBKIT_LIBRARIES)/include/AVFoundationCF/AVCFPlayerItemLegibleOutput.h" ]||[ -f "$(WEBKITLIBRARIESDIR)/include/AVFoundationCF/AVCFPlayerItemLegibleOutput.h" ]; then echo "#define HAVE_AVCF_LEGIBLE_OUTPUT 1" >> $@; else echo >> $@; fi
1205
1206 endif # Windows_NT