Home | History | Annotate | Download | only in WebCore
      1 # Derived source generators
      2 
      3 include(../common.pri)
      4 include(features.pri)
      5 
      6 CONFIG(standalone_package) {
      7     isEmpty(WC_GENERATED_SOURCES_DIR):WC_GENERATED_SOURCES_DIR = $$PWD/generated
      8 } else {
      9     isEmpty(WC_GENERATED_SOURCES_DIR):WC_GENERATED_SOURCES_DIR = generated
     10 }
     11 
     12 ## Derived source generators
     13 MATHML_NAMES = $$PWD/mathml/mathtags.in
     14 
     15 WML_NAMES = $$PWD/wml/WMLTagNames.in
     16 
     17 SVG_NAMES = $$PWD/svg/svgtags.in
     18 
     19 XLINK_NAMES = $$PWD/svg/xlinkattrs.in
     20 
     21 TOKENIZER = $$PWD/css/tokenizer.flex
     22 
     23 DOCTYPESTRINGS_GPERF = $$PWD/html/DocTypeStrings.gperf
     24 
     25 CSSBISON = $$PWD/css/CSSGrammar.y
     26 
     27 HTML_NAMES = $$PWD/html/HTMLTagNames.in
     28 
     29 XML_NAMES = $$PWD/xml/xmlattrs.in
     30 
     31 XMLNS_NAMES = $$PWD/xml/xmlnsattrs.in
     32 
     33 HTML_ENTITIES = $$PWD/html/parser/HTMLEntityNames.in
     34 
     35 COLORDATA_GPERF = $$PWD/platform/ColorData.gperf
     36 
     37 WALDOCSSPROPS = $$PWD/css/CSSPropertyNames.in
     38 
     39 WALDOCSSVALUES = $$PWD/css/CSSValueKeywords.in
     40 
     41 contains(DEFINES, ENABLE_DASHBOARD_SUPPORT=1): DASHBOARDSUPPORTCSSPROPERTIES = $$PWD/css/DashboardSupportCSSPropertyNames.in
     42 
     43 XPATHBISON = $$PWD/xml/XPathGrammar.y
     44 
     45 contains(DEFINES, ENABLE_SVG=1) {
     46     EXTRACSSPROPERTIES += $$PWD/css/SVGCSSPropertyNames.in
     47     EXTRACSSVALUES += $$PWD/css/SVGCSSValueKeywords.in
     48 }
     49 
     50 contains(DEFINES, ENABLE_WCSS=1) {
     51     EXTRACSSPROPERTIES += $$PWD/css/WCSSPropertyNames.in
     52     EXTRACSSVALUES += $$PWD/css/WCSSValueKeywords.in
     53 }
     54 
     55 STYLESHEETS_EMBED = \
     56     $$PWD/css/html.css \
     57     $$PWD/css/quirks.css \
     58     $$PWD/css/mathml.css \
     59     $$PWD/css/svg.css \
     60     $$PWD/css/view-source.css \
     61     $$PWD/css/wml.css \
     62     $$PWD/css/mediaControls.css \
     63     $$PWD/css/mediaControlsQt.css \
     64     $$PWD/css/mediaControlsQtFullscreen.css \
     65     $$PWD/css/themeQtNoListboxes.css
     66 
     67 v8 {
     68     IDL_BINDINGS += \
     69         html/canvas/CanvasPixelArray.idl \
     70         storage/IDBVersionChangeEvent.idl \
     71         storage/IDBVersionChangeRequest.idl
     72 }
     73 
     74 IDL_BINDINGS += \
     75     css/Counter.idl \
     76     css/CSSCharsetRule.idl \
     77     css/CSSFontFaceRule.idl \
     78     css/CSSImportRule.idl \
     79     css/CSSMediaRule.idl \
     80     css/CSSPageRule.idl \
     81     css/CSSPrimitiveValue.idl \
     82     css/CSSRule.idl \
     83     css/CSSRuleList.idl \
     84     css/CSSStyleDeclaration.idl \
     85     css/CSSStyleRule.idl \
     86     css/CSSStyleSheet.idl \
     87     css/CSSValue.idl \
     88     css/CSSValueList.idl \
     89     css/MediaList.idl \
     90     css/MediaQueryList.idl \
     91     css/Rect.idl \
     92     css/RGBColor.idl \
     93     css/StyleMedia.idl \
     94     css/StyleSheet.idl \
     95     css/StyleSheetList.idl \
     96     css/WebKitCSSKeyframeRule.idl \
     97     css/WebKitCSSKeyframesRule.idl \
     98     css/WebKitCSSMatrix.idl \
     99     css/WebKitCSSTransformValue.idl \
    100     dom/Attr.idl \
    101     dom/BeforeLoadEvent.idl \
    102     dom/BeforeProcessEvent.idl \
    103     dom/CharacterData.idl \
    104     dom/ClientRect.idl \
    105     dom/ClientRectList.idl \
    106     dom/Clipboard.idl \
    107     dom/CDATASection.idl \
    108     dom/Comment.idl \
    109     dom/CompositionEvent.idl \
    110     dom/CustomEvent.idl \
    111     dom/DataTransferItem.idl \
    112     dom/DataTransferItems.idl \
    113     dom/DeviceMotionEvent.idl \
    114     dom/DeviceOrientationEvent.idl \
    115     dom/DocumentFragment.idl \
    116     dom/Document.idl \
    117     dom/DocumentType.idl \
    118     dom/DOMCoreException.idl \
    119     dom/DOMImplementation.idl \
    120     dom/DOMStringList.idl \
    121     dom/DOMStringMap.idl \
    122     dom/Element.idl \
    123     dom/Entity.idl \
    124     dom/EntityReference.idl \
    125     dom/ErrorEvent.idl \
    126     dom/Event.idl \
    127     dom/EventException.idl \
    128 #    dom/EventListener.idl \
    129 #    dom/EventTarget.idl \
    130     dom/HashChangeEvent.idl \
    131     dom/KeyboardEvent.idl \
    132     dom/MouseEvent.idl \
    133     dom/MessageChannel.idl \
    134     dom/MessageEvent.idl \
    135     dom/MessagePort.idl \
    136     dom/MutationEvent.idl \
    137     dom/NamedNodeMap.idl \
    138     dom/Node.idl \
    139     dom/NodeFilter.idl \
    140     dom/NodeIterator.idl \
    141     dom/NodeList.idl \
    142     dom/Notation.idl \
    143     dom/OverflowEvent.idl \
    144     dom/PageTransitionEvent.idl \
    145     dom/PopStateEvent.idl \
    146     dom/ProcessingInstruction.idl \
    147     dom/ProgressEvent.idl \
    148     dom/RangeException.idl \
    149     dom/Range.idl \
    150     dom/StringCallback.idl \
    151     dom/Text.idl \
    152     dom/TextEvent.idl \
    153     dom/Touch.idl \
    154     dom/TouchEvent.idl \
    155     dom/TouchList.idl \
    156     dom/TreeWalker.idl \
    157     dom/UIEvent.idl \
    158     dom/WebKitAnimationEvent.idl \
    159     dom/WebKitTransitionEvent.idl \
    160     dom/WheelEvent.idl \
    161     fileapi/Blob.idl \
    162     fileapi/DirectoryEntry.idl \
    163     fileapi/DirectoryEntrySync.idl \
    164     fileapi/DirectoryReader.idl \
    165     fileapi/DirectoryReaderSync.idl \
    166     fileapi/DOMFileSystem.idl \
    167     fileapi/DOMFileSystemSync.idl \
    168     fileapi/EntriesCallback.idl \
    169     fileapi/Entry.idl \
    170     fileapi/EntryArray.idl \
    171     fileapi/EntryArraySync.idl \
    172     fileapi/EntryCallback.idl \
    173     fileapi/EntrySync.idl \
    174     fileapi/ErrorCallback.idl \
    175     fileapi/File.idl \
    176     fileapi/FileCallback.idl \
    177     fileapi/FileEntry.idl \
    178     fileapi/FileEntrySync.idl \
    179     fileapi/FileError.idl \
    180     fileapi/FileException.idl \
    181     fileapi/FileList.idl \
    182     fileapi/FileReader.idl \
    183     fileapi/FileReaderSync.idl \
    184     fileapi/FileSystemCallback.idl \
    185     fileapi/FileWriter.idl \
    186     fileapi/FileWriterCallback.idl \
    187     fileapi/WebKitFlags.idl \
    188     fileapi/Metadata.idl \
    189     fileapi/MetadataCallback.idl \
    190     fileapi/WebKitBlobBuilder.idl \
    191     html/canvas/ArrayBufferView.idl \
    192     html/canvas/ArrayBuffer.idl \
    193     html/canvas/DataView.idl \
    194     html/canvas/Int8Array.idl \
    195     html/canvas/Float32Array.idl \
    196     html/canvas/CanvasGradient.idl \
    197     html/canvas/Int32Array.idl \
    198     html/canvas/CanvasPattern.idl \
    199     html/canvas/CanvasRenderingContext.idl \
    200     html/canvas/CanvasRenderingContext2D.idl \
    201     html/canvas/OESStandardDerivatives.idl \
    202     html/canvas/OESTextureFloat.idl \
    203     html/canvas/OESVertexArrayObject.idl \
    204     html/canvas/WebGLActiveInfo.idl \
    205     html/canvas/WebGLBuffer.idl \
    206     html/canvas/WebGLContextAttributes.idl \
    207     html/canvas/WebGLFramebuffer.idl \
    208     html/canvas/WebGLProgram.idl \
    209     html/canvas/WebGLRenderbuffer.idl \
    210     html/canvas/WebGLRenderingContext.idl \
    211     html/canvas/WebGLShader.idl \
    212     html/canvas/Int16Array.idl \
    213     html/canvas/WebGLTexture.idl \
    214     html/canvas/WebGLUniformLocation.idl \
    215     html/canvas/WebGLVertexArrayObjectOES.idl \
    216     html/canvas/WebKitLoseContext.idl \
    217     html/canvas/Uint8Array.idl \
    218     html/canvas/Uint32Array.idl \
    219     html/canvas/Uint16Array.idl \
    220     html/DataGridColumn.idl \
    221     html/DataGridColumnList.idl \
    222     html/DOMFormData.idl \
    223     html/DOMSettableTokenList.idl \
    224     html/DOMTokenList.idl \
    225     html/DOMURL.idl \
    226     html/HTMLAllCollection.idl \
    227     html/HTMLAudioElement.idl \
    228     html/HTMLAnchorElement.idl \
    229     html/HTMLAppletElement.idl \
    230     html/HTMLAreaElement.idl \
    231     html/HTMLBaseElement.idl \
    232     html/HTMLBaseFontElement.idl \
    233     html/HTMLBlockquoteElement.idl \
    234     html/HTMLBodyElement.idl \
    235     html/HTMLBRElement.idl \
    236     html/HTMLButtonElement.idl \
    237     html/HTMLCanvasElement.idl \
    238     html/HTMLCollection.idl \
    239     html/HTMLDataGridElement.idl \
    240     html/HTMLDataGridCellElement.idl \
    241     html/HTMLDataGridColElement.idl \
    242     html/HTMLDataGridRowElement.idl \
    243     html/HTMLDataListElement.idl \
    244     html/HTMLDetailsElement.idl \
    245     html/HTMLDirectoryElement.idl \
    246     html/HTMLDivElement.idl \
    247     html/HTMLDListElement.idl \
    248     html/HTMLDocument.idl \
    249     html/HTMLElement.idl \
    250     html/HTMLEmbedElement.idl \
    251     html/HTMLFieldSetElement.idl \
    252     html/HTMLFontElement.idl \
    253     html/HTMLFormElement.idl \
    254     html/HTMLFrameElement.idl \
    255     html/HTMLFrameSetElement.idl \
    256     html/HTMLHeadElement.idl \
    257     html/HTMLHeadingElement.idl \
    258     html/HTMLHRElement.idl \
    259     html/HTMLHtmlElement.idl \
    260     html/HTMLIFrameElement.idl \
    261     html/HTMLImageElement.idl \
    262     html/HTMLInputElement.idl \
    263     html/HTMLIsIndexElement.idl \
    264     html/HTMLKeygenElement.idl \
    265     html/HTMLLabelElement.idl \
    266     html/HTMLLegendElement.idl \
    267     html/HTMLLIElement.idl \
    268     html/HTMLLinkElement.idl \
    269     html/HTMLMapElement.idl \
    270     html/HTMLMarqueeElement.idl \
    271     html/HTMLMediaElement.idl \
    272     html/HTMLMenuElement.idl \
    273     html/HTMLMetaElement.idl \
    274     html/HTMLMeterElement.idl \
    275     html/HTMLModElement.idl \
    276     html/HTMLObjectElement.idl \
    277     html/HTMLOListElement.idl \
    278     html/HTMLOptGroupElement.idl \
    279     html/HTMLOptionElement.idl \
    280     html/HTMLOptionsCollection.idl \
    281     html/HTMLOutputElement.idl \
    282     html/HTMLParagraphElement.idl \
    283     html/HTMLParamElement.idl \
    284     html/HTMLPreElement.idl \
    285     html/HTMLProgressElement.idl \
    286     html/HTMLQuoteElement.idl \
    287     html/HTMLScriptElement.idl \
    288     html/HTMLSelectElement.idl \
    289     html/HTMLSourceElement.idl \
    290     html/HTMLStyleElement.idl \
    291     html/HTMLTableCaptionElement.idl \
    292     html/HTMLTableCellElement.idl \
    293     html/HTMLTableColElement.idl \
    294     html/HTMLTableElement.idl \
    295     html/HTMLTableRowElement.idl \
    296     html/HTMLTableSectionElement.idl \
    297     html/HTMLTextAreaElement.idl \
    298     html/HTMLTitleElement.idl \
    299     html/HTMLTrackElement.idl \
    300     html/HTMLUListElement.idl \
    301     html/HTMLVideoElement.idl \
    302     html/ImageData.idl \
    303     html/MediaError.idl \
    304     html/TextMetrics.idl \
    305     html/TimeRanges.idl \
    306     html/ValidityState.idl \
    307     html/VoidCallback.idl \
    308     inspector/InjectedScriptHost.idl \
    309     inspector/InspectorFrontendHost.idl \
    310     inspector/JavaScriptCallFrame.idl \
    311     inspector/ScriptProfile.idl \
    312     inspector/ScriptProfileNode.idl \
    313     loader/appcache/DOMApplicationCache.idl \
    314     notifications/Notification.idl \
    315     notifications/NotificationCenter.idl \
    316     page/BarInfo.idl \
    317     page/Console.idl \
    318     page/Coordinates.idl \
    319     page/Crypto.idl \
    320     page/DOMSelection.idl \
    321     page/DOMWindow.idl \
    322     page/EventSource.idl \
    323     page/Geolocation.idl \
    324     page/Geoposition.idl \
    325     page/History.idl \
    326     page/Location.idl \
    327     page/MemoryInfo.idl \
    328     page/Navigator.idl \
    329     page/NavigatorUserMediaError.idl \
    330     page/NavigatorUserMediaErrorCallback.idl \
    331     page/NavigatorUserMediaSuccessCallback.idl \
    332     page/Performance.idl \
    333     page/PerformanceNavigation.idl \
    334     page/PerformanceTiming.idl \
    335     page/PositionError.idl \
    336     page/Screen.idl \
    337     page/SpeechInputEvent.idl \
    338     page/SpeechInputResult.idl \
    339     page/SpeechInputResultList.idl \
    340     page/WebKitAnimation.idl \
    341     page/WebKitAnimationList.idl \
    342     page/WebKitPoint.idl \
    343     page/WorkerNavigator.idl \
    344     plugins/DOMPlugin.idl \
    345     plugins/DOMMimeType.idl \
    346     plugins/DOMPluginArray.idl \
    347     plugins/DOMMimeTypeArray.idl \
    348     storage/Database.idl \
    349     storage/DatabaseCallback.idl \
    350     storage/DatabaseSync.idl \
    351     storage/IDBAny.idl \
    352     storage/IDBCursor.idl \
    353     storage/IDBDatabaseError.idl \
    354     storage/IDBDatabaseException.idl \
    355     storage/IDBDatabase.idl \
    356     storage/IDBFactory.idl \
    357     storage/IDBIndex.idl \
    358     storage/IDBKey.idl \
    359     storage/IDBKeyRange.idl \
    360     storage/IDBObjectStore.idl \
    361     storage/IDBRequest.idl \
    362     storage/IDBTransaction.idl \
    363     storage/Storage.idl \
    364     storage/StorageEvent.idl \
    365     storage/StorageInfo.idl \
    366     storage/StorageInfoErrorCallback.idl \
    367     storage/StorageInfoUsageCallback.idl \
    368     storage/SQLError.idl \
    369     storage/SQLException.idl \
    370     storage/SQLResultSet.idl \
    371     storage/SQLResultSetRowList.idl \
    372     storage/SQLStatementCallback.idl \
    373     storage/SQLStatementErrorCallback.idl \
    374     storage/SQLTransaction.idl \
    375     storage/SQLTransactionCallback.idl \
    376     storage/SQLTransactionErrorCallback.idl \
    377     storage/SQLTransactionSync.idl \
    378     storage/SQLTransactionSyncCallback.idl \
    379     svg/SVGZoomEvent.idl \
    380     svg/SVGAElement.idl \
    381     svg/SVGAltGlyphElement.idl \
    382     svg/SVGAngle.idl \
    383     svg/SVGAnimateColorElement.idl \
    384     svg/SVGAnimatedAngle.idl \
    385     svg/SVGAnimatedBoolean.idl \
    386     svg/SVGAnimatedEnumeration.idl \
    387     svg/SVGAnimatedInteger.idl \
    388     svg/SVGAnimatedLength.idl \
    389     svg/SVGAnimatedLengthList.idl \
    390     svg/SVGAnimatedNumber.idl \
    391     svg/SVGAnimatedNumberList.idl \
    392     svg/SVGAnimatedPreserveAspectRatio.idl \
    393     svg/SVGAnimatedRect.idl \
    394     svg/SVGAnimatedString.idl \
    395     svg/SVGAnimatedTransformList.idl \
    396     svg/SVGAnimateElement.idl \
    397     svg/SVGAnimateTransformElement.idl \
    398     svg/SVGAnimationElement.idl \
    399     svg/SVGCircleElement.idl \
    400     svg/SVGClipPathElement.idl \
    401     svg/SVGColor.idl \
    402     svg/SVGComponentTransferFunctionElement.idl \
    403     svg/SVGCursorElement.idl \
    404     svg/SVGDefsElement.idl \
    405     svg/SVGDescElement.idl \
    406     svg/SVGDocument.idl \
    407     svg/SVGElement.idl \
    408     svg/SVGElementInstance.idl \
    409     svg/SVGElementInstanceList.idl \
    410     svg/SVGEllipseElement.idl \
    411     svg/SVGException.idl \
    412     svg/SVGFEBlendElement.idl \
    413     svg/SVGFEColorMatrixElement.idl \
    414     svg/SVGFEComponentTransferElement.idl \
    415     svg/SVGFECompositeElement.idl \
    416     svg/SVGFEConvolveMatrixElement.idl \
    417     svg/SVGFEDiffuseLightingElement.idl \
    418     svg/SVGFEDisplacementMapElement.idl \
    419     svg/SVGFEDistantLightElement.idl \
    420     svg/SVGFEFloodElement.idl \
    421     svg/SVGFEFuncAElement.idl \
    422     svg/SVGFEFuncBElement.idl \
    423     svg/SVGFEFuncGElement.idl \
    424     svg/SVGFEFuncRElement.idl \
    425     svg/SVGFEGaussianBlurElement.idl \
    426     svg/SVGFEImageElement.idl \
    427     svg/SVGFEMergeElement.idl \
    428     svg/SVGFEMergeNodeElement.idl \
    429     svg/SVGFEMorphologyElement.idl \
    430     svg/SVGFEOffsetElement.idl \
    431     svg/SVGFEPointLightElement.idl \
    432     svg/SVGFESpecularLightingElement.idl \
    433     svg/SVGFESpotLightElement.idl \
    434     svg/SVGFETileElement.idl \
    435     svg/SVGFETurbulenceElement.idl \
    436     svg/SVGFilterElement.idl \
    437     svg/SVGFontElement.idl \
    438     svg/SVGFontFaceElement.idl \
    439     svg/SVGFontFaceFormatElement.idl \
    440     svg/SVGFontFaceNameElement.idl \
    441     svg/SVGFontFaceSrcElement.idl \
    442     svg/SVGFontFaceUriElement.idl \
    443     svg/SVGForeignObjectElement.idl \
    444     svg/SVGGElement.idl \
    445     svg/SVGGlyphElement.idl \
    446     svg/SVGGradientElement.idl \
    447     svg/SVGHKernElement.idl \
    448     svg/SVGImageElement.idl \
    449     svg/SVGLength.idl \
    450     svg/SVGLengthList.idl \
    451     svg/SVGLinearGradientElement.idl \
    452     svg/SVGLineElement.idl \
    453     svg/SVGMarkerElement.idl \
    454     svg/SVGMaskElement.idl \
    455     svg/SVGMatrix.idl \
    456     svg/SVGMetadataElement.idl \
    457     svg/SVGMissingGlyphElement.idl \
    458     svg/SVGNumber.idl \
    459     svg/SVGNumberList.idl \
    460     svg/SVGPaint.idl \
    461     svg/SVGPathElement.idl \
    462     svg/SVGPathSegArcAbs.idl \
    463     svg/SVGPathSegArcRel.idl \
    464     svg/SVGPathSegClosePath.idl \
    465     svg/SVGPathSegCurvetoCubicAbs.idl \
    466     svg/SVGPathSegCurvetoCubicRel.idl \
    467     svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
    468     svg/SVGPathSegCurvetoCubicSmoothRel.idl \
    469     svg/SVGPathSegCurvetoQuadraticAbs.idl \
    470     svg/SVGPathSegCurvetoQuadraticRel.idl \
    471     svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
    472     svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
    473     svg/SVGPathSeg.idl \
    474     svg/SVGPathSegLinetoAbs.idl \
    475     svg/SVGPathSegLinetoHorizontalAbs.idl \
    476     svg/SVGPathSegLinetoHorizontalRel.idl \
    477     svg/SVGPathSegLinetoRel.idl \
    478     svg/SVGPathSegLinetoVerticalAbs.idl \
    479     svg/SVGPathSegLinetoVerticalRel.idl \
    480     svg/SVGPathSegList.idl \
    481     svg/SVGPathSegMovetoAbs.idl \
    482     svg/SVGPathSegMovetoRel.idl \
    483     svg/SVGPatternElement.idl \
    484     svg/SVGPoint.idl \
    485     svg/SVGPointList.idl \
    486     svg/SVGPolygonElement.idl \
    487     svg/SVGPolylineElement.idl \
    488     svg/SVGPreserveAspectRatio.idl \
    489     svg/SVGRadialGradientElement.idl \
    490     svg/SVGRectElement.idl \
    491     svg/SVGRect.idl \
    492     svg/SVGRenderingIntent.idl \
    493     svg/SVGScriptElement.idl \
    494     svg/SVGSetElement.idl \
    495     svg/SVGStopElement.idl \
    496     svg/SVGStringList.idl \
    497     svg/SVGStyleElement.idl \
    498     svg/SVGSVGElement.idl \
    499     svg/SVGSwitchElement.idl \
    500     svg/SVGSymbolElement.idl \
    501     svg/SVGTextContentElement.idl \
    502     svg/SVGTextElement.idl \
    503     svg/SVGTextPathElement.idl \
    504     svg/SVGTextPositioningElement.idl \
    505     svg/SVGTitleElement.idl \
    506     svg/SVGTransform.idl \
    507     svg/SVGTransformList.idl \
    508     svg/SVGTRefElement.idl \
    509     svg/SVGTSpanElement.idl \
    510     svg/SVGUnitTypes.idl \
    511     svg/SVGUseElement.idl \
    512     svg/SVGViewElement.idl \
    513     svg/SVGVKernElement.idl \
    514     webaudio/AudioBuffer.idl \
    515     webaudio/AudioBufferSourceNode.idl \
    516     webaudio/AudioChannelMerger.idl \
    517     webaudio/AudioChannelSplitter.idl \
    518     webaudio/AudioContext.idl \
    519     webaudio/AudioDestinationNode.idl \
    520     webaudio/AudioGain.idl \
    521     webaudio/AudioGainNode.idl \
    522     webaudio/AudioListener.idl \
    523     webaudio/AudioNode.idl \
    524     webaudio/AudioPannerNode.idl \
    525     webaudio/AudioParam.idl \
    526     webaudio/AudioProcessingEvent.idl \
    527     webaudio/AudioSourceNode.idl \
    528     webaudio/ConvolverNode.idl \
    529     webaudio/DelayNode.idl \
    530     webaudio/HighPass2FilterNode.idl \
    531     webaudio/JavaScriptAudioNode.idl \
    532     webaudio/LowPass2FilterNode.idl \
    533     webaudio/RealtimeAnalyserNode.idl \
    534     websockets/WebSocket.idl \
    535     workers/AbstractWorker.idl \
    536     workers/DedicatedWorkerContext.idl \
    537     workers/SharedWorker.idl \
    538     workers/SharedWorkerContext.idl \
    539     workers/Worker.idl \
    540     workers/WorkerContext.idl \
    541     workers/WorkerLocation.idl \
    542     xml/DOMParser.idl \
    543     xml/XMLHttpRequest.idl \
    544     xml/XMLHttpRequestException.idl \
    545     xml/XMLHttpRequestProgressEvent.idl \
    546     xml/XMLHttpRequestUpload.idl \
    547     xml/XMLSerializer.idl \
    548     xml/XPathNSResolver.idl \
    549     xml/XPathException.idl \
    550     xml/XPathExpression.idl \
    551     xml/XPathResult.idl \
    552     xml/XPathEvaluator.idl \
    553     xml/XSLTProcessor.idl
    554 
    555 
    556 INSPECTOR_JSON = inspector/Inspector.json
    557 INSPECTOR_IDL = $${WC_GENERATED_SOURCES_DIR}/Inspector.idl
    558 INSPECTOR_BACKEND_STUB_QRC = inspector/front-end/InspectorBackendStub.qrc
    559 INJECTED_SCRIPT_SOURCE = $$PWD/inspector/InjectedScriptSource.js
    560 
    561 v8: wrapperFactoryArg = --wrapperFactoryV8
    562 else: wrapperFactoryArg = --wrapperFactory
    563 
    564 mathmlnames.output = $${WC_GENERATED_SOURCES_DIR}/MathMLNames.cpp
    565 mathmlnames.input = MATHML_NAMES
    566 mathmlnames.wkScript = $$PWD/dom/make_names.pl
    567 mathmlnames.commands = perl -I$$PWD/bindings/scripts $$mathmlnames.wkScript --tags $$PWD/mathml/mathtags.in --attrs $$PWD/mathml/mathattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory $$wrapperFactoryArg --outputDir $$WC_GENERATED_SOURCES_DIR
    568 mathmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/MathMLElementFactory.cpp 
    569 addExtraCompiler(mathmlnames)
    570 
    571 contains(DEFINES, ENABLE_WML=1) {
    572     wmlnames.output = $${WC_GENERATED_SOURCES_DIR}/WMLNames.cpp
    573     wmlnames.input = WML_NAMES
    574     wmlnames.wkScript = $$PWD/dom/make_names.pl
    575     wmlnames.commands = perl -I$$PWD/bindings/scripts $$wmlnames.wkScript --tags $$PWD/wml/WMLTagNames.in --attrs $$PWD/wml/WMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory $$wrapperFactoryArg --outputDir $$WC_GENERATED_SOURCES_DIR
    576     wmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/WMLElementFactory.cpp
    577     addExtraCompiler(wmlnames)
    578 }
    579 
    580 # GENERATOR 5-C:
    581 svgnames.output = $${WC_GENERATED_SOURCES_DIR}/SVGNames.cpp
    582 svgnames.input = SVG_NAMES
    583 svgnames.depends = $$PWD/svg/svgattrs.in
    584 svgnames.wkScript = $$PWD/dom/make_names.pl
    585 svgnames.commands = perl -I$$PWD/bindings/scripts $$svgnames.wkScript --tags $$PWD/svg/svgtags.in --attrs $$PWD/svg/svgattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory $$wrapperFactoryArg --outputDir $$WC_GENERATED_SOURCES_DIR
    586 svgnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/SVGElementFactory.cpp
    587 v8 {
    588     svgnames.wkExtraSources += $${WC_GENERATED_SOURCES_DIR}/V8SVGElementWrapperFactory.cpp
    589 } else {
    590     svgnames.wkExtraSources += $${WC_GENERATED_SOURCES_DIR}/JSSVGElementWrapperFactory.cpp
    591 }
    592 addExtraCompiler(svgnames)
    593 
    594 # GENERATOR 5-D:
    595 xlinknames.output = $${WC_GENERATED_SOURCES_DIR}/XLinkNames.cpp
    596 xlinknames.wkScript = $$PWD/dom/make_names.pl
    597 xlinknames.commands = perl -I$$PWD/bindings/scripts $$xlinknames.wkScript --attrs $$PWD/svg/xlinkattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$WC_GENERATED_SOURCES_DIR
    598 xlinknames.input = XLINK_NAMES
    599 addExtraCompiler(xlinknames)
    600 
    601 # GENERATOR 6-A:
    602 cssprops.wkScript = $$PWD/css/makeprop.pl
    603 cssprops.output = $${WC_GENERATED_SOURCES_DIR}/CSSPropertyNames.cpp
    604 cssprops.input = WALDOCSSPROPS
    605 cssprops.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $${DASHBOARDSUPPORTCSSPROPERTIES} $${EXTRACSSPROPERTIES} > $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.in && cd $$WC_GENERATED_SOURCES_DIR && perl $$cssprops.wkScript && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
    606 cssprops.depends = ${QMAKE_FILE_NAME} $${DASHBOARDSUPPORTCSSPROPERTIES} $${EXTRACSSPROPERTIES} $$cssprops.wkScript
    607 addExtraCompiler(cssprops)
    608 
    609 # GENERATOR 6-B:
    610 cssvalues.wkScript = $$PWD/css/makevalues.pl
    611 cssvalues.output = $${WC_GENERATED_SOURCES_DIR}/CSSValueKeywords.cpp
    612 cssvalues.input = WALDOCSSVALUES
    613 cssvalues.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $$EXTRACSSVALUES > $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.in && cd $$WC_GENERATED_SOURCES_DIR && perl $$cssvalues.wkScript && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
    614 cssvalues.depends = ${QMAKE_FILE_NAME} $${EXTRACSSVALUES} $$cssvalues.wkScript
    615 cssvalues.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.h
    616 addExtraCompiler(cssvalues)
    617 
    618 # GENERATOR 1: IDL compiler
    619 idl.input = IDL_BINDINGS
    620 idl.wkScript = $$PWD/bindings/scripts/generate-bindings.pl
    621 v8: generator = V8
    622 else: generator = JS
    623 idl.commands = perl -I$$PWD/bindings/scripts $$idl.wkScript \
    624                --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" \
    625                --generator $$generator \
    626                --include $$PWD/dom \
    627                --include $$PWD/fileapi \
    628                --include $$PWD/html \
    629                --include $$PWD/xml \
    630                --include $$PWD/svg \
    631                --include $$PWD/storage \
    632                --include $$PWD/css \
    633                --include $$PWD/webaudio \
    634                --include $$PWD/workers \
    635                --outputDir $$WC_GENERATED_SOURCES_DIR \
    636                --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME}
    637 v8 {
    638     idl.output = $${WC_GENERATED_SOURCES_DIR}/V8${QMAKE_FILE_BASE}.cpp
    639     idl.depends = $$PWD/bindings/scripts/CodeGenerator.pm \
    640                   $$PWD/bindings/scripts/CodeGeneratorV8.pm \
    641                   $$PWD/bindings/scripts/IDLParser.pm \
    642                   $$PWD/bindings/scripts/IDLStructure.pm \
    643                   $$PWD/bindings/scripts/InFilesParser.pm
    644 } else {
    645     idl.output = $${WC_GENERATED_SOURCES_DIR}/JS${QMAKE_FILE_BASE}.cpp
    646     idl.depends = $$PWD/bindings/scripts/CodeGenerator.pm \
    647                   $$PWD/bindings/scripts/CodeGeneratorJS.pm \
    648                   $$PWD/bindings/scripts/IDLParser.pm \
    649                   $$PWD/bindings/scripts/IDLStructure.pm \
    650                   $$PWD/bindings/scripts/InFilesParser.pm
    651 }
    652 addExtraCompiler(idl)
    653 
    654 # GENERATOR 2: inspector idl compiler
    655 inspectorJSON.output = $${WC_GENERATED_SOURCES_DIR}/Inspector.idl
    656 inspectorJSON.input = INSPECTOR_JSON
    657 inspectorJSON.wkScript = $$PWD/inspector/generate-inspector-idl
    658 inspectorJSON.commands = python $$inspectorJSON.wkScript -o $${WC_GENERATED_SOURCES_DIR}/Inspector.idl $$PWD/inspector/Inspector.json
    659 inspectorJSON.depends = $$PWD/inspector/generate-inspector-idl
    660 inspectorJSON.wkAddOutputToSources = false
    661 addExtraCompiler(inspectorJSON)
    662 
    663 inspectorIDL.output = $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}Frontend.cpp $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}BackendDispatcher.cpp
    664 inspectorIDL.input = INSPECTOR_IDL
    665 inspectorIDL.wkScript = $$PWD/bindings/scripts/generate-bindings.pl
    666 inspectorIDL.commands = perl -I$$PWD/bindings/scripts -I$$PWD/inspector $$inspectorIDL.wkScript --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" --generator Inspector --outputDir $$WC_GENERATED_SOURCES_DIR --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME}
    667 inspectorIDL.depends = $$PWD/bindings/scripts/CodeGenerator.pm \
    668               $$PWD/inspector/CodeGeneratorInspector.pm \
    669               $$PWD/bindings/scripts/IDLParser.pm \
    670               $$PWD/bindings/scripts/IDLStructure.pm \
    671               $$PWD/bindings/scripts/InFilesParser.pm \
    672               $$PWD/inspector/Inspector.json \
    673               $$PWD/inspector/generate-inspector-idl
    674 addExtraCompiler(inspectorIDL)
    675 
    676 inspectorBackendStub.output = generated/InspectorBackendStub.qrc
    677 inspectorBackendStub.input = INSPECTOR_BACKEND_STUB_QRC
    678 inspectorBackendStub.tempNames = $$PWD/$$INSPECTOR_BACKEND_STUB_QRC $${WC_GENERATED_SOURCES_DIR}/InspectorBackendStub.qrc
    679 inspectorBackendStub.commands = $$QMAKE_COPY $$replace(inspectorBackendStub.tempNames, "/", $$QMAKE_DIR_SEP)
    680 inspectorBackendStub.wkAddOutputToSources = false
    681 addExtraCompiler(inspectorBackendStub)
    682 
    683 # GENERATOR 2-a: inspector injected script source compiler
    684 injectedScriptSource.output = $${WC_GENERATED_SOURCES_DIR}/InjectedScriptSource.h
    685 injectedScriptSource.input = INJECTED_SCRIPT_SOURCE
    686 injectedScriptSource.commands = perl $$PWD/inspector/xxd.pl InjectedScriptSource_js $$PWD/inspector/InjectedScriptSource.js  $${WC_GENERATED_SOURCES_DIR}/InjectedScriptSource.h
    687 injectedScriptSource.wkAddOutputToSources = false
    688 addExtraCompiler(injectedScriptSource)
    689 
    690 # GENERATOR 3: tokenizer (flex)
    691 tokenizer.output = $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.cpp
    692 tokenizer.input = TOKENIZER
    693 tokenizer.wkScript = $$PWD/css/maketokenizer
    694 tokenizer.commands = flex -t < ${QMAKE_FILE_NAME} | perl $$tokenizer.wkScript > ${QMAKE_FILE_OUT}
    695 # tokenizer.cpp is included into CSSParser.cpp
    696 tokenizer.wkAddOutputToSources = false
    697 addExtraCompiler(tokenizer)
    698 
    699 # GENERATOR 4: CSS grammar
    700 cssbison.output = $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.cpp
    701 cssbison.input = CSSBISON
    702 cssbison.wkScript = $$PWD/css/makegrammar.pl
    703 cssbison.commands = perl $$cssbison.wkScript ${QMAKE_FILE_NAME} $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}
    704 cssbison.depends = ${QMAKE_FILE_NAME}
    705 addExtraCompiler(cssbison)
    706 
    707 # GENERATOR 5-A:
    708 htmlnames.output = $${WC_GENERATED_SOURCES_DIR}/HTMLNames.cpp
    709 htmlnames.input = HTML_NAMES
    710 htmlnames.wkScript = $$PWD/dom/make_names.pl
    711 htmlnames.depends = $$PWD/html/HTMLAttributeNames.in
    712 htmlnames.commands = perl -I$$PWD/bindings/scripts $$htmlnames.wkScript --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\"  --factory $$wrapperFactoryArg --outputDir $$WC_GENERATED_SOURCES_DIR
    713 htmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/HTMLElementFactory.cpp
    714 v8 {
    715     htmlnames.wkExtraSources += $${WC_GENERATED_SOURCES_DIR}/V8HTMLElementWrapperFactory.cpp
    716 } else {
    717     htmlnames.wkExtraSources += $${WC_GENERATED_SOURCES_DIR}/JSHTMLElementWrapperFactory.cpp
    718 }
    719 addExtraCompiler(htmlnames)
    720 
    721 # GENERATOR 5-B:
    722 xmlnsnames.output = $${WC_GENERATED_SOURCES_DIR}/XMLNSNames.cpp
    723 xmlnsnames.input = XMLNS_NAMES
    724 xmlnsnames.wkScript = $$PWD/dom/make_names.pl
    725 xmlnsnames.commands = perl -I$$PWD/bindings/scripts $$xmlnsnames.wkScript --attrs $$PWD/xml/xmlnsattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$WC_GENERATED_SOURCES_DIR
    726 addExtraCompiler(xmlnsnames)
    727 
    728 # GENERATOR 5-C:
    729 xmlnames.output = $${WC_GENERATED_SOURCES_DIR}/XMLNames.cpp
    730 xmlnames.input = XML_NAMES
    731 xmlnames.wkScript = $$PWD/dom/make_names.pl
    732 xmlnames.commands = perl -I$$PWD/bindings/scripts $$xmlnames.wkScript --attrs $$PWD/xml/xmlattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$WC_GENERATED_SOURCES_DIR
    733 addExtraCompiler(xmlnames)
    734 
    735 # GENERATOR 8-A:
    736 entities.output = $${WC_GENERATED_SOURCES_DIR}/HTMLEntityTable.cpp
    737 entities.input = HTML_ENTITIES
    738 entities.wkScript = $$PWD/html/parser/create-html-entity-table
    739 entities.commands = python $$entities.wkScript -o $${WC_GENERATED_SOURCES_DIR}/HTMLEntityTable.cpp $$HTML_ENTITIES
    740 entities.clean = ${QMAKE_FILE_OUT}
    741 entities.depends = $$PWD/html/parser/create-html-entity-table
    742 addExtraCompiler(entities)
    743 
    744 # GENERATOR 8-B:
    745 doctypestrings.output = $${WC_GENERATED_SOURCES_DIR}/DocTypeStrings.cpp
    746 doctypestrings.input = DOCTYPESTRINGS_GPERF
    747 doctypestrings.wkScript = $$PWD/make-hash-tools.pl
    748 doctypestrings.commands = perl $$doctypestrings.wkScript $${WC_GENERATED_SOURCES_DIR} $$DOCTYPESTRINGS_GPERF
    749 doctypestrings.clean = ${QMAKE_FILE_OUT}
    750 doctypestrings.depends = $$PWD/make-hash-tools.pl
    751 addExtraCompiler(doctypestrings)
    752 
    753 # GENERATOR 8-C:
    754 colordata.output = $${WC_GENERATED_SOURCES_DIR}/ColorData.cpp
    755 colordata.input = COLORDATA_GPERF
    756 colordata.wkScript = $$PWD/make-hash-tools.pl
    757 colordata.commands = perl $$colordata.wkScript $${WC_GENERATED_SOURCES_DIR} $$COLORDATA_GPERF
    758 colordata.clean = ${QMAKE_FILE_OUT}
    759 colordata.depends = $$PWD/make-hash-tools.pl
    760 addExtraCompiler(colordata)
    761 
    762 # GENERATOR 9:
    763 stylesheets.wkScript = $$PWD/css/make-css-file-arrays.pl
    764 stylesheets.output = $${WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheetsData.cpp
    765 stylesheets.input = stylesheets.wkScript
    766 stylesheets.commands = perl $$stylesheets.wkScript $${WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheets.h ${QMAKE_FILE_OUT} $$STYLESHEETS_EMBED
    767 stylesheets.depends = $$STYLESHEETS_EMBED
    768 stylesheets.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheets.h
    769 addExtraCompiler(stylesheets, $${WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheets.h)
    770 
    771 # GENERATOR 10: XPATH grammar
    772 xpathbison.output = $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.cpp
    773 xpathbison.input = XPATHBISON
    774 xpathbison.commands = bison -d -p xpathyy ${QMAKE_FILE_NAME} -o $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.tab.c && $(MOVE) $${WC_GENERATED_SOURCES_DIR}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.tab.c $${WC_GENERATED_SOURCES_DIR}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.cpp && $(MOVE) $${WC_GENERATED_SOURCES_DIR}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.tab.h $${WC_GENERATED_SOURCES_DIR}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.h
    775 xpathbison.depends = ${QMAKE_FILE_NAME}
    776 addExtraCompiler(xpathbison)
    777 
    778 # GENERATOR 11: WebKit Version
    779 # The appropriate Apple-maintained Version.xcconfig file for WebKit version information is in Source/WebKit/mac/Configurations/.
    780 webkitversion.wkScript = $$PWD/../WebKit/scripts/generate-webkitversion.pl
    781 webkitversion.output = $${WC_GENERATED_SOURCES_DIR}/WebKitVersion.h
    782 webkitversion.input = webkitversion.wkScript
    783 webkitversion.commands = perl $$webkitversion.wkScript --config $$PWD/../WebKit/mac/Configurations/Version.xcconfig --outputDir $${WC_GENERATED_SOURCES_DIR}/
    784 webkitversion.clean = ${QMAKE_VAR_WC_GENERATED_SOURCES_DIR}/WebKitVersion.h
    785 webkitversion.wkAddOutputToSources = false
    786 addExtraCompiler(webkitversion)
    787