1 # -------------------------------------------------------------------
2 # Derived sources for WebCore
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
7 # This file is both a top level target, and included from Target.pri,
8 # so that the resulting generated sources can be added to SOURCES.
9 # We only set the template if we're a top level target, so that we
10 # don't override what Target.pri has already set.
11 sanitizedFile = $$toSanitizedPath($$_FILE_)
12 equals(sanitizedFile, $$toSanitizedPath($$_PRO_FILE_)):TEMPLATE = derived
15 # FIXME: This runs the perl script every time. Is there a way we can run it only when deps change?
16 fwheader_generator.commands = perl $${ROOT_WEBKIT_DIR}/Source/WebKit2/Scripts/generate-forwarding-headers.pl $${ROOT_WEBKIT_DIR}/Source/WebCore $${ROOT_BUILD_DIR}/Source/include mac
17 fwheader_generator.depends = $${ROOT_WEBKIT_DIR}/Source/WebKit2/Scripts/generate-forwarding-headers.pl
18 GENERATORS += fwheader_generator
21 MATHML_NAMES = $$PWD/mathml/mathtags.in
23 SVG_NAMES = $$PWD/svg/svgtags.in
25 XLINK_NAMES = $$PWD/svg/xlinkattrs.in
27 CSSBISON = $$PWD/css/CSSGrammar.y
29 contains(DEFINES, ENABLE_XSLT=1) {
30 XMLVIEWER_CSS = $$PWD/xml/XMLViewer.css
31 XMLVIEWER_JS = $$PWD/xml/XMLViewer.js
34 FONT_NAMES = $$PWD/css/WebKitFontFamilyNames.in
36 HTML_NAMES = $$PWD/html/HTMLTagNames.in
38 XML_NAMES = $$PWD/xml/xmlattrs.in
40 XMLNS_NAMES = $$PWD/xml/xmlnsattrs.in
42 HTML_ENTITIES = $$PWD/html/parser/HTMLEntityNames.in
44 EVENTS_NAMES = $$PWD/dom/EventNames.in
46 EVENT_TARGET_FACTORY = $$PWD/dom/EventTargetFactory.in
48 DOM_EXCEPTIONS = $$PWD/dom/DOMExceptions.in
50 COLORDATA_GPERF = $$PWD/platform/ColorData.gperf
52 WALDOCSSPROPS = $$PWD/css/CSSPropertyNames.in
54 WALDOCSSVALUES = $$PWD/css/CSSValueKeywords.in
56 INSPECTOR_JSON = $$PWD/inspector/Inspector.json
58 INSPECTOR_BACKEND_COMMANDS_QRC = $$PWD/inspector/front-end/InspectorBackendCommands.qrc
60 INJECTED_SCRIPT_SOURCE = $$PWD/inspector/InjectedScriptSource.js
62 INJECTED_SCRIPT_WEBGL_MODULE_SOURCE = $$PWD/inspector/InjectedScriptWebGLModuleSource.js
64 DEBUGGER_SCRIPT_SOURCE = $$PWD/bindings/v8/DebuggerScript.js
66 ARRAY_BUFFER_VIEW_CUSTOM_SCRIPT_SOURCE = $$PWD/bindings/v8/custom/V8ArrayBufferViewCustomScript.js
68 XPATHBISON = $$PWD/xml/XPathGrammar.y
70 contains(DEFINES, ENABLE_SVG=1) {
71 EXTRACSSPROPERTIES += $$PWD/css/SVGCSSPropertyNames.in
72 EXTRACSSVALUES += $$PWD/css/SVGCSSValueKeywords.in
77 $$PWD/css/quirks.css \
78 $$PWD/css/mathml.css \
80 $$PWD/css/view-source.css \
81 $$PWD/css/fullscreen.css \
82 $$PWD/css/mediaControls.css \
83 $$PWD/css/mediaControlsQt.css \
84 $$PWD/css/mediaControlsQtFullscreen.css \
85 $$PWD/css/themeQtNoListboxes.css \
86 $$PWD/css/mobileThemeQt.css
89 $$PWD/Modules/filesystem/DOMFileSystem.idl \
90 $$PWD/Modules/filesystem/DOMFileSystemSync.idl \
91 $$PWD/Modules/filesystem/DOMWindowFileSystem.idl \
92 $$PWD/Modules/filesystem/DirectoryEntry.idl \
93 $$PWD/Modules/filesystem/DirectoryEntrySync.idl \
94 $$PWD/Modules/filesystem/DirectoryReader.idl \
95 $$PWD/Modules/filesystem/DirectoryReaderSync.idl \
96 $$PWD/Modules/filesystem/EntriesCallback.idl \
97 $$PWD/Modules/filesystem/Entry.idl \
98 $$PWD/Modules/filesystem/EntryArray.idl \
99 $$PWD/Modules/filesystem/EntryArraySync.idl \
100 $$PWD/Modules/filesystem/EntryCallback.idl \
101 $$PWD/Modules/filesystem/EntrySync.idl \
102 $$PWD/Modules/filesystem/ErrorCallback.idl \
103 $$PWD/Modules/filesystem/FileCallback.idl \
104 $$PWD/Modules/filesystem/FileEntry.idl \
105 $$PWD/Modules/filesystem/FileEntrySync.idl \
106 $$PWD/Modules/filesystem/FileSystemCallback.idl \
107 $$PWD/Modules/filesystem/FileWriter.idl \
108 $$PWD/Modules/filesystem/FileWriterCallback.idl \
109 $$PWD/Modules/filesystem/Metadata.idl \
110 $$PWD/Modules/filesystem/MetadataCallback.idl \
111 $$PWD/Modules/filesystem/WorkerContextFileSystem.idl \
112 $$PWD/Modules/geolocation/Geolocation.idl \
113 $$PWD/Modules/geolocation/Geoposition.idl \
114 $$PWD/Modules/geolocation/NavigatorGeolocation.idl \
115 $$PWD/Modules/geolocation/PositionCallback.idl \
116 $$PWD/Modules/geolocation/PositionError.idl \
117 $$PWD/Modules/geolocation/PositionErrorCallback.idl \
118 $$PWD/Modules/indexeddb/DOMWindowIndexedDatabase.idl \
119 $$PWD/Modules/indexeddb/IDBAny.idl \
120 $$PWD/Modules/indexeddb/IDBCursor.idl \
121 $$PWD/Modules/indexeddb/IDBDatabaseException.idl \
122 $$PWD/Modules/indexeddb/IDBDatabase.idl \
123 $$PWD/Modules/indexeddb/IDBFactory.idl \
124 $$PWD/Modules/indexeddb/IDBIndex.idl \
125 $$PWD/Modules/indexeddb/IDBKey.idl \
126 $$PWD/Modules/indexeddb/IDBKeyRange.idl \
127 $$PWD/Modules/indexeddb/IDBObjectStore.idl \
128 $$PWD/Modules/indexeddb/IDBRequest.idl \
129 $$PWD/Modules/indexeddb/IDBTransaction.idl \
130 $$PWD/Modules/indexeddb/WorkerContextIndexedDatabase.idl \
131 $$PWD/Modules/notifications/DOMWindowNotifications.idl \
132 $$PWD/Modules/notifications/Notification.idl \
133 $$PWD/Modules/notifications/NotificationCenter.idl \
134 $$PWD/Modules/notifications/NotificationPermissionCallback.idl \
135 $$PWD/Modules/notifications/WorkerContextNotifications.idl \
136 $$PWD/Modules/quota/DOMWindowQuota.idl \
137 $$PWD/Modules/quota/StorageInfo.idl \
138 $$PWD/Modules/quota/StorageInfoErrorCallback.idl \
139 $$PWD/Modules/quota/StorageInfoQuotaCallback.idl \
140 $$PWD/Modules/quota/StorageInfoUsageCallback.idl \
141 $$PWD/Modules/webaudio/AudioBuffer.idl \
142 $$PWD/Modules/webaudio/AudioBufferSourceNode.idl \
143 $$PWD/Modules/webaudio/ChannelMergerNode.idl \
144 $$PWD/Modules/webaudio/ChannelSplitterNode.idl \
145 $$PWD/Modules/webaudio/AudioContext.idl \
146 $$PWD/Modules/webaudio/AudioDestinationNode.idl \
147 $$PWD/Modules/webaudio/GainNode.idl \
148 $$PWD/Modules/webaudio/AudioListener.idl \
149 $$PWD/Modules/webaudio/AudioNode.idl \
150 $$PWD/Modules/webaudio/PannerNode.idl \
151 $$PWD/Modules/webaudio/AudioParam.idl \
152 $$PWD/Modules/webaudio/AudioProcessingEvent.idl \
153 $$PWD/Modules/webaudio/AudioSourceNode.idl \
154 $$PWD/Modules/webaudio/ConvolverNode.idl \
155 $$PWD/Modules/webaudio/DelayNode.idl \
156 $$PWD/Modules/webaudio/DOMWindowWebAudio.idl \
157 $$PWD/Modules/webaudio/ScriptProcessorNode.idl \
158 $$PWD/Modules/webaudio/MediaElementAudioSourceNode.idl \
159 $$PWD/Modules/webaudio/MediaStreamAudioSourceNode.idl \
160 $$PWD/Modules/webaudio/OfflineAudioContext.idl \
161 $$PWD/Modules/webaudio/OfflineAudioCompletionEvent.idl \
162 $$PWD/Modules/webaudio/OscillatorNode.idl \
163 $$PWD/Modules/webaudio/AnalyserNode.idl \
164 $$PWD/Modules/webdatabase/DOMWindowWebDatabase.idl \
165 $$PWD/Modules/webdatabase/Database.idl \
166 $$PWD/Modules/webdatabase/DatabaseCallback.idl \
167 $$PWD/Modules/webdatabase/DatabaseSync.idl \
168 $$PWD/Modules/webdatabase/SQLError.idl \
169 $$PWD/Modules/webdatabase/SQLException.idl \
170 $$PWD/Modules/webdatabase/SQLResultSet.idl \
171 $$PWD/Modules/webdatabase/SQLResultSetRowList.idl \
172 $$PWD/Modules/webdatabase/SQLStatementCallback.idl \
173 $$PWD/Modules/webdatabase/SQLStatementErrorCallback.idl \
174 $$PWD/Modules/webdatabase/SQLTransaction.idl \
175 $$PWD/Modules/webdatabase/SQLTransactionCallback.idl \
176 $$PWD/Modules/webdatabase/SQLTransactionErrorCallback.idl \
177 $$PWD/Modules/webdatabase/SQLTransactionSync.idl \
178 $$PWD/Modules/webdatabase/SQLTransactionSyncCallback.idl \
179 $$PWD/Modules/webdatabase/WorkerContextWebDatabase.idl \
180 $$PWD/Modules/websockets/CloseEvent.idl \
181 $$PWD/Modules/websockets/DOMWindowWebSocket.idl \
182 $$PWD/Modules/websockets/WebSocket.idl \
183 $$PWD/Modules/websockets/WorkerContextWebSocket.idl \
184 $$PWD/css/Counter.idl \
185 $$PWD/css/CSSCharsetRule.idl \
186 $$PWD/css/CSSFontFaceRule.idl \
187 $$PWD/css/CSSImportRule.idl \
188 $$PWD/css/CSSMediaRule.idl \
189 $$PWD/css/CSSPageRule.idl \
190 $$PWD/css/CSSPrimitiveValue.idl \
191 $$PWD/css/CSSRule.idl \
192 $$PWD/css/CSSRuleList.idl \
193 $$PWD/css/CSSStyleDeclaration.idl \
194 $$PWD/css/CSSStyleRule.idl \
195 $$PWD/css/CSSStyleSheet.idl \
196 $$PWD/css/CSSValue.idl \
197 $$PWD/css/CSSValueList.idl \
198 $$PWD/css/MediaList.idl \
199 $$PWD/css/MediaQueryList.idl \
201 $$PWD/css/RGBColor.idl \
202 $$PWD/css/StyleMedia.idl \
203 $$PWD/css/StyleSheet.idl \
204 $$PWD/css/StyleSheetList.idl \
205 $$PWD/css/WebKitCSSFilterValue.idl \
206 $$PWD/css/WebKitCSSKeyframeRule.idl \
207 $$PWD/css/WebKitCSSKeyframesRule.idl \
208 $$PWD/css/WebKitCSSMatrix.idl \
209 $$PWD/css/WebKitCSSRegionRule.idl \
210 $$PWD/css/WebKitCSSTransformValue.idl \
212 $$PWD/dom/BeforeLoadEvent.idl \
213 $$PWD/dom/CharacterData.idl \
214 $$PWD/dom/ClientRect.idl \
215 $$PWD/dom/ClientRectList.idl \
216 $$PWD/dom/Clipboard.idl \
217 $$PWD/dom/CDATASection.idl \
218 $$PWD/dom/Comment.idl \
219 $$PWD/dom/CompositionEvent.idl \
220 $$PWD/dom/CustomEvent.idl \
221 $$PWD/dom/DataTransferItem.idl \
222 $$PWD/dom/DataTransferItemList.idl \
223 $$PWD/dom/DeviceMotionEvent.idl \
224 $$PWD/dom/DeviceOrientationEvent.idl \
225 $$PWD/dom/DocumentFragment.idl \
226 $$PWD/dom/Document.idl \
227 $$PWD/dom/DocumentType.idl \
228 $$PWD/dom/DOMCoreException.idl \
229 $$PWD/dom/DOMError.idl \
230 $$PWD/dom/DOMImplementation.idl \
231 $$PWD/dom/DOMStringList.idl \
232 $$PWD/dom/DOMStringMap.idl \
233 $$PWD/dom/Element.idl \
234 $$PWD/dom/Entity.idl \
235 $$PWD/dom/EntityReference.idl \
236 $$PWD/dom/ErrorEvent.idl \
237 $$PWD/dom/Event.idl \
238 $$PWD/dom/EventException.idl \
239 # $$PWD/dom/EventListener.idl \
240 $$PWD/dom/EventTarget.idl \
241 $$PWD/dom/HashChangeEvent.idl \
242 $$PWD/dom/KeyboardEvent.idl \
243 $$PWD/dom/MouseEvent.idl \
244 $$PWD/dom/MessageChannel.idl \
245 $$PWD/dom/MessageEvent.idl \
246 $$PWD/dom/MessagePort.idl \
247 $$PWD/dom/MutationEvent.idl \
248 $$PWD/dom/NamedNodeMap.idl \
250 $$PWD/dom/NodeFilter.idl \
251 $$PWD/dom/NodeIterator.idl \
252 $$PWD/dom/NodeList.idl \
253 $$PWD/dom/Notation.idl \
254 $$PWD/dom/OverflowEvent.idl \
255 $$PWD/dom/PageTransitionEvent.idl \
256 $$PWD/dom/PopStateEvent.idl \
257 $$PWD/dom/ProcessingInstruction.idl \
258 $$PWD/dom/ProgressEvent.idl \
259 $$PWD/dom/PropertyNodeList.idl \
260 $$PWD/dom/RangeException.idl \
261 $$PWD/dom/Range.idl \
262 $$PWD/dom/RequestAnimationFrameCallback.idl \
263 $$PWD/dom/ShadowRoot.idl \
264 $$PWD/dom/StringCallback.idl \
266 $$PWD/dom/TextEvent.idl \
267 $$PWD/dom/Touch.idl \
268 $$PWD/dom/TouchEvent.idl \
269 $$PWD/dom/TouchList.idl \
270 $$PWD/dom/TreeWalker.idl \
271 $$PWD/dom/UIEvent.idl \
272 $$PWD/dom/WebKitAnimationEvent.idl \
273 $$PWD/dom/WebKitNamedFlow.idl \
274 $$PWD/dom/WebKitTransitionEvent.idl \
275 $$PWD/dom/WheelEvent.idl \
276 $$PWD/editing/UndoManager.idl \
277 $$PWD/fileapi/Blob.idl \
278 $$PWD/fileapi/File.idl \
279 $$PWD/fileapi/FileError.idl \
280 $$PWD/fileapi/FileException.idl \
281 $$PWD/fileapi/FileList.idl \
282 $$PWD/fileapi/FileReader.idl \
283 $$PWD/fileapi/FileReaderSync.idl \
284 $$PWD/fileapi/WebKitBlobBuilder.idl \
285 $$PWD/html/canvas/ArrayBufferView.idl \
286 $$PWD/html/canvas/ArrayBuffer.idl \
287 $$PWD/html/canvas/DataView.idl \
288 $$PWD/html/canvas/Int8Array.idl \
289 $$PWD/html/canvas/Float32Array.idl \
290 $$PWD/html/canvas/Float64Array.idl \
291 $$PWD/html/canvas/CanvasGradient.idl \
292 $$PWD/html/canvas/Int32Array.idl \
293 $$PWD/html/canvas/CanvasPattern.idl \
294 $$PWD/html/canvas/CanvasRenderingContext.idl \
295 $$PWD/html/canvas/CanvasRenderingContext2D.idl \
296 $$PWD/html/canvas/EXTTextureFilterAnisotropic.idl \
297 $$PWD/html/canvas/OESStandardDerivatives.idl \
298 $$PWD/html/canvas/OESTextureFloat.idl \
299 $$PWD/html/canvas/OESVertexArrayObject.idl \
300 $$PWD/html/canvas/WebGLActiveInfo.idl \
301 $$PWD/html/canvas/WebGLBuffer.idl \
302 $$PWD/html/canvas/WebGLCompressedTextureS3TC.idl \
303 $$PWD/html/canvas/WebGLContextAttributes.idl \
304 $$PWD/html/canvas/WebGLContextEvent.idl \
305 $$PWD/html/canvas/WebGLDebugRendererInfo.idl \
306 $$PWD/html/canvas/WebGLDebugShaders.idl \
307 $$PWD/html/canvas/WebGLDepthTexture.idl \
308 $$PWD/html/canvas/WebGLFramebuffer.idl \
309 $$PWD/html/canvas/WebGLLoseContext.idl \
310 $$PWD/html/canvas/WebGLProgram.idl \
311 $$PWD/html/canvas/WebGLRenderbuffer.idl \
312 $$PWD/html/canvas/WebGLRenderingContext.idl \
313 $$PWD/html/canvas/WebGLShader.idl \
314 $$PWD/html/canvas/WebGLShaderPrecisionFormat.idl \
315 $$PWD/html/canvas/Int16Array.idl \
316 $$PWD/html/canvas/WebGLTexture.idl \
317 $$PWD/html/canvas/WebGLUniformLocation.idl \
318 $$PWD/html/canvas/WebGLVertexArrayObjectOES.idl \
319 $$PWD/html/canvas/Uint8Array.idl \
320 $$PWD/html/canvas/Uint8ClampedArray.idl \
321 $$PWD/html/canvas/Uint32Array.idl \
322 $$PWD/html/canvas/Uint16Array.idl \
323 $$PWD/html/DOMFormData.idl \
324 $$PWD/html/DOMSettableTokenList.idl \
325 $$PWD/html/DOMTokenList.idl \
326 $$PWD/html/DOMURL.idl \
327 $$PWD/html/HTMLAllCollection.idl \
328 $$PWD/html/HTMLAudioElement.idl \
329 $$PWD/html/HTMLAnchorElement.idl \
330 $$PWD/html/HTMLAppletElement.idl \
331 $$PWD/html/HTMLAreaElement.idl \
332 $$PWD/html/HTMLBaseElement.idl \
333 $$PWD/html/HTMLBaseFontElement.idl \
334 $$PWD/html/HTMLBodyElement.idl \
335 $$PWD/html/HTMLBRElement.idl \
336 $$PWD/html/HTMLButtonElement.idl \
337 $$PWD/html/HTMLCanvasElement.idl \
338 $$PWD/html/HTMLCollection.idl \
339 $$PWD/html/HTMLDataListElement.idl \
340 $$PWD/html/HTMLDetailsElement.idl \
341 $$PWD/html/HTMLDialogElement.idl \
342 $$PWD/html/HTMLDirectoryElement.idl \
343 $$PWD/html/HTMLDivElement.idl \
344 $$PWD/html/HTMLDListElement.idl \
345 $$PWD/html/HTMLDocument.idl \
346 $$PWD/html/HTMLElement.idl \
347 $$PWD/html/HTMLEmbedElement.idl \
348 $$PWD/html/HTMLFieldSetElement.idl \
349 $$PWD/html/HTMLFontElement.idl \
350 $$PWD/html/HTMLFormElement.idl \
351 $$PWD/html/HTMLFrameElement.idl \
352 $$PWD/html/HTMLFrameSetElement.idl \
353 $$PWD/html/HTMLHeadElement.idl \
354 $$PWD/html/HTMLHeadingElement.idl \
355 $$PWD/html/HTMLHRElement.idl \
356 $$PWD/html/HTMLHtmlElement.idl \
357 $$PWD/html/HTMLIFrameElement.idl \
358 $$PWD/html/HTMLImageElement.idl \
359 $$PWD/html/HTMLInputElement.idl \
360 $$PWD/html/HTMLKeygenElement.idl \
361 $$PWD/html/HTMLLabelElement.idl \
362 $$PWD/html/HTMLLegendElement.idl \
363 $$PWD/html/HTMLLIElement.idl \
364 $$PWD/html/HTMLLinkElement.idl \
365 $$PWD/html/HTMLMapElement.idl \
366 $$PWD/html/HTMLMarqueeElement.idl \
367 $$PWD/html/HTMLMediaElement.idl \
368 $$PWD/html/HTMLMenuElement.idl \
369 $$PWD/html/HTMLMetaElement.idl \
370 $$PWD/html/HTMLMeterElement.idl \
371 $$PWD/html/HTMLModElement.idl \
372 $$PWD/html/HTMLObjectElement.idl \
373 $$PWD/html/HTMLOListElement.idl \
374 $$PWD/html/HTMLOptGroupElement.idl \
375 $$PWD/html/HTMLOptionElement.idl \
376 $$PWD/html/HTMLOptionsCollection.idl \
377 $$PWD/html/HTMLOutputElement.idl \
378 $$PWD/html/HTMLParagraphElement.idl \
379 $$PWD/html/HTMLParamElement.idl \
380 $$PWD/html/HTMLPreElement.idl \
381 $$PWD/html/HTMLProgressElement.idl \
382 $$PWD/html/HTMLPropertiesCollection.idl \
383 $$PWD/html/HTMLQuoteElement.idl \
384 $$PWD/html/HTMLScriptElement.idl \
385 $$PWD/html/HTMLSelectElement.idl \
386 $$PWD/html/HTMLSourceElement.idl \
387 $$PWD/html/HTMLSpanElement.idl \
388 $$PWD/html/HTMLStyleElement.idl \
389 $$PWD/html/HTMLTableCaptionElement.idl \
390 $$PWD/html/HTMLTableCellElement.idl \
391 $$PWD/html/HTMLTableColElement.idl \
392 $$PWD/html/HTMLTableElement.idl \
393 $$PWD/html/HTMLTableRowElement.idl \
394 $$PWD/html/HTMLTableSectionElement.idl \
395 $$PWD/html/HTMLTextAreaElement.idl \
396 $$PWD/html/HTMLTitleElement.idl \
397 $$PWD/html/HTMLTrackElement.idl \
398 $$PWD/html/HTMLUListElement.idl \
399 $$PWD/html/HTMLUnknownElement.idl \
400 $$PWD/html/HTMLVideoElement.idl \
401 $$PWD/html/ImageData.idl \
402 $$PWD/html/MediaController.idl \
403 $$PWD/html/MediaError.idl \
404 $$PWD/html/MicroDataItemValue.idl \
405 $$PWD/html/RadioNodeList.idl \
406 $$PWD/html/TextMetrics.idl \
407 $$PWD/html/TimeRanges.idl \
408 $$PWD/html/ValidityState.idl \
409 $$PWD/html/VoidCallback.idl \
410 $$PWD/html/shadow/HTMLContentElement.idl \
411 $$PWD/html/shadow/HTMLShadowElement.idl \
412 $$PWD/inspector/InjectedScriptHost.idl \
413 $$PWD/inspector/InspectorFrontendHost.idl \
414 $$PWD/inspector/JavaScriptCallFrame.idl \
415 $$PWD/inspector/ScriptProfile.idl \
416 $$PWD/inspector/ScriptProfileNode.idl \
417 $$PWD/loader/appcache/DOMApplicationCache.idl \
418 $$PWD/page/BarInfo.idl \
419 $$PWD/page/Console.idl \
420 $$PWD/page/Coordinates.idl \
421 $$PWD/page/Crypto.idl \
422 $$PWD/page/DOMSecurityPolicy.idl \
423 $$PWD/page/DOMSelection.idl \
424 $$PWD/page/DOMWindow.idl \
425 $$PWD/page/EventSource.idl \
426 $$PWD/page/History.idl \
427 $$PWD/page/Location.idl \
428 $$PWD/page/MemoryInfo.idl \
429 $$PWD/page/Navigator.idl \
430 $$PWD/page/Performance.idl \
431 $$PWD/page/PerformanceEntry.idl \
432 $$PWD/page/PerformanceEntryList.idl \
433 $$PWD/page/PerformanceNavigation.idl \
434 $$PWD/page/PerformanceResourceTiming.idl \
435 $$PWD/page/PerformanceTiming.idl \
436 $$PWD/page/Screen.idl \
437 $$PWD/page/SpeechInputEvent.idl \
438 $$PWD/page/SpeechInputResult.idl \
439 $$PWD/page/SpeechInputResultList.idl \
440 $$PWD/page/WebKitAnimation.idl \
441 $$PWD/page/WebKitAnimationList.idl \
442 $$PWD/page/WebKitPoint.idl \
443 $$PWD/page/WorkerNavigator.idl \
444 $$PWD/plugins/DOMPlugin.idl \
445 $$PWD/plugins/DOMMimeType.idl \
446 $$PWD/plugins/DOMPluginArray.idl \
447 $$PWD/plugins/DOMMimeTypeArray.idl \
448 $$PWD/storage/Storage.idl \
449 $$PWD/storage/StorageEvent.idl \
450 $$PWD/testing/FastMallocStatistics.idl \
451 $$PWD/testing/Internals.idl \
452 $$PWD/testing/InternalSettings.idl \
453 $$PWD/workers/AbstractWorker.idl \
454 $$PWD/workers/DedicatedWorkerContext.idl \
455 $$PWD/workers/SharedWorker.idl \
456 $$PWD/workers/SharedWorkerContext.idl \
457 $$PWD/workers/Worker.idl \
458 $$PWD/workers/WorkerContext.idl \
459 $$PWD/workers/WorkerLocation.idl \
460 $$PWD/xml/DOMParser.idl \
461 $$PWD/xml/XMLHttpRequest.idl \
462 $$PWD/xml/XMLHttpRequestException.idl \
463 $$PWD/xml/XMLHttpRequestProgressEvent.idl \
464 $$PWD/xml/XMLHttpRequestUpload.idl \
465 $$PWD/xml/XMLSerializer.idl \
466 $$PWD/xml/XPathNSResolver.idl \
467 $$PWD/xml/XPathException.idl \
468 $$PWD/xml/XPathExpression.idl \
469 $$PWD/xml/XPathResult.idl \
470 $$PWD/xml/XPathEvaluator.idl \
471 $$PWD/xml/XSLTProcessor.idl
473 contains(DEFINES, ENABLE_SVG=1) {
475 $$PWD/svg/SVGAElement.idl \
476 $$PWD/svg/SVGAltGlyphDefElement.idl \
477 $$PWD/svg/SVGAltGlyphElement.idl \
478 $$PWD/svg/SVGAltGlyphItemElement.idl \
479 $$PWD/svg/SVGAngle.idl \
480 $$PWD/svg/SVGAnimateColorElement.idl \
481 $$PWD/svg/SVGAnimateMotionElement.idl \
482 $$PWD/svg/SVGAnimatedAngle.idl \
483 $$PWD/svg/SVGAnimatedBoolean.idl \
484 $$PWD/svg/SVGAnimatedEnumeration.idl \
485 $$PWD/svg/SVGAnimatedInteger.idl \
486 $$PWD/svg/SVGAnimatedLength.idl \
487 $$PWD/svg/SVGAnimatedLengthList.idl \
488 $$PWD/svg/SVGAnimatedNumber.idl \
489 $$PWD/svg/SVGAnimatedNumberList.idl \
490 $$PWD/svg/SVGAnimatedPreserveAspectRatio.idl \
491 $$PWD/svg/SVGAnimatedRect.idl \
492 $$PWD/svg/SVGAnimatedString.idl \
493 $$PWD/svg/SVGAnimatedTransformList.idl \
494 $$PWD/svg/SVGAnimateElement.idl \
495 $$PWD/svg/SVGAnimateTransformElement.idl \
496 $$PWD/svg/SVGAnimationElement.idl \
497 $$PWD/svg/SVGCircleElement.idl \
498 $$PWD/svg/SVGClipPathElement.idl \
499 $$PWD/svg/SVGColor.idl \
500 $$PWD/svg/SVGComponentTransferFunctionElement.idl \
501 $$PWD/svg/SVGCursorElement.idl \
502 $$PWD/svg/SVGDefsElement.idl \
503 $$PWD/svg/SVGDescElement.idl \
504 $$PWD/svg/SVGDocument.idl \
505 $$PWD/svg/SVGElement.idl \
506 $$PWD/svg/SVGElementInstance.idl \
507 $$PWD/svg/SVGElementInstanceList.idl \
508 $$PWD/svg/SVGEllipseElement.idl \
509 $$PWD/svg/SVGException.idl \
510 $$PWD/svg/SVGFEBlendElement.idl \
511 $$PWD/svg/SVGFEColorMatrixElement.idl \
512 $$PWD/svg/SVGFEComponentTransferElement.idl \
513 $$PWD/svg/SVGFECompositeElement.idl \
514 $$PWD/svg/SVGFEConvolveMatrixElement.idl \
515 $$PWD/svg/SVGFEDiffuseLightingElement.idl \
516 $$PWD/svg/SVGFEDisplacementMapElement.idl \
517 $$PWD/svg/SVGFEDistantLightElement.idl \
518 $$PWD/svg/SVGFEDropShadowElement.idl \
519 $$PWD/svg/SVGFEFloodElement.idl \
520 $$PWD/svg/SVGFEFuncAElement.idl \
521 $$PWD/svg/SVGFEFuncBElement.idl \
522 $$PWD/svg/SVGFEFuncGElement.idl \
523 $$PWD/svg/SVGFEFuncRElement.idl \
524 $$PWD/svg/SVGFEGaussianBlurElement.idl \
525 $$PWD/svg/SVGFEImageElement.idl \
526 $$PWD/svg/SVGFEMergeElement.idl \
527 $$PWD/svg/SVGFEMergeNodeElement.idl \
528 $$PWD/svg/SVGFEMorphologyElement.idl \
529 $$PWD/svg/SVGFEOffsetElement.idl \
530 $$PWD/svg/SVGFEPointLightElement.idl \
531 $$PWD/svg/SVGFESpecularLightingElement.idl \
532 $$PWD/svg/SVGFESpotLightElement.idl \
533 $$PWD/svg/SVGFETileElement.idl \
534 $$PWD/svg/SVGFETurbulenceElement.idl \
535 $$PWD/svg/SVGFilterElement.idl \
536 $$PWD/svg/SVGFontElement.idl \
537 $$PWD/svg/SVGFontFaceElement.idl \
538 $$PWD/svg/SVGFontFaceFormatElement.idl \
539 $$PWD/svg/SVGFontFaceNameElement.idl \
540 $$PWD/svg/SVGFontFaceSrcElement.idl \
541 $$PWD/svg/SVGFontFaceUriElement.idl \
542 $$PWD/svg/SVGForeignObjectElement.idl \
543 $$PWD/svg/SVGGElement.idl \
544 $$PWD/svg/SVGGlyphElement.idl \
545 $$PWD/svg/SVGGlyphRefElement.idl \
546 $$PWD/svg/SVGGradientElement.idl \
547 $$PWD/svg/SVGHKernElement.idl \
548 $$PWD/svg/SVGImageElement.idl \
549 $$PWD/svg/SVGLength.idl \
550 $$PWD/svg/SVGLengthList.idl \
551 $$PWD/svg/SVGLinearGradientElement.idl \
552 $$PWD/svg/SVGLineElement.idl \
553 $$PWD/svg/SVGMarkerElement.idl \
554 $$PWD/svg/SVGMaskElement.idl \
555 $$PWD/svg/SVGMatrix.idl \
556 $$PWD/svg/SVGMetadataElement.idl \
557 $$PWD/svg/SVGMissingGlyphElement.idl \
558 $$PWD/svg/SVGMPathElement.idl \
559 $$PWD/svg/SVGNumber.idl \
560 $$PWD/svg/SVGNumberList.idl \
561 $$PWD/svg/SVGPaint.idl \
562 $$PWD/svg/SVGPathElement.idl \
563 $$PWD/svg/SVGPathSegArcAbs.idl \
564 $$PWD/svg/SVGPathSegArcRel.idl \
565 $$PWD/svg/SVGPathSegClosePath.idl \
566 $$PWD/svg/SVGPathSegCurvetoCubicAbs.idl \
567 $$PWD/svg/SVGPathSegCurvetoCubicRel.idl \
568 $$PWD/svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
569 $$PWD/svg/SVGPathSegCurvetoCubicSmoothRel.idl \
570 $$PWD/svg/SVGPathSegCurvetoQuadraticAbs.idl \
571 $$PWD/svg/SVGPathSegCurvetoQuadraticRel.idl \
572 $$PWD/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
573 $$PWD/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
574 $$PWD/svg/SVGPathSeg.idl \
575 $$PWD/svg/SVGPathSegLinetoAbs.idl \
576 $$PWD/svg/SVGPathSegLinetoHorizontalAbs.idl \
577 $$PWD/svg/SVGPathSegLinetoHorizontalRel.idl \
578 $$PWD/svg/SVGPathSegLinetoRel.idl \
579 $$PWD/svg/SVGPathSegLinetoVerticalAbs.idl \
580 $$PWD/svg/SVGPathSegLinetoVerticalRel.idl \
581 $$PWD/svg/SVGPathSegList.idl \
582 $$PWD/svg/SVGPathSegMovetoAbs.idl \
583 $$PWD/svg/SVGPathSegMovetoRel.idl \
584 $$PWD/svg/SVGPatternElement.idl \
585 $$PWD/svg/SVGPoint.idl \
586 $$PWD/svg/SVGPointList.idl \
587 $$PWD/svg/SVGPolygonElement.idl \
588 $$PWD/svg/SVGPolylineElement.idl \
589 $$PWD/svg/SVGPreserveAspectRatio.idl \
590 $$PWD/svg/SVGRadialGradientElement.idl \
591 $$PWD/svg/SVGRectElement.idl \
592 $$PWD/svg/SVGRect.idl \
593 $$PWD/svg/SVGRenderingIntent.idl \
594 $$PWD/svg/SVGScriptElement.idl \
595 $$PWD/svg/SVGSetElement.idl \
596 $$PWD/svg/SVGStopElement.idl \
597 $$PWD/svg/SVGStringList.idl \
598 $$PWD/svg/SVGStyleElement.idl \
599 $$PWD/svg/SVGSVGElement.idl \
600 $$PWD/svg/SVGSwitchElement.idl \
601 $$PWD/svg/SVGSymbolElement.idl \
602 $$PWD/svg/SVGTextContentElement.idl \
603 $$PWD/svg/SVGTextElement.idl \
604 $$PWD/svg/SVGTextPathElement.idl \
605 $$PWD/svg/SVGTextPositioningElement.idl \
606 $$PWD/svg/SVGTitleElement.idl \
607 $$PWD/svg/SVGTransform.idl \
608 $$PWD/svg/SVGTransformList.idl \
609 $$PWD/svg/SVGTRefElement.idl \
610 $$PWD/svg/SVGTSpanElement.idl \
611 $$PWD/svg/SVGUnitTypes.idl \
612 $$PWD/svg/SVGUseElement.idl \
613 $$PWD/svg/SVGViewElement.idl \
614 $$PWD/svg/SVGVKernElement.idl \
615 $$PWD/svg/SVGViewSpec.idl \
616 $$PWD/svg/SVGZoomAndPan.idl \
617 $$PWD/svg/SVGZoomEvent.idl
620 contains(DEFINES, ENABLE_VIDEO_TRACK=1) {
622 $$PWD/html/track/TextTrack.idl \
623 $$PWD/html/track/TextTrackCue.idl \
624 $$PWD/html/track/TextTrackCueList.idl \
625 $$PWD/html/track/TextTrackList.idl \
626 $$PWD/html/track/TrackEvent.idl \
629 contains(DEFINES, ENABLE_MEDIA_SOURCE=1) {
631 $$PWD/Modules/mediasource/MediaSource.idl \
632 $$PWD/Modules/mediasource/SourceBuffer.idl \
633 $$PWD/Modules/mediasource/SourceBufferList.idl
636 mathmlnames.output = MathMLNames.cpp
637 mathmlnames.input = MATHML_NAMES
638 mathmlnames.depends = $$PWD/mathml/mathattrs.in
639 mathmlnames.script = $$PWD/dom/make_names.pl
640 mathmlnames.commands = perl -I$$PWD/bindings/scripts $$mathmlnames.script --tags $$PWD/mathml/mathtags.in --attrs $$PWD/mathml/mathattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
641 mathmlnames.extra_sources = MathMLElementFactory.cpp
642 GENERATORS += mathmlnames
645 svgnames.output = SVGNames.cpp
646 svgnames.input = SVG_NAMES
647 svgnames.depends = $$PWD/svg/svgattrs.in
648 svgnames.script = $$PWD/dom/make_names.pl
649 svgnames.commands = perl -I$$PWD/bindings/scripts $$svgnames.script --tags $$PWD/svg/svgtags.in --attrs $$PWD/svg/svgattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
650 svgnames.extra_sources = SVGElementFactory.cpp
651 svgnames.extra_sources += JSSVGElementWrapperFactory.cpp
652 GENERATORS += svgnames
655 xlinknames.output = XLinkNames.cpp
656 xlinknames.script = $$PWD/dom/make_names.pl
657 xlinknames.commands = perl -I$$PWD/bindings/scripts $$xlinknames.script --attrs $$PWD/svg/xlinkattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
658 xlinknames.input = XLINK_NAMES
659 GENERATORS += xlinknames
662 cssprops.script = $$PWD/css/makeprop.pl
663 cssprops.output = CSSPropertyNames.cpp
664 cssprops.input = WALDOCSSPROPS
665 cssprops.commands = perl -ne \"print $1\" ${QMAKE_FILE_NAME} $${EXTRACSSPROPERTIES} > ${QMAKE_FUNC_FILE_OUT_PATH}/${QMAKE_FILE_BASE}.in && cd ${QMAKE_FUNC_FILE_OUT_PATH} && perl -I$$PWD/bindings/scripts $$cssprops.script --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME} && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
666 cssprops.depends = ${QMAKE_FILE_NAME} $${EXTRACSSPROPERTIES} $$cssprops.script
667 GENERATORS += cssprops
670 cssvalues.script = $$PWD/css/makevalues.pl
671 cssvalues.output = CSSValueKeywords.cpp
672 cssvalues.input = WALDOCSSVALUES
673 cssvalues.commands = perl -ne \"print $1\" ${QMAKE_FILE_NAME} $$EXTRACSSVALUES > ${QMAKE_FUNC_FILE_OUT_PATH}/${QMAKE_FILE_BASE}.in && cd ${QMAKE_FUNC_FILE_OUT_PATH} && perl -I$$PWD/bindings/scripts $$cssvalues.script --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME} && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
674 cssvalues.depends = ${QMAKE_FILE_NAME} $${EXTRACSSVALUES} $$cssvalues.script
675 cssvalues.clean = ${QMAKE_FILE_OUT} ${QMAKE_FUNC_FILE_OUT_PATH}/${QMAKE_FILE_BASE}.h
676 GENERATORS += cssvalues
678 # GENERATOR 0: Resolve [Supplemental] dependency in IDLs
679 SUPPLEMENTAL_DEPENDENCY_FILE = supplemental_dependency.tmp
680 IDL_FILES_TMP = ${QMAKE_FUNC_FILE_OUT_PATH}/idl_files.tmp
681 PREPROCESS_IDLS_SCRIPT = $$PWD/bindings/scripts/preprocess-idls.pl
682 IDL_ATTRIBUTES_FILE = $$PWD/bindings/scripts/IDLAttributes.txt
684 preprocessIdls.input = IDL_ATTRIBUTES_FILE
685 preprocessIdls.script = $$PREPROCESS_IDLS_SCRIPT
686 # FIXME : We need to use only perl at some point.
687 EOC = $$escape_expand(\\n\\t)
688 win_cmd_shell: preprocessIdls.commands = type nul > $$IDL_FILES_TMP $$EOC
689 else: preprocessIdls.commands = cat /dev/null > $$IDL_FILES_TMP $$EOC
690 for(binding, IDL_BINDINGS) {
691 # We need "$$binding" instead of "$$binding ", because Windows' echo writes trailing whitespaces. (http://wkb.ug/88304)
692 preprocessIdls.commands += echo $$binding>> $$IDL_FILES_TMP $$EOC
694 preprocessIdls.commands += perl -I$$PWD/bindings/scripts $$preprocessIdls.script \
695 --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" \
696 --idlFilesList $$IDL_FILES_TMP \
697 --supplementalDependencyFile ${QMAKE_FUNC_FILE_OUT_PATH}/$$SUPPLEMENTAL_DEPENDENCY_FILE \
698 --idlAttributesFile $${IDL_ATTRIBUTES_FILE} \
699 --preprocessor \"$${QMAKE_MOC} -E\"
700 preprocessIdls.output = $$SUPPLEMENTAL_DEPENDENCY_FILE
701 preprocessIdls.add_output_to_sources = false
702 preprocessIdls.depends = $$PWD/bindings/scripts/IDLParser.pm $$IDL_BINDINGS
703 GENERATORS += preprocessIdls
705 # GENERATOR 1: Generate .h and .cpp from IDLs
706 generateBindings.input = IDL_BINDINGS
707 generateBindings.script = $$PWD/bindings/scripts/generate-bindings.pl
708 generateBindings.commands = perl -I$$PWD/bindings/scripts $$generateBindings.script \
709 --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" \
711 --include $$PWD/Modules/filesystem \
712 --include $$PWD/Modules/geolocation \
713 --include $$PWD/Modules/indexeddb \
714 --include $$PWD/Modules/quota \
715 --include $$PWD/Modules/webaudio \
716 --include $$PWD/Modules/webdatabase \
717 --include $$PWD/Modules/websockets \
718 --include $$PWD/dom \
719 --include $$PWD/fileapi \
720 --include $$PWD/html \
721 --include $$PWD/xml \
722 --include $$PWD/svg \
723 --include $$PWD/storage \
724 --include $$PWD/css \
725 --include $$PWD/testing \
726 --include $$PWD/workers \
727 --outputDir ${QMAKE_FUNC_FILE_OUT_PATH} \
728 --supplementalDependencyFile ${QMAKE_FUNC_FILE_OUT_PATH}/$$SUPPLEMENTAL_DEPENDENCY_FILE \
729 --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME}
730 generateBindings.output = JS${QMAKE_FILE_BASE}.cpp
731 generateBindings.depends = ${QMAKE_FUNC_FILE_OUT_PATH}/$$SUPPLEMENTAL_DEPENDENCY_FILE \
732 $$PWD/bindings/scripts/CodeGenerator.pm \
733 $$PWD/bindings/scripts/CodeGeneratorJS.pm \
734 $$PWD/bindings/scripts/IDLParser.pm \
735 $$PWD/bindings/scripts/IDLStructure.pm \
736 $$PWD/bindings/scripts/InFilesParser.pm \
737 $$PWD/bindings/scripts/preprocessor.pm
738 GENERATORS += generateBindings
740 # GENERATOR 2: inspector idl compiler
741 inspectorValidate.output = InspectorProtocolVersion.h
742 inspectorValidate.input = INSPECTOR_JSON
743 inspectorValidate.script = $$PWD/inspector/generate-inspector-protocol-version
744 inspectorValidate.commands = python $$inspectorValidate.script -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
745 inspectorValidate.depends = $$PWD/inspector/generate-inspector-protocol-version
746 inspectorValidate.add_output_to_sources = false
747 GENERATORS += inspectorValidate
749 inspectorJSON.output = InspectorFrontend.cpp InspectorBackendDispatcher.cpp InspectorTypeBuilder.cpp
750 inspectorJSON.input = INSPECTOR_JSON
751 inspectorJSON.script = $$PWD/inspector/CodeGeneratorInspector.py
752 inspectorJSON.commands = python $$inspectorJSON.script $$PWD/inspector/Inspector.json --output_h_dir ${QMAKE_FUNC_FILE_OUT_PATH} --output_cpp_dir ${QMAKE_FUNC_FILE_OUT_PATH}
753 inspectorJSON.depends = $$inspectorJSON.script
754 GENERATORS += inspectorJSON
756 inspectorBackendCommands.output = InspectorBackendCommands.qrc
757 inspectorBackendCommands.input = INSPECTOR_BACKEND_COMMANDS_QRC
758 inspectorBackendCommands.commands = $$QMAKE_COPY $$toSystemPath($$INSPECTOR_BACKEND_COMMANDS_QRC) ${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}InspectorBackendCommands.qrc
759 inspectorBackendCommands.add_output_to_sources = false
760 GENERATORS += inspectorBackendCommands
762 # GENERATOR 2-a: inspector injected script source compiler
763 injectedScriptSource.output = InjectedScriptSource.h
764 injectedScriptSource.input = INJECTED_SCRIPT_SOURCE
765 injectedScriptSource.commands = perl $$PWD/inspector/xxd.pl InjectedScriptSource_js ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
766 injectedScriptSource.add_output_to_sources = false
767 GENERATORS += injectedScriptSource
769 # GENERATOR 2-b: inspector webgl injected script source compiler
770 InjectedScriptWebGLModuleSource.output = InjectedScriptWebGLModuleSource.h
771 InjectedScriptWebGLModuleSource.input = INJECTED_SCRIPT_WEBGL_MODULE_SOURCE
772 InjectedScriptWebGLModuleSource.commands = perl $$PWD/inspector/xxd.pl InjectedScriptWebGLModuleSource_js ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
773 InjectedScriptWebGLModuleSource.add_output_to_sources = false
774 GENERATORS += InjectedScriptWebGLModuleSource
776 # GENERATOR 2-c: inspector debugger script source compiler
777 debuggerScriptSource.output = DebuggerScriptSource.h
778 debuggerScriptSource.input = DEBUGGER_SCRIPT_SOURCE
779 debuggerScriptSource.commands = perl $$PWD/inspector/xxd.pl DebuggerScriptSource_js ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
780 debuggerScriptSource.add_output_to_sources = false
781 GENERATORS += debuggerScriptSource
783 arrayBufferViewCustomScript.output = V8ArrayBufferViewCustomScript.h
784 arrayBufferViewCustomScript.input = ARRAY_BUFFER_VIEW_CUSTOM_SCRIPT_SOURCE
785 arrayBufferViewCustomScript.commands = perl $$PWD/inspector/xxd.pl V8ArrayBufferViewCustomScript_js ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
786 arrayBufferViewCustomScript.add_output_to_sources = false
787 GENERATORS += arrayBufferViewCustomScript
789 # GENERATOR 4: CSS grammar
790 cssbison.output = ${QMAKE_FILE_BASE}.cpp
791 cssbison.input = CSSBISON
792 cssbison.script = $$PWD/css/makegrammar.pl
793 cssbison.commands = perl $$cssbison.script ${QMAKE_FILE_NAME} ${QMAKE_FUNC_FILE_OUT_PATH}/${QMAKE_FILE_BASE}
794 cssbison.depends = ${QMAKE_FILE_NAME}
795 GENERATORS += cssbison
798 htmlnames.output = HTMLNames.cpp
799 htmlnames.input = HTML_NAMES
800 htmlnames.script = $$PWD/dom/make_names.pl
801 htmlnames.depends = $$PWD/html/HTMLAttributeNames.in
802 htmlnames.commands = perl -I$$PWD/bindings/scripts $$htmlnames.script --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
803 htmlnames.extra_sources = HTMLElementFactory.cpp
804 htmlnames.extra_sources += JSHTMLElementWrapperFactory.cpp
805 GENERATORS += htmlnames
808 xmlnsnames.output = XMLNSNames.cpp
809 xmlnsnames.input = XMLNS_NAMES
810 xmlnsnames.script = $$PWD/dom/make_names.pl
811 xmlnsnames.commands = perl -I$$PWD/bindings/scripts $$xmlnsnames.script --attrs $$PWD/xml/xmlnsattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
812 GENERATORS += xmlnsnames
815 xmlnames.output = XMLNames.cpp
816 xmlnames.input = XML_NAMES
817 xmlnames.script = $$PWD/dom/make_names.pl
818 xmlnames.commands = perl -I$$PWD/bindings/scripts $$xmlnames.script --attrs $$PWD/xml/xmlattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
819 GENERATORS += xmlnames
822 fontnames.output = WebKitFontFamilyNames.cpp
823 fontnames.input = FONT_NAMES
824 fontnames.script = $$PWD/dom/make_names.pl
825 fontnames.commands = perl -I$$PWD/bindings/scripts $$fontnames.script --fonts $$FONT_NAMES --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
826 entities.depends = $$PWD/dom/make_names.pl $$FONT_NAMES
827 GENERATORS += fontnames
830 eventfactory.output = EventFactory.cpp
831 eventfactory.input = EVENTS_NAMES
832 eventfactory.script = $$PWD/dom/make_event_factory.pl
833 eventfactory.commands = perl -I$$PWD/bindings/scripts $$eventfactory.script --input $$EVENTS_NAMES --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
834 eventfactory.depends = $$PWD/dom/make_event_factory.pl $$EVENTS_NAMES
835 GENERATORS += eventfactory
838 eventtargetfactory.output = EventTargetInterfaces.h
839 eventtargetfactory.add_output_to_sources = false
840 eventtargetfactory.input = EVENT_TARGET_FACTORY
841 eventtargetfactory.script = $$PWD/dom/make_event_factory.pl
842 eventtargetfactory.commands = perl -I$$PWD/bindings/scripts $$eventfactory.script --input $$EVENT_TARGET_FACTORY --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
843 eventtargetfactory.depends = $$PWD/dom/make_event_factory.pl $$EVENT_TARGET_FACTORY
844 GENERATORS += eventtargetfactory
847 exceptioncodedescription.output = ExceptionCodeDescription.cpp
848 exceptioncodedescription.input = DOM_EXCEPTIONS
849 exceptioncodedescription.script = $$PWD/dom/make_dom_exceptions.pl
850 exceptioncodedescription.commands = perl -I$$PWD/bindings/scripts $$exceptioncodedescription.script --input $$DOM_EXCEPTIONS --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}
851 exceptioncodedescription.depends = $$PWD/dom/make_dom_exceptions.pl $$DOM_EXCEPTIONS
852 GENERATORS += exceptioncodedescription
855 entities.output = HTMLEntityTable.cpp
856 entities.input = HTML_ENTITIES
857 entities.script = $$PWD/html/parser/create-html-entity-table
858 entities.commands = python $$entities.script -o ${QMAKE_FILE_OUT} $$HTML_ENTITIES
859 entities.clean = ${QMAKE_FILE_OUT}
860 entities.depends = $$PWD/html/parser/create-html-entity-table
861 GENERATORS += entities
864 colordata.output = ColorData.cpp
865 colordata.input = COLORDATA_GPERF
866 colordata.script = $$PWD/make-hash-tools.pl
867 colordata.commands = perl $$colordata.script ${QMAKE_FUNC_FILE_OUT_PATH} $$COLORDATA_GPERF
868 colordata.clean = ${QMAKE_FILE_OUT}
869 colordata.depends = $$PWD/make-hash-tools.pl
870 GENERATORS += colordata
872 contains(DEFINES, ENABLE_XSLT=1) {
874 xmlviewercss.output = XMLViewerCSS.h
875 xmlviewercss.input = XMLVIEWER_CSS
876 xmlviewercss.script = $$PWD/inspector/xxd.pl
877 xmlviewercss.commands = perl $$xmlviewercss.script XMLViewer_css $$XMLVIEWER_CSS ${QMAKE_FILE_OUT}
878 xmlviewercss.clean = ${QMAKE_FILE_OUT}
879 xmlviewercss.depends = $$PWD/inspector/xxd.pl
880 xmlviewercss.add_output_to_sources = false
881 GENERATORS += xmlviewercss
884 xmlviewerjs.output = XMLViewerJS.h
885 xmlviewerjs.input = XMLVIEWER_JS
886 xmlviewerjs.script = $$PWD/inspector/xxd.pl
887 xmlviewerjs.commands = perl $$xmlviewerjs.script XMLViewer_js $$XMLVIEWER_JS ${QMAKE_FILE_OUT}
888 xmlviewerjs.clean = ${QMAKE_FILE_OUT}
889 xmlviewerjs.depends = $$PWD/inspector/xxd.pl
890 xmlviewerjs.add_output_to_sources = false
891 GENERATORS += xmlviewerjs
895 stylesheets.script = $$PWD/css/make-css-file-arrays.pl
896 stylesheets.output = UserAgentStyleSheetsData.cpp
897 stylesheets.input = stylesheets.script
898 stylesheets.commands = perl $$stylesheets.script ${QMAKE_FUNC_FILE_OUT_PATH}/UserAgentStyleSheets.h ${QMAKE_FILE_OUT} $$STYLESHEETS_EMBED
899 stylesheets.depends = $$STYLESHEETS_EMBED
900 stylesheets.clean = ${QMAKE_FILE_OUT} ${QMAKE_FUNC_FILE_OUT_PATH}/UserAgentStyleSheets.h
901 GENERATORS += stylesheets
903 # GENERATOR 10: XPATH grammar
904 xpathbison.output = ${QMAKE_FILE_BASE}.cpp
905 xpathbison.input = XPATHBISON
906 xpathbison.commands = bison -d -p xpathyy ${QMAKE_FILE_NAME} -o ${QMAKE_FUNC_FILE_OUT_PATH}/${QMAKE_FILE_BASE}.tab.c && $(MOVE) ${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.tab.c ${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.cpp && $(MOVE) ${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.tab.h ${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.h
907 xpathbison.depends = ${QMAKE_FILE_NAME}
908 GENERATORS += xpathbison
910 # GENERATOR 11: WebKit Version
911 # The appropriate Apple-maintained Version.xcconfig file for WebKit version information is in Source/WebKit/mac/Configurations/.
912 webkitversion.script = $$PWD/../WebKit/scripts/generate-webkitversion.pl
913 webkitversion.output = WebKitVersion.h
914 webkitversion.input = webkitversion.script
915 webkitversion.commands = perl $$webkitversion.script --config $$PWD/../WebKit/mac/Configurations/Version.xcconfig --outputDir ${QMAKE_FUNC_FILE_OUT_PATH}/
916 webkitversion.clean = ${QMAKE_FUNC_FILE_OUT_PATH}/WebKitVersion.h
917 webkitversion.add_output_to_sources = false
918 GENERATORS += webkitversion
920 # Generator 12: Angle parsers
921 contains(DEFINES, WTF_USE_3D_GRAPHICS=1) {
923 ANGLE_DIR = $$replace(PWD, "WebCore", "ThirdParty/ANGLE")
925 ANGLE_FLEX_SOURCES = \
926 $$ANGLE_DIR/src/compiler/glslang.l \
927 $$ANGLE_DIR/src/compiler/preprocessor/new/Tokenizer.l
929 angleflex.output = ${QMAKE_FILE_BASE}_lex.cpp
930 angleflex.input = ANGLE_FLEX_SOURCES
931 angleflex.commands = flex --noline --nounistd --outfile=${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
932 *g++*: angleflex.variable_out = ANGLE_SOURCES
933 GENERATORS += angleflex
935 ANGLE_BISON_SOURCES = \
936 $$ANGLE_DIR/src/compiler/glslang.y \
937 $$ANGLE_DIR/src/compiler/preprocessor/new/ExpressionParser.y
939 anglebison_decl.output = ${QMAKE_FILE_BASE}_tab.h
940 anglebison_decl.input = ANGLE_BISON_SOURCES
941 anglebison_decl.commands = bison --no-lines --skeleton=yacc.c --defines=${QMAKE_FILE_OUT} --output=${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}${QMAKE_FILE_OUT_BASE}.cpp ${QMAKE_FILE_IN}
942 anglebison_decl.variable_out = GENERATED_FILES
943 GENERATORS += anglebison_decl
945 anglebison_impl.input = ANGLE_BISON_SOURCES
946 anglebison_impl.commands = $$escape_expand(\\n)
947 anglebison_impl.depends = ${QMAKE_FILE_BASE}_tab.h
948 anglebison_impl.output = ${QMAKE_FILE_BASE}_tab.cpp
949 *g++*: anglebison_impl.variable_out = ANGLE_SOURCES
950 GENERATORS += anglebison_impl