I forgot to commit this as part of:
[WebKit-https.git] / WebCore / CMakeLists.txt
1
2 project( WebCore )
3
4 # Global switch for SVG support
5 SET (USE_WEBKIT_SVG_SUPPORT 1)
6
7 include (CheckCXXCompilerFlag)
8
9 include_directories(
10    BEFORE ${CMAKE_CURRENT_BINARY_DIR}
11    ${CMAKE_CURRENT_SOURCE_DIR}/ForwardingHeaders
12    ${CMAKE_CURRENT_SOURCE_DIR}/platform
13    ${CMAKE_CURRENT_SOURCE_DIR}/loader
14    ${CMAKE_CURRENT_BINARY_DIR}/css
15    ${CMAKE_CURRENT_SOURCE_DIR}/css
16    ${CMAKE_CURRENT_SOURCE_DIR}/dom
17    ${CMAKE_CURRENT_SOURCE_DIR}/page
18    ${CMAKE_CURRENT_SOURCE_DIR}/bridge
19    ${CMAKE_CURRENT_SOURCE_DIR}/editing
20    ${CMAKE_CURRENT_SOURCE_DIR}/kwq
21    ${CMAKE_CURRENT_SOURCE_DIR}/rendering
22    ${CMAKE_CURRENT_SOURCE_DIR}/xml
23    ${CMAKE_CURRENT_BINARY_DIR}/xml
24    ${CMAKE_CURRENT_SOURCE_DIR}/html
25    ${CMAKE_CURRENT_SOURCE_DIR}/bindings/js
26    ${CMAKE_CURRENT_BINARY_DIR}/html
27    ${CMAKE_CURRENT_SOURCE_DIR}/kcanvas
28    ${CMAKE_CURRENT_SOURCE_DIR}/kcanvas/device
29    ${CMAKE_CURRENT_SOURCE_DIR}/kcanvas/device/qt 
30    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2 
31    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css
32    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg
33    ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg
34    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/misc 
35    ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc 
36    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/events
37    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/bindings/js
38    ${CMAKE_CURRENT_BINARY_DIR}/platform
39    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders
40    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/gif
41    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/jpeg
42    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/ico
43    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/xbm
44    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/bmp
45    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/png
46    ${CMAKE_CURRENT_SOURCE_DIR}/platform/qt
47    ${CMAKE_CURRENT_SOURCE_DIR}/WebCore+SVG 
48    ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/kjs
49    ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/
50    ${CMAKE_CURRENT_SOURCE_DIR}/../
51    )
52
53 include_directories( ${LIBXML2_INCLUDE_DIR} ${QT_INCLUDES}
54   # don't. pulls in kjs
55   # ${KDE4_KDECORE_INCLUDES}
56   )
57
58 add_definitions ( -DQT3_SUPPORT -Wno-undef -Wno-unused-parameter )
59
60 IF (USE_WEBKIT_SVG_SUPPORT)
61 add_definitions ( -DSVG_SUPPORT=1 )
62 ENDIF (USE_WEBKIT_SVG_SUPPORT)
63         
64 check_cxx_compiler_flag(-Wno-variadic-macros __KDE_HAVE_WVARIADIC_MACROS)
65
66 IF(__KDE_HAVE_WVARIADIC_MACROS)
67   add_definitions ( -Wno-variadic-macros )
68 ENDIF(__KDE_HAVE_WVARIADIC_MACROS)
69
70 kde4_automoc(platform/qt/CanvasQt.cpp)
71
72 # rules for generated files
73 IF (USE_WEBKIT_SVG_SUPPORT)
74 set(IDL_BINDINGS_SVG
75 # ksvg2/svg/SVGNumber.idl
76 # ksvg2/svg/SVGPoint.idl
77 # ksvg2/svg/SVGRect.idl
78
79   ksvg2/svg/SVGAngle.idl
80   ksvg2/svg/SVGMatrix.idl
81   ksvg2/svg/SVGTransform.idl
82   ksvg2/svg/SVGLength.idl
83   ksvg2/svg/SVGAnimatedLength.idl
84   ksvg2/svg/SVGElement.idl
85   ksvg2/svg/SVGColor.idl
86   ksvg2/svg/SVGDocument.idl
87   ksvg2/svg/SVGSVGElement.idl
88 )
89 ENDIF (USE_WEBKIT_SVG_SUPPORT)
90
91 set(IDL_BINDINGS
92   css/CSSValue.idl
93   css/CSSRuleList.idl
94   css/CSSValueList.idl
95   css/CSSStyleDeclaration.idl
96   css/CSSPrimitiveValue.idl
97   css/CSSRule.idl
98   css/Counter.idl
99   css/MediaList.idl
100   dom/Event.idl
101   dom/Range.idl
102   dom/Text.idl
103   dom/DOMImplementation.idl
104   dom/NodeFilter.idl
105   dom/MouseEvent.idl
106   dom/CharacterData.idl
107   dom/DocumentFragment.idl
108   dom/Entity.idl
109   dom/UIEvent.idl
110   dom/Node.idl
111   dom/ProcessingInstruction.idl
112   dom/Notation.idl
113   dom/Element.idl
114   dom/DocumentType.idl
115   dom/Document.idl
116   dom/Attr.idl
117   dom/MutationEvent.idl
118   dom/KeyboardEvent.idl
119   dom/WheelEvent.idl
120   dom/OverflowEvent.idl
121   dom/NodeIterator.idl
122   dom/TreeWalker.idl
123   html/CanvasGradient.idl
124   html/CanvasPattern.idl
125   html/CanvasRenderingContext2D.idl
126   html/HTMLAnchorElement.idl
127   html/HTMLAppletElement.idl
128   html/HTMLAreaElement.idl
129   html/HTMLBaseElement.idl
130   html/HTMLBaseFontElement.idl
131   html/HTMLBlockquoteElement.idl
132   html/HTMLBodyElement.idl
133   html/HTMLBRElement.idl
134   html/HTMLButtonElement.idl
135   html/HTMLCanvasElement.idl
136   html/HTMLDirectoryElement.idl
137   html/HTMLDivElement.idl
138   html/HTMLDListElement.idl
139   html/HTMLDocument.idl
140   html/HTMLElement.idl
141   html/HTMLFieldSetElement.idl
142   html/HTMLFontElement.idl
143   html/HTMLFormElement.idl
144   html/HTMLHeadElement.idl
145   html/HTMLHeadingElement.idl
146   html/HTMLHRElement.idl
147   html/HTMLHtmlElement.idl
148   html/HTMLImageElement.idl
149   html/HTMLInputElement.idl
150   html/HTMLIsIndexElement.idl
151   html/HTMLLabelElement.idl
152   html/HTMLLegendElement.idl
153   html/HTMLLIElement.idl
154   html/HTMLLinkElement.idl
155   html/HTMLMapElement.idl
156   html/HTMLMenuElement.idl
157   html/HTMLMetaElement.idl
158   html/HTMLModElement.idl
159   html/HTMLOListElement.idl
160   html/HTMLOptGroupElement.idl
161   html/HTMLOptionElement.idl
162   html/HTMLParagraphElement.idl
163   html/HTMLParamElement.idl
164   html/HTMLPreElement.idl
165   html/HTMLQuoteElement.idl
166   html/HTMLScriptElement.idl
167   html/HTMLStyleElement.idl
168   html/HTMLTextAreaElement.idl
169   html/HTMLTitleElement.idl
170   html/HTMLUListElement.idl
171   html/HTMLOptionsCollection.idl
172
173   xml/XPathNSResolver.idl
174   xml/XPathExpression.idl
175   xml/XPathResult.idl
176   xml/XPathEvaluator.idl
177  
178   xml/DOMParser.idl
179   xml/XMLSerializer.idl
180
181   page/DOMWindow.idl
182
183   ${IDL_BINDINGS_SVG}
184 )
185
186 set(WebCore-unity-IDLGeneratedSources )
187
188 # create these files at build time on demand, not everytime at cmake-time, Alex
189 foreach (idl ${IDL_BINDINGS})
190    get_filename_component(_basename ${idl} NAME_WE)
191    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.cpp ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.h
192       COMMAND perl -I${CMAKE_CURRENT_SOURCE_DIR}/bindings/scripts ${CMAKE_CURRENT_SOURCE_DIR}/bindings/scripts/generate-bindings.pl  --defines \"SVG_SUPPORT=${USE_WEBKIT_SVG_SUPPORT}\" --generator JS --include dom --include html --include xml --include ksvg2/svg --outputdir ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${idl}
193       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${idl} )
194    set(WebCore-unity-IDLGeneratedSources ${WebCore-unity-IDLGeneratedSources} ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.cpp ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.h )
195 endforeach (idl)
196
197 set(CREATE_HASH_TABLE ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/kjs/create_hash_table )
198
199 macro(CREATE_LUT _srcs_LIST _in_FILE _out_FILE _dep_FILE)
200
201    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
202       COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} -i > ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
203       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${_dep_FILE} )
204    set( ${_srcs_LIST}  ${${_srcs_LIST}} ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE})
205 endmacro(CREATE_LUT)
206
207 macro(CREATE_CPP_LUT _in_FILE _out_FILE _dep_FILE)
208    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
209       COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} -i > ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
210       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${_dep_FILE} )
211 endmacro(CREATE_CPP_LUT)
212
213 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_window.cpp kjs_window.lut.h bindings/js/kjs_window.cpp)
214 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_css.cpp kjs_css.lut.h bindings/js/kjs_css.cpp)
215 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_dom.cpp kjs_dom.lut.h bindings/js/kjs_dom.cpp)
216 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_html.cpp kjs_html.lut.h bindings/js/kjs_html.cpp)
217 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_events.cpp kjs_events.lut.h bindings/js/kjs_events.cpp)
218 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_navigator.cpp kjs_navigator.lut.h bindings/js/kjs_navigator.cpp)
219 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_traversal.cpp kjs_traversal.lut.h bindings/js/kjs_traversal.cpp)
220 create_lut(WebCore-unity_LIB_SRCS bindings/js/JSXMLHttpRequest.cpp JSXMLHttpRequest.lut.h bindings/js/JSXMLHttpRequest.cpp)
221 create_lut(WebCore-unity_LIB_SRCS bindings/js/JSXSLTProcessor.cpp JSXSLTProcessor.lut.h bindings/js/JSXSLTProcessor.cpp)
222 create_cpp_lut(bindings/js/JSHTMLInputElementBase.cpp JSHTMLInputElementBaseTable.cpp bindings/js/JSHTMLInputElementBase.cpp)
223
224 IF (USE_WEBKIT_SVG_SUPPORT)
225   create_cpp_lut(ksvg2/bindings/js/JSSVGPoint.cpp JSSVGPointTable.cpp ksvg2/bindings/js/JSSVGPoint.cpp)
226   create_cpp_lut(ksvg2/bindings/js/JSSVGRect.cpp JSSVGRectTable.cpp ksvg2/bindings/js/JSSVGRect.cpp)
227 ENDIF (USE_WEBKIT_SVG_SUPPORT)
228
229 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/tokenizer.cpp
230   COMMAND flex -t < ${CMAKE_CURRENT_SOURCE_DIR}/css/tokenizer.flex | perl ${CMAKE_CURRENT_SOURCE_DIR}/css/maketokenizer > ${CMAKE_CURRENT_BINARY_DIR}/tokenizer.cpp
231
232   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/tokenizer.flex
233 )
234
235 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.h ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.c
236
237   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
238   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSPropertyNames.in ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.in
239   COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/css/makeprop
240
241   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSPropertyNames.in
242 )
243
244 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CSSValueKeywords.h ${CMAKE_CURRENT_BINARY_DIR}/CSSValueKeywords.c
245
246   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
247   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSValueKeywords.in ${CMAKE_CURRENT_BINARY_DIR}
248   COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/css/makevalues
249
250   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSValueKeywords.in
251 )
252
253 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.cpp ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.h
254   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
255   COMMAND ${BISON_EXECUTABLE} -d -p cssyy ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSGrammar.y
256   COMMAND mv CSSGrammar.tab.c ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.cpp
257   #COMMAND rm -f CSSGrammar.tab.h
258   #COMMAND touch CSSGrammar.h
259   COMMAND mv CSSGrammar.tab.h ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.h
260   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSGrammar.y
261 )
262
263 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLNames.h
264   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
265   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/html
266   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --tags ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLTagNames.in --attrs ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLAttributeNames.in --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --attrsNullNamespace --output html
267
268   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLTagNames.in ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLAttributeNames.in
269 )
270
271 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGNames.h ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGElementFactory.cpp ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGElementFactory.h
272   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
273   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg
274   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --tags ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgtags.in --attrs ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgattrs.in --namespace SVG --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --attrsNullNamespace --output ksvg2/svg
275
276   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgtags.in ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgattrs.in
277 )
278
279 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc/XLinkNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc/XLinkNames.h
280   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
281   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc
282   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --attrs ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/misc/xlinkattrs.in --namespace XLink --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xlink" --output ksvg2/misc
283
284   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/misc/xlinkattrs.in
285 )
286
287 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/xml/XMLNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/xml/XMLNames.h
288   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
289   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/xml
290   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --attrs ${CMAKE_CURRENT_SOURCE_DIR}/xml/xmlattrs.in --namespace XML --cppNamespace WebCore --namespaceURI "http://www.w3.org/XML/1998/namespace" --output xml
291
292   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/xml/xmlattrs.in
293 )
294
295 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLEntityNames.c
296   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
297   COMMAND mkdir -p html
298   COMMAND echo '\#include <string.h>' > html/HTMLEntityNames.c
299   COMMAND ${GPERF_EXECUTABLE} -a -L ANSI-C -C -G -c -o -t -k '*' -N findEntity -D -s 2 < ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLEntityNames.gperf >> html/HTMLEntityNames.c
300
301   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLEntityNames.gperf
302 )
303
304 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/DocTypeStrings.cpp
305   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
306   COMMAND mkdir -p html
307   COMMAND echo '\#include <string.h>' > html/DocTypeStrings.cpp
308   COMMAND ${GPERF_EXECUTABLE} -CEot -L ANSI-C -k \"*\" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards < ${CMAKE_CURRENT_SOURCE_DIR}/html/DocTypeStrings.gperf >> html/DocTypeStrings.cpp
309   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/html/DocTypeStrings.gperf
310 )
311
312 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/platform/ColorData.c
313   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
314   COMMAND mkdir -p platform
315   COMMAND echo '\#include <string.h>' > platform/ColorData.c
316   COMMAND ${GPERF_EXECUTABLE} -CDEot -L ANSI-C -k \"*\" -N findColor -D -s 2 < ${CMAKE_CURRENT_SOURCE_DIR}/platform/ColorData.gperf >> platform/ColorData.c
317   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/platform/ColorData.gperf
318 )
319
320 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssproperties.h
321   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSPropertyNames.in ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssproperties.in
322   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakeprops -n SVG -f ksvgcssproperties.in
323   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakeprops ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSPropertyNames.in
324 )
325
326 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssvalues.h
327   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
328   COMMAND perl -ne 'print lc' ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSValueKeywords.in > ksvgcssvalues.in
329   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakevalues -n SVG -f ksvgcssvalues.in
330   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakevalues ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSValueKeywords.in
331 )
332
333 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheets.h ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheetsData.cpp
334   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/css/make-css-file-arrays.pl ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheets.h ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheetsData.cpp ${CMAKE_CURRENT_SOURCE_DIR}/css/html4.css ${CMAKE_CURRENT_SOURCE_DIR}/css/quirks.css ${CMAKE_CURRENT_SOURCE_DIR}/css/svg.css ${CMAKE_CURRENT_SOURCE_DIR}/css/view-source.css
335   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/html4.css ${CMAKE_CURRENT_SOURCE_DIR}/css/quirks.css ${CMAKE_CURRENT_SOURCE_DIR}/css/svg.css
336 )
337
338 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CharacterData.cpp
339   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/platform/make-charset-table.pl ${CMAKE_CURRENT_SOURCE_DIR}/platform/character-sets.txt ${CMAKE_CURRENT_SOURCE_DIR}/platform/qt/qt-encodings.txt \" \" > ${CMAKE_CURRENT_BINARY_DIR}/CharacterData.cpp
340   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/platform/make-charset-table.pl ${CMAKE_CURRENT_SOURCE_DIR}/platform/character-sets.txt
341 )
342
343 # source stuff
344 IF (USE_WEBKIT_SVG_SUPPORT)
345 set (SVG_STUFF
346     ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGNames.cpp
347     ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGElementFactory.cpp
348     ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc/XLinkNames.cpp
349     ${CMAKE_CURRENT_BINARY_DIR}/xml/XMLNames.cpp
350
351     ksvg2/bindings/js/JSSVGPoint.cpp
352     ksvg2/bindings/js/JSSVGRect.cpp
353     ksvg2/bindings/js/JSSVGNumber.cpp
354     ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp 
355
356     ksvg2/css/SVGCSSParser.cpp
357     ksvg2/css/SVGRenderStyleDefs.cpp
358     ksvg2/css/SVGRenderStyle.cpp
359     ksvg2/css/SVGCSSStyleSelector.cpp
360     ksvg2/svg/SVGHelper.cpp
361     ksvg2/svg/SVGFEFuncBElement.cpp
362     ksvg2/svg/SVGPathSeg.cpp
363     ksvg2/svg/SVGColor.cpp
364     ksvg2/svg/SVGSwitchElement.cpp
365     ksvg2/svg/SVGFETileElement.cpp
366     ksvg2/svg/SVGDOMImplementation.cpp
367     ksvg2/svg/SVGMarkerElement.cpp
368     ksvg2/svg/SVGFECompositeElement.cpp
369     ksvg2/svg/SVGPoint.cpp
370     ksvg2/svg/SVGImageElement.cpp
371     ksvg2/svg/SVGAnimateElement.cpp
372     ksvg2/svg/SVGURIReference.cpp
373     ksvg2/svg/SVGLength.cpp
374     ksvg2/svg/SVGPathSegCurvetoCubic.cpp
375     ksvg2/svg/SVGExternalResourcesRequired.cpp
376     ksvg2/svg/SVGPolylineElement.cpp
377     ksvg2/svg/SVGFEOffsetElement.cpp
378     ksvg2/svg/SVGFETurbulenceElement.cpp
379     ksvg2/svg/SVGZoomAndPan.cpp
380     ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp
381     ksvg2/svg/SVGStyledLocatableElement.cpp
382     ksvg2/svg/SVGLineElement.cpp
383     ksvg2/svg/SVGAnimatedAngle.cpp
384     ksvg2/svg/SVGTransform.cpp
385     ksvg2/svg/SVGPathSegLinetoVertical.cpp
386     ksvg2/svg/SVGFitToViewBox.cpp
387     ksvg2/svg/SVGRadialGradientElement.cpp
388     ksvg2/svg/SVGMatrix.cpp
389     ksvg2/svg/SVGAnimatedPreserveAspectRatio.cpp
390     ksvg2/svg/SVGMaskElement.cpp
391     ksvg2/svg/SVGTitleElement.cpp
392     ksvg2/svg/SVGTRefElement.cpp
393     ksvg2/svg/SVGLangSpace.cpp
394     ksvg2/svg/SVGTransformList.cpp
395     ksvg2/svg/SVGNumber.cpp
396     ksvg2/svg/SVGStylable.cpp
397     ksvg2/svg/SVGPolyElement.cpp
398     ksvg2/svg/SVGPolygonElement.cpp
399 #   ksvg2/svg/SVGElementInstanceList.cpp
400     ksvg2/svg/SVGTSpanElement.cpp
401     ksvg2/svg/SVGFEFuncRElement.cpp
402     ksvg2/svg/SVGAnimatedPoints.cpp
403     ksvg2/svg/SVGFEFloodElement.cpp
404     ksvg2/svg/SVGPointList.cpp
405     ksvg2/svg/SVGAnimatedEnumeration.cpp
406     ksvg2/svg/SVGAnimatedPathData.cpp
407     ksvg2/svg/SVGUseElement.cpp
408     ksvg2/svg/SVGNumberList.cpp
409     ksvg2/svg/SVGFEPointLightElement.cpp
410     ksvg2/svg/SVGPathSegLineto.cpp
411     ksvg2/svg/SVGRectElement.cpp
412     ksvg2/svg/SVGTextContentElement.cpp
413     ksvg2/svg/SVGFESpotLightElement.cpp
414     ksvg2/svg/SVGLocatable.cpp
415     ksvg2/svg/SVGEllipseElement.cpp
416     ksvg2/svg/SVGPathElement.cpp
417     ksvg2/svg/SVGStyledElement.cpp
418     ksvg2/svg/SVGFEMergeNodeElement.cpp
419     ksvg2/svg/SVGAnimatedLengthList.cpp
420     ksvg2/svg/svgpathparser.cpp
421     ksvg2/svg/SVGFEGaussianBlurElement.cpp
422     ksvg2/svg/SVGLinearGradientElement.cpp
423     ksvg2/svg/SVGFEDisplacementMapElement.cpp
424     ksvg2/svg/SVGFEImageElement.cpp
425     ksvg2/svg/SVGFEDiffuseLightingElement.cpp
426     ksvg2/svg/SVGSymbolElement.cpp
427     ksvg2/svg/SVGAnimatedLength.cpp
428     ksvg2/svg/SVGForeignObjectElement.cpp
429     ksvg2/svg/SVGAngle.cpp
430     ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp
431     ksvg2/svg/SVGSVGElement.cpp
432     ksvg2/svg/SVGFESpecularLightingElement.cpp
433     ksvg2/svg/SVGAnimateColorElement.cpp
434     ksvg2/svg/SVGGElement.cpp
435     ksvg2/svg/SVGFEFuncGElement.cpp
436     ksvg2/svg/SVGFEComponentTransferElement.cpp
437     ksvg2/svg/SVGSetElement.cpp
438     ksvg2/svg/SVGFEBlendElement.cpp
439     ksvg2/svg/SVGFEMergeElement.cpp
440     ksvg2/svg/SVGAnimatedString.cpp
441     ksvg2/svg/SVGCursorElement.cpp
442     ksvg2/svg/SVGAnimatedNumber.cpp
443     ksvg2/svg/SVGStringList.cpp
444 #   ksvg2/svg/SVGElementInstance.cpp
445     ksvg2/svg/SVGRect.cpp
446     ksvg2/svg/SVGFilterElement.cpp
447     ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp
448     ksvg2/svg/SVGPatternElement.cpp
449     ksvg2/svg/SVGPathSegList.cpp
450     ksvg2/svg/SVGStyleElement.cpp
451     ksvg2/svg/SVGAnimatedColor.cpp
452     ksvg2/svg/SVGPaint.cpp
453     ksvg2/svg/SVGFEDistantLightElement.cpp
454     ksvg2/svg/SVGTextPositioningElement.cpp
455     ksvg2/svg/SVGAnimatedRect.cpp
456     ksvg2/svg/SVGPreserveAspectRatio.cpp
457     ksvg2/svg/SVGScriptElement.cpp
458     ksvg2/svg/SVGComponentTransferFunctionElement.cpp
459     ksvg2/svg/SVGTextElement.cpp
460     ksvg2/svg/SVGViewElement.cpp
461     ksvg2/svg/SVGAnimatedTransformList.cpp
462     ksvg2/svg/SVGLengthList.cpp
463     ksvg2/svg/SVGStyledTransformableElement.cpp
464     ksvg2/svg/SVGPathSegArc.cpp
465     ksvg2/svg/SVGAnimatedBoolean.cpp
466     ksvg2/svg/SVGDescElement.cpp
467     ksvg2/svg/SVGTransformable.cpp
468     ksvg2/svg/SVGDocument.cpp
469     ksvg2/svg/SVGAnimatedInteger.cpp
470     ksvg2/svg/SVGClipPathElement.cpp
471     ksvg2/svg/SVGPathSegMoveto.cpp
472     ksvg2/svg/SVGAElement.cpp
473     ksvg2/svg/SVGCircleElement.cpp
474     ksvg2/svg/SVGFEFuncAElement.cpp
475     ksvg2/svg/SVGTests.cpp
476     ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp
477     ksvg2/svg/SVGElement.cpp
478     ksvg2/svg/SVGAnimateTransformElement.cpp
479     ksvg2/svg/SVGAnimatedNumberList.cpp
480     ksvg2/svg/SVGFEColorMatrixElement.cpp
481     ksvg2/svg/SVGGradientElement.cpp
482     ksvg2/svg/SVGAnimationElement.cpp
483     ksvg2/svg/SVGFELightElement.cpp
484     ksvg2/svg/SVGPathSegClosePath.cpp
485     ksvg2/svg/SVGPathSegLinetoHorizontal.cpp
486     ksvg2/svg/SVGStopElement.cpp
487     ksvg2/svg/SVGDefsElement.cpp
488 #   ksvg2/ecma/GlobalObject.cpp
489 #   ksvg2/ecma/Ecma.cpp
490     ksvg2/misc/SVGImageLoader.cpp
491     ksvg2/misc/SVGDocumentExtensions.cpp
492     ksvg2/misc/KSVGTimeScheduler.cpp
493     ksvg2/misc/KCanvasRenderingStyle.cpp
494     ksvg2/events/JSSVGLazyEventListener.cpp
495     ksvg2/events/SVGZoomEvent.cpp
496     kcanvas/KCanvasCreator.cpp
497     kcanvas/KCanvasPath.cpp
498     kcanvas/KCanvasTreeDebug.cpp
499     kcanvas/KCanvasFilters.cpp
500     kcanvas/RenderSVGText.cpp
501     kcanvas/device/KRenderingPaintServerGradient.cpp
502     kcanvas/device/KRenderingPaintServerSolid.cpp
503     kcanvas/device/KRenderingFillPainter.cpp
504     kcanvas/device/KRenderingStrokePainter.cpp
505     kcanvas/device/KRenderingPaintServerPattern.cpp
506     kcanvas/device/KRenderingDevice.cpp
507     kcanvas/device/qt/RenderPathQt.cpp
508     kcanvas/device/qt/KCanvasPathQt.cpp
509     kcanvas/device/qt/KRenderingDeviceQt.cpp
510     kcanvas/device/qt/KRenderingPaintServerSolidQt.cpp
511     kcanvas/device/qt/KRenderingPaintServerGradientQt.cpp
512     kcanvas/device/qt/KRenderingPaintServerPatternQt.cpp
513     kcanvas/device/qt/KRenderingPaintServerQt.cpp
514     kcanvas/device/qt/KCanvasClipperQt.cpp
515 #   kcanvas/device/qt/KCanvasFilterQt.cpp
516 #   kcanvas/device/qt/KCanvasImageItemQt.cpp
517     kcanvas/RenderSVGContainer.cpp
518     kcanvas/RenderPath.cpp
519     kcanvas/KCanvasResources.cpp
520     kcanvas/RenderSVGImage.cpp
521     kcanvas/RenderForeignObject.cpp
522     kcanvas/KCanvasMatrix.cpp
523  )
524 ENDIF(USE_WEBKIT_SVG_SUPPORT)
525
526
527 set(WebCore_SRCS
528
529     ${WebCore-unity_LIB_SRCS}
530
531     ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.h
532     ${CMAKE_CURRENT_BINARY_DIR}/CSSValueKeywords.h
533     ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.h
534     ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.cpp
535     ${CMAKE_CURRENT_BINARY_DIR}/CharacterData.cpp
536     ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheets.h
537     ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheetsData.cpp
538     ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLNames.cpp
539     ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLEntityNames.c
540     ${CMAKE_CURRENT_BINARY_DIR}/html/DocTypeStrings.cpp
541     ${CMAKE_CURRENT_BINARY_DIR}/platform/ColorData.c
542     ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssproperties.h
543     ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssvalues.h
544
545     bindings/js/kjs_binding.cpp
546     bindings/js/kjs_css.cpp
547     bindings/js/kjs_dom.cpp
548     bindings/js/kjs_events.cpp
549     bindings/js/kjs_html.cpp
550     bindings/js/kjs_navigator.cpp
551     bindings/js/kjs_proxy.cpp
552     bindings/js/kjs_traversal.cpp
553     bindings/js/kjs_window.cpp
554
555     bindings/js/JSCanvasRenderingContext2DCustom.cpp
556     bindings/js/JSHTMLElementWrapperFactory.cpp
557     bindings/js/JSHTMLFormElementCustom.cpp
558     bindings/js/JSHTMLOptionElementConstructor.cpp
559     bindings/js/JSHTMLOptionsCollectionCustom.cpp
560         bindings/js/JSHTMLInputElementBase.cpp
561     bindings/js/JSXMLHttpRequest.cpp
562         bindings/js/JSNodeIteratorCustom.cpp
563         bindings/js/JSTreeWalkerCustom.cpp
564     bindings/js/JSXSLTProcessor.cpp
565
566     css/cssparser.cpp
567     css/cssstyleselector.cpp
568     css/csshelper.cpp
569     css/FontValue.cpp
570     css/CSSSelector.cpp
571     css/MediaFeatureNames.cpp
572     css/CSSRuleList.cpp
573     css/MediaQueryExp.cpp
574     css/CSSImportRule.cpp
575     css/CSSValueList.cpp
576     css/CSSStyleDeclaration.cpp
577     css/CSSPrimitiveValue.cpp
578     css/CSSProperty.cpp
579     css/CSSBorderImageValue.cpp
580     css/MediaQuery.cpp
581     css/StyleSheet.cpp
582     css/CSSPageRule.cpp
583     css/StyleSheetList.cpp
584     css/MediaQueryEvaluator.cpp
585     css/StyleBase.cpp
586     css/CSSRule.cpp
587     css/CSSStyleSheet.cpp
588     css/CSSInitialValue.cpp
589     css/CSSImageValue.cpp
590     css/CSSStyleRule.cpp
591     css/CSSInheritedValue.cpp
592     css/StyleList.cpp
593     css/FontFamilyValue.cpp
594     css/CSSMediaRule.cpp
595     css/CSSComputedStyleDeclaration.cpp
596     css/CSSMutableStyleDeclaration.cpp
597     css/MediaList.cpp
598     css/CSSFontFaceRule.cpp
599     css/ShadowValue.cpp
600     dom/Event.cpp
601     dom/Range.cpp
602     dom/Text.cpp
603     dom/DOMImplementation.cpp
604     dom/NodeFilter.cpp
605     dom/MouseEvent.cpp
606     dom/EntityReference.cpp
607     dom/NameNodeList.cpp
608     dom/CharacterData.cpp
609     dom/XMLTokenizer.cpp
610     dom/StyledElement.cpp
611     dom/MappedAttribute.cpp
612     dom/NamedAttrMap.cpp
613     dom/ContainerNode.cpp
614     dom/NamedMappedAttrMap.cpp
615     dom/EventNames.cpp
616     dom/Comment.cpp
617     dom/EditingText.cpp
618     dom/DocumentFragment.cpp
619     dom/ChildNodeList.cpp
620     dom/Entity.cpp
621     dom/BeforeTextInsertedEvent.cpp
622     dom/UIEvent.cpp
623     dom/Node.cpp
624     dom/Attribute.cpp
625     dom/Position.cpp
626     dom/ProcessingInstruction.cpp
627     dom/TreeWalker.cpp
628     dom/Notation.cpp
629     dom/Element.cpp
630     dom/NodeFilterCondition.cpp
631     dom/CDATASection.cpp
632     dom/DocumentType.cpp
633     dom/NodeList.cpp
634     dom/CSSMappedAttributeDeclaration.cpp
635     dom/QualifiedName.cpp
636     dom/Document.cpp
637     dom/Attr.cpp
638         dom/OverflowEvent.cpp
639     dom/RegisteredEventListener.cpp
640     dom/EventTargetNode.cpp
641     dom/BeforeUnloadEvent.cpp
642     dom/MutationEvent.cpp
643     dom/MouseRelatedEvent.cpp
644     dom/KeyboardEvent.cpp
645     dom/NodeIterator.cpp
646     dom/ClipboardEvent.cpp
647     dom/Traversal.cpp
648     dom/WheelEvent.cpp
649 #   kwq/KWQWMatrix.cpp
650 #   kwq/KWQCString.cpp
651
652     ${SVG_STUFF}
653     editing/InsertIntoTextNodeCommand.cpp
654     editing/WrapContentsInDummySpanCommand.cpp
655     editing/ReplaceSelectionCommand.cpp
656     editing/MoveSelectionCommand.cpp
657     editing/RemoveNodePreservingChildrenCommand.cpp
658     editing/HTMLInterchange.cpp
659     editing/UnlinkCommand.cpp
660     editing/InsertLineBreakCommand.cpp
661     editing/FormatBlockCommand.cpp
662     editing/AppendNodeCommand.cpp
663     editing/BreakBlockquoteCommand.cpp
664     editing/htmlediting.cpp
665     editing/RebalanceWhitespaceCommand.cpp
666     editing/markup.cpp
667     editing/InsertParagraphSeparatorCommand.cpp
668     editing/ModifySelectionListLevel.cpp
669     editing/JSEditor.cpp
670     editing/Selection.cpp
671     editing/TextIterator.cpp
672     editing/InsertListCommand.cpp
673     editing/IndentOutdentCommand.cpp
674     editing/InsertNodeBeforeCommand.cpp
675     editing/SplitTextNodeContainingElementCommand.cpp
676     editing/TypingCommand.cpp
677     editing/MergeIdenticalElementsCommand.cpp
678     editing/EditCommand.cpp
679     editing/SplitTextNodeCommand.cpp
680     editing/RemoveCSSPropertyCommand.cpp
681     editing/JoinTextNodesCommand.cpp
682     editing/InsertTextCommand.cpp
683     editing/SelectionController.cpp
684     editing/DeleteSelectionCommand.cpp
685     editing/SplitElementCommand.cpp
686     editing/VisiblePosition.cpp
687     editing/ApplyStyleCommand.cpp
688     editing/visible_units.cpp
689     editing/RemoveNodeAttributeCommand.cpp
690     editing/DeleteFromTextNodeCommand.cpp
691     editing/RemoveNodeCommand.cpp
692     editing/CompositeEditCommand.cpp
693     editing/SetNodeAttributeCommand.cpp
694     editing/CreateLinkCommand.cpp
695
696
697 #   kwq/KWQTextStream.cpp
698     xml/XSLStyleSheet.cpp
699     xml/XSLTProcessor.cpp
700     xml/XSLImportRule.cpp
701         xml/DOMParser.cpp
702         xml/XMLSerializer.cpp
703         xml/xmlhttprequest.cpp
704 #   icon/IconDatabase.cpp
705 #   icon/SQLTransaction.cpp
706 #   icon/SQLStatement.cpp
707 #   icon/SiteIcon.cpp
708 #   icon/SQLDatabase.cpp
709     html/HTMLParser.cpp
710     html/HTMLFontElement.cpp
711     html/HTMLEmbedElement.cpp
712     html/HTMLLinkElement.cpp
713     html/HTMLOptGroupElement.cpp
714     html/HTMLCanvasElement.cpp
715     html/HTMLTitleElement.cpp
716     html/CanvasRenderingContext2D.cpp
717     html/HTMLObjectElement.cpp
718     html/HTMLAppletElement.cpp
719     html/HTMLKeygenElement.cpp
720     html/HTMLDivElement.cpp
721     html/HTMLMapElement.cpp
722     html/HTMLScriptElement.cpp
723     html/HTMLHtmlElement.cpp
724     html/HTMLTokenizer.cpp
725     html/HTMLOptionElement.cpp
726     html/HTMLTableCaptionElement.cpp
727     html/HTMLImageLoader.cpp
728     html/FormDataList.cpp
729     html/HTMLLabelElement.cpp
730     html/HTMLTableColElement.cpp
731     html/HTMLDListElement.cpp
732     html/HTMLTablePartElement.cpp
733     html/HTMLTableSectionElement.cpp
734     html/HTMLTextAreaElement.cpp
735     html/HTMLTextFieldInnerElement.cpp
736     html/HTMLAreaElement.cpp
737     html/CanvasStyle.cpp
738     html/HTMLIsIndexElement.cpp
739     html/HTMLHeadElement.cpp
740     html/HTMLFrameSetElement.cpp
741     html/HTMLBodyElement.cpp
742     html/HTMLBRElement.cpp
743     html/HTMLNameCollection.cpp
744     html/HTMLLegendElement.cpp
745     html/HTMLLIElement.cpp
746     html/HTMLParamElement.cpp
747     html/HTMLMetaElement.cpp
748     html/HTMLHeadingElement.cpp
749     html/HTMLUListElement.cpp
750     html/HTMLInputElement.cpp
751     html/HTMLElementFactory.cpp
752     html/HTMLPlugInElement.cpp
753     html/HTMLFieldSetElement.cpp
754     html/HTMLParagraphElement.cpp
755     html/HTMLStyleElement.cpp
756     html/HTMLMarqueeElement.cpp
757     html/HTMLGenericFormElement.cpp
758     html/HTMLElement.cpp
759     html/HTMLDocument.cpp
760     html/HTMLOListElement.cpp
761     html/HTMLFormElement.cpp
762     html/HTMLPreElement.cpp
763     html/HTMLTableElement.cpp
764     html/CanvasGradient.cpp
765     html/HTMLViewSourceDocument.cpp
766     html/HTMLFrameElement.cpp
767     html/HTMLAnchorElement.cpp
768     html/HTMLTableCellElement.cpp
769     html/CanvasPattern.cpp
770     html/HTMLBlockquoteElement.cpp
771     html/HTMLIFrameElement.cpp
772     html/HTMLMenuElement.cpp
773     html/HTMLCollection.cpp
774     html/HTMLModElement.cpp
775     html/HTMLQuoteElement.cpp
776     html/HTMLDirectoryElement.cpp
777     html/HTMLSelectElement.cpp
778     html/HTMLImageElement.cpp
779     html/HTMLOptionsCollection.cpp
780     html/HTMLTableRowElement.cpp
781     html/HTMLBaseFontElement.cpp
782     html/HTMLHRElement.cpp
783     html/HTMLButtonElement.cpp
784     html/HTMLFormCollection.cpp
785     html/HTMLBaseElement.cpp
786     page/FrameTree.cpp
787     page/DOMWindow.cpp
788     page/MouseEventWithHitTestResults.cpp
789     page/Frame.cpp
790     page/Page.cpp
791     page/FrameView.cpp
792     xml/XPathUtil.cpp
793     xml/XPathPredicate.cpp
794     xml/XPathVariableReference.cpp
795     xml/XPathValue.cpp
796     xml/XPathPath.cpp
797     xml/XPathFunctions.cpp
798     xml/XPathParser.cpp
799     xml/XPathStep.cpp
800     xml/XPathExpressionNode.cpp
801     xml/XPathNamespace.cpp
802     xml/XPathNSResolver.cpp
803     xml/XPathExpression.cpp
804     xml/XPathResult.cpp
805     xml/XPathEvaluator.cpp
806     loader/CachedImage.cpp
807     loader/CachedScript.cpp
808     loader/Request.cpp
809     loader/CachedXSLStyleSheet.cpp
810     loader/DocLoader.cpp
811     loader/PluginDocument.cpp
812     loader/TextDocument.cpp
813     loader/ImageDocument.cpp
814     loader/CachedResourceClientWalker.cpp
815     loader/loader.cpp
816     loader/CachedCSSStyleSheet.cpp
817     loader/CachedXBLDocument.cpp
818     loader/CachedResource.cpp
819     loader/Cache.cpp
820     loader/Decoder.cpp
821     loader/FormData.cpp
822     platform/AtomicString.cpp
823         platform/AffineTransform.cpp
824     platform/TextStream.cpp
825         platform/Widget.cpp
826     platform/GlyphWidthMap.cpp
827     platform/Pen.cpp
828     platform/Image.cpp
829     platform/DeprecatedStringList.cpp
830     platform/FloatSize.cpp
831     platform/String.cpp
832     platform/DeprecatedValueListImpl.cpp
833     platform/GraphicsTypes.cpp
834     platform/IntRect.cpp
835     platform/Arena.cpp
836     platform/CharsetNames.cpp
837     platform/ArrayImpl.cpp
838     platform/FloatPoint.cpp
839     platform/SegmentedString.cpp
840     platform/StreamingTextDecoder.cpp
841         platform/StreamingTextDecoderICU.cpp
842     platform/DeprecatedString.cpp
843         platform/DeprecatedCString.cpp
844     platform/TextEncoding.cpp
845     platform/GraphicsContext.cpp
846     platform/Logging.cpp
847     platform/Color.cpp
848     platform/DeprecatedPtrListImpl.cpp
849     platform/KURL.cpp
850     platform/StringImpl.cpp
851     platform/FloatRect.cpp
852     platform/ResourceLoader.cpp
853         platform/qt/AffineTransformQt.cpp
854     platform/qt/ColorQt.cpp
855     platform/qt/GlyphMapQt.cpp
856     platform/qt/BrowserExtensionQt.cpp
857     platform/qt/CookieJarQt.cpp
858     platform/qt/FontPlatformDataQt.cpp
859     platform/qt/GraphicsContextQt.cpp
860     platform/qt/ScrollViewQt.cpp
861     platform/qt/TemporaryLinkStubs.cpp
862     platform/qt/CursorQt.cpp
863     platform/qt/WidgetQt.cpp
864     platform/qt/SystemTimeLinux.cpp
865     platform/qt/RenderThemeQt.cpp
866     platform/qt/FontDataQt.cpp
867     platform/qt/SharedTimerLinux.cpp
868     platform/qt/ResourceLoaderCurl.cpp
869     platform/qt/ResourceLoaderManager.cpp
870     platform/qt/FloatPointQt.cpp
871     platform/qt/ListBoxQt.cpp
872     platform/qt/FloatRectQt.cpp
873     platform/qt/IntPointQt.cpp
874     platform/qt/IntRectQt.cpp
875     platform/qt/IntSizeQt.cpp
876     platform/qt/PageQt.cpp
877     platform/qt/PathQt.cpp
878     platform/qt/ImageQt.cpp
879     platform/qt/ImageSourceQt.cpp
880     platform/qt/FontCacheQt.cpp
881     platform/qt/FontQt.cpp
882 #   platform/qt/LineEditQt.cpp
883     platform/qt/ScreenQt.cpp
884 #   platform/qt/FileButtonQt.cpp
885     platform/qt/FrameQt.cpp
886 #   platform/qt/TextEditQt.cpp
887     platform/qt/CanvasQt.cpp
888     platform/qt/PlatformMouseEventQt.cpp
889     platform/qt/PlatformKeyboardEventQt.cpp
890     platform/image-decoders/bmp/BMPImageDecoder.cpp
891     platform/image-decoders/gif/GIFImageReader.cpp
892     platform/image-decoders/gif/GIFImageDecoder.cpp
893     platform/image-decoders/ico/ICOImageDecoder.cpp
894     platform/image-decoders/png/PNGImageDecoder.cpp
895     platform/image-decoders/xbm/XBMImageDecoder.cpp
896     platform/image-decoders/jpeg/JPEGImageDecoder.cpp
897     platform/FontFamily.cpp
898     platform/Timer.cpp
899     platform/FontCache.cpp
900     platform/FontFallbackList.cpp
901     platform/RegularExpression.cpp
902     platform/GlyphMap.cpp
903     platform/Font.cpp
904     platform/FontData.cpp
905     rendering/RenderReplaced.cpp
906     rendering/RenderPartObject.cpp
907     rendering/RenderView.cpp
908     rendering/RenderMenuList.cpp
909         rendering/InlineFlowBox.cpp
910     rendering/RenderListMarker.cpp
911     rendering/RenderImage.cpp
912     rendering/RenderTheme.cpp
913     rendering/RenderLayer.cpp
914     rendering/RenderTableCell.cpp
915     rendering/RenderListItem.cpp
916     rendering/RenderImageButton.cpp
917     rendering/AutoTableLayout.cpp
918     rendering/RenderArena.cpp
919     rendering/RenderWidget.cpp
920     rendering/break_lines.cpp
921     rendering/RenderStyle.cpp
922     rendering/RenderContainer.cpp
923     rendering/EllipsisBox.cpp
924     rendering/DeprecatedRenderSelect.cpp
925     rendering/RenderFieldset.cpp
926     rendering/RenderFrameSet.cpp
927     rendering/RenderTable.cpp
928     rendering/RenderPart.cpp
929     rendering/RenderBlock.cpp
930     rendering/DeprecatedSlider.cpp
931     rendering/InlineBox.cpp
932     rendering/RenderText.cpp
933     rendering/RenderFrame.cpp
934     rendering/RenderLineEdit.cpp
935     rendering/FixedTableLayout.cpp
936     rendering/RenderTableCol.cpp
937     rendering/RenderObject.cpp
938     rendering/RenderTreeAsText.cpp
939     rendering/RootInlineBox.cpp
940     rendering/RenderFormElement.cpp
941     rendering/RenderBox.cpp
942     rendering/RenderButton.cpp
943     rendering/RenderTableSection.cpp
944     rendering/ListMarkerBox.cpp
945     rendering/RenderLabel.cpp
946     rendering/RenderTableRow.cpp
947     rendering/RenderInline.cpp
948     rendering/RenderFileButton.cpp
949     rendering/RenderHTMLCanvas.cpp
950     rendering/bidi.cpp
951     rendering/RenderFlexibleBox.cpp
952     rendering/RenderApplet.cpp
953     rendering/RenderLegend.cpp
954         rendering/RenderTextControl.cpp
955     rendering/RenderTextFragment.cpp
956     rendering/RenderBR.cpp
957     rendering/InlineTextBox.cpp
958     rendering/RenderFlow.cpp
959     platform/image-decoders/png/png.c
960     platform/image-decoders/png/pngget.c
961     platform/image-decoders/png/pngread.c
962     platform/image-decoders/png/pngrutil.c
963     platform/image-decoders/png/pngvcrd.c
964     platform/image-decoders/png/pngwtran.c
965     platform/image-decoders/png/pngerror.c
966     platform/image-decoders/png/pngmem.c
967     platform/image-decoders/png/pngrio.c
968     platform/image-decoders/png/pngset.c
969     platform/image-decoders/png/pngwio.c
970     platform/image-decoders/png/pngwutil.c
971     platform/image-decoders/png/pnggccrd.c
972     platform/image-decoders/png/pngpread.c
973     platform/image-decoders/png/pngrtran.c
974     platform/image-decoders/png/pngtrans.c
975     platform/image-decoders/png/pngwrite.c
976     platform/image-decoders/jpeg/jcomapi.c
977     platform/image-decoders/jpeg/jdapimin.c
978     platform/image-decoders/jpeg/jdapistd.c
979     platform/image-decoders/jpeg/jdatadst.c
980     platform/image-decoders/jpeg/jdatasrc.c
981     platform/image-decoders/jpeg/jdcoefct.c
982     platform/image-decoders/jpeg/jdcolor.c
983     platform/image-decoders/jpeg/jddctmgr.c
984     platform/image-decoders/jpeg/jdhuff.c
985     platform/image-decoders/jpeg/jdinput.c
986     platform/image-decoders/jpeg/jdmainct.c
987     platform/image-decoders/jpeg/jdmarker.c
988     platform/image-decoders/jpeg/jdmaster.c
989     platform/image-decoders/jpeg/jdmerge.c
990     platform/image-decoders/jpeg/jdphuff.c
991     platform/image-decoders/jpeg/jdpostct.c
992     platform/image-decoders/jpeg/jdsample.c
993     platform/image-decoders/jpeg/jerror.c
994     platform/image-decoders/jpeg/jfdctflt.c
995     platform/image-decoders/jpeg/jfdctfst.c
996     platform/image-decoders/jpeg/jfdctint.c
997     platform/image-decoders/jpeg/jidctflt.c
998     platform/image-decoders/jpeg/jidctfst.c
999     platform/image-decoders/jpeg/jidctint.c
1000     platform/image-decoders/jpeg/jmemmgr.c
1001     platform/image-decoders/jpeg/jmemnobs.c
1002     platform/image-decoders/jpeg/jquant1.c
1003     platform/image-decoders/jpeg/jquant2.c
1004     platform/image-decoders/jpeg/jutils.c
1005
1006     ${WebCore-unity-IDLGeneratedSources}
1007 )
1008
1009
1010 kde4_automoc(platform/qt/SharedTimerLinux.cpp)
1011
1012 kde4_add_library(WebCore-unity SHARED  ${WebCore_SRCS})
1013
1014 target_link_libraries(WebCore-unity
1015
1016   ${QT_QT3SUPPORT_LIBRARY}
1017   ${QT_QTCORE_LIBRARY}
1018   ${QT_QTSVG_LIBRARY}
1019   ${QT_QTGUI_LIBRARY}
1020   ${LIBXSLT_LIBRARIES}
1021   ${LIBXML2_LIBRARIES}
1022   icuuc
1023   curl
1024   wtf-unity
1025   kjs-unity
1026   pcre-unity
1027
1028 )
1029
1030 add_subdirectory( platform/qt/test )
1031
1032 project( WebCore )
1033
1034 # Global switch for SVG support
1035 SET (USE_WEBKIT_SVG_SUPPORT 1)
1036
1037 include (CheckCXXCompilerFlag)
1038
1039 include_directories(
1040    BEFORE ${CMAKE_CURRENT_BINARY_DIR}
1041    ${CMAKE_CURRENT_SOURCE_DIR}/ForwardingHeaders
1042    ${CMAKE_CURRENT_SOURCE_DIR}/platform
1043    ${CMAKE_CURRENT_SOURCE_DIR}/loader
1044    ${CMAKE_CURRENT_BINARY_DIR}/css
1045    ${CMAKE_CURRENT_SOURCE_DIR}/css
1046    ${CMAKE_CURRENT_SOURCE_DIR}/dom
1047    ${CMAKE_CURRENT_SOURCE_DIR}/page
1048    ${CMAKE_CURRENT_SOURCE_DIR}/bridge
1049    ${CMAKE_CURRENT_SOURCE_DIR}/editing
1050    ${CMAKE_CURRENT_SOURCE_DIR}/kwq
1051    ${CMAKE_CURRENT_SOURCE_DIR}/rendering
1052    ${CMAKE_CURRENT_SOURCE_DIR}/xml
1053    ${CMAKE_CURRENT_BINARY_DIR}/xml
1054    ${CMAKE_CURRENT_SOURCE_DIR}/html
1055    ${CMAKE_CURRENT_SOURCE_DIR}/bindings/js
1056    ${CMAKE_CURRENT_BINARY_DIR}/html
1057    ${CMAKE_CURRENT_SOURCE_DIR}/kcanvas
1058    ${CMAKE_CURRENT_SOURCE_DIR}/kcanvas/device
1059    ${CMAKE_CURRENT_SOURCE_DIR}/kcanvas/device/qt 
1060    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2 
1061    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css
1062    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg
1063    ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg
1064    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/misc 
1065    ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc 
1066    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/events
1067    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/bindings/js
1068    ${CMAKE_CURRENT_BINARY_DIR}/platform
1069    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders
1070    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/gif
1071    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/jpeg
1072    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/ico
1073    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/xbm
1074    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/bmp
1075    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/png
1076    ${CMAKE_CURRENT_SOURCE_DIR}/platform/qt
1077    ${CMAKE_CURRENT_SOURCE_DIR}/WebCore+SVG 
1078    ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/kjs
1079    ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/
1080    ${CMAKE_CURRENT_SOURCE_DIR}/../
1081    )
1082
1083 include_directories( ${LIBXML2_INCLUDE_DIR} ${QT_INCLUDES}
1084   # don't. pulls in kjs
1085   # ${KDE4_KDECORE_INCLUDES}
1086   )
1087
1088 add_definitions ( -DQT3_SUPPORT -Wno-undef -Wno-unused-parameter )
1089
1090 IF (USE_WEBKIT_SVG_SUPPORT)
1091 add_definitions ( -DSVG_SUPPORT=1 )
1092 ENDIF (USE_WEBKIT_SVG_SUPPORT)
1093         
1094 check_cxx_compiler_flag(-Wno-variadic-macros __KDE_HAVE_WVARIADIC_MACROS)
1095
1096 IF(__KDE_HAVE_WVARIADIC_MACROS)
1097   add_definitions ( -Wno-variadic-macros )
1098 ENDIF(__KDE_HAVE_WVARIADIC_MACROS)
1099
1100 kde4_automoc(platform/qt/CanvasQt.cpp)
1101
1102 # rules for generated files
1103 IF (USE_WEBKIT_SVG_SUPPORT)
1104 set(IDL_BINDINGS_SVG
1105 # ksvg2/svg/SVGNumber.idl
1106 # ksvg2/svg/SVGPoint.idl
1107 # ksvg2/svg/SVGRect.idl
1108
1109   ksvg2/svg/SVGAngle.idl
1110   ksvg2/svg/SVGMatrix.idl
1111   ksvg2/svg/SVGTransform.idl
1112   ksvg2/svg/SVGLength.idl
1113   ksvg2/svg/SVGAnimatedLength.idl
1114   ksvg2/svg/SVGElement.idl
1115   ksvg2/svg/SVGColor.idl
1116   ksvg2/svg/SVGDocument.idl
1117   ksvg2/svg/SVGSVGElement.idl
1118 )
1119 ENDIF (USE_WEBKIT_SVG_SUPPORT)
1120
1121 set(IDL_BINDINGS
1122   css/CSSValue.idl
1123   css/CSSRuleList.idl
1124   css/CSSValueList.idl
1125   css/CSSStyleDeclaration.idl
1126   css/CSSPrimitiveValue.idl
1127   css/CSSRule.idl
1128   css/Counter.idl
1129   css/MediaList.idl
1130   dom/Event.idl
1131   dom/Range.idl
1132   dom/Text.idl
1133   dom/DOMImplementation.idl
1134   dom/NodeFilter.idl
1135   dom/MouseEvent.idl
1136   dom/CharacterData.idl
1137   dom/DocumentFragment.idl
1138   dom/Entity.idl
1139   dom/UIEvent.idl
1140   dom/Node.idl
1141   dom/ProcessingInstruction.idl
1142   dom/Notation.idl
1143   dom/Element.idl
1144   dom/DocumentType.idl
1145   dom/Document.idl
1146   dom/Attr.idl
1147   dom/MutationEvent.idl
1148   dom/KeyboardEvent.idl
1149   dom/WheelEvent.idl
1150   dom/OverflowEvent.idl
1151   dom/NodeIterator.idl
1152   dom/TreeWalker.idl
1153   html/CanvasGradient.idl
1154   html/CanvasPattern.idl
1155   html/CanvasRenderingContext2D.idl
1156   html/HTMLAnchorElement.idl
1157   html/HTMLAppletElement.idl
1158   html/HTMLAreaElement.idl
1159   html/HTMLBaseElement.idl
1160   html/HTMLBaseFontElement.idl
1161   html/HTMLBlockquoteElement.idl
1162   html/HTMLBodyElement.idl
1163   html/HTMLBRElement.idl
1164   html/HTMLButtonElement.idl
1165   html/HTMLCanvasElement.idl
1166   html/HTMLDirectoryElement.idl
1167   html/HTMLDivElement.idl
1168   html/HTMLDListElement.idl
1169   html/HTMLDocument.idl
1170   html/HTMLElement.idl
1171   html/HTMLFieldSetElement.idl
1172   html/HTMLFontElement.idl
1173   html/HTMLFormElement.idl
1174   html/HTMLHeadElement.idl
1175   html/HTMLHeadingElement.idl
1176   html/HTMLHRElement.idl
1177   html/HTMLHtmlElement.idl
1178   html/HTMLImageElement.idl
1179   html/HTMLInputElement.idl
1180   html/HTMLIsIndexElement.idl
1181   html/HTMLLabelElement.idl
1182   html/HTMLLegendElement.idl
1183   html/HTMLLIElement.idl
1184   html/HTMLLinkElement.idl
1185   html/HTMLMapElement.idl
1186   html/HTMLMenuElement.idl
1187   html/HTMLMetaElement.idl
1188   html/HTMLModElement.idl
1189   html/HTMLOListElement.idl
1190   html/HTMLOptGroupElement.idl
1191   html/HTMLOptionElement.idl
1192   html/HTMLParagraphElement.idl
1193   html/HTMLParamElement.idl
1194   html/HTMLPreElement.idl
1195   html/HTMLQuoteElement.idl
1196   html/HTMLScriptElement.idl
1197   html/HTMLStyleElement.idl
1198   html/HTMLTextAreaElement.idl
1199   html/HTMLTitleElement.idl
1200   html/HTMLUListElement.idl
1201   html/HTMLOptionsCollection.idl
1202
1203   xml/XPathNSResolver.idl
1204   xml/XPathExpression.idl
1205   xml/XPathResult.idl
1206   xml/XPathEvaluator.idl
1207  
1208   xml/DOMParser.idl
1209   xml/XMLSerializer.idl
1210
1211   page/DOMWindow.idl
1212
1213   ${IDL_BINDINGS_SVG}
1214 )
1215
1216 set(WebCore-unity-IDLGeneratedSources )
1217
1218 # create these files at build time on demand, not everytime at cmake-time, Alex
1219 foreach (idl ${IDL_BINDINGS})
1220    get_filename_component(_basename ${idl} NAME_WE)
1221    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.cpp ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.h
1222       COMMAND perl -I${CMAKE_CURRENT_SOURCE_DIR}/bindings/scripts ${CMAKE_CURRENT_SOURCE_DIR}/bindings/scripts/generate-bindings.pl  --defines \"SVG_SUPPORT=${USE_WEBKIT_SVG_SUPPORT}\" --generator JS --include dom --include html --include xml --include ksvg2/svg --outputdir ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${idl}
1223       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${idl} )
1224    set(WebCore-unity-IDLGeneratedSources ${WebCore-unity-IDLGeneratedSources} ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.cpp ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.h )
1225 endforeach (idl)
1226
1227 set(CREATE_HASH_TABLE ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/kjs/create_hash_table )
1228
1229 macro(CREATE_LUT _srcs_LIST _in_FILE _out_FILE _dep_FILE)
1230
1231    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
1232       COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} -i > ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
1233       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${_dep_FILE} )
1234    set( ${_srcs_LIST}  ${${_srcs_LIST}} ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE})
1235 endmacro(CREATE_LUT)
1236
1237 macro(CREATE_CPP_LUT _in_FILE _out_FILE _dep_FILE)
1238    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
1239       COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} -i > ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
1240       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${_dep_FILE} )
1241 endmacro(CREATE_CPP_LUT)
1242
1243 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_window.cpp kjs_window.lut.h bindings/js/kjs_window.cpp)
1244 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_css.cpp kjs_css.lut.h bindings/js/kjs_css.cpp)
1245 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_dom.cpp kjs_dom.lut.h bindings/js/kjs_dom.cpp)
1246 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_html.cpp kjs_html.lut.h bindings/js/kjs_html.cpp)
1247 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_events.cpp kjs_events.lut.h bindings/js/kjs_events.cpp)
1248 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_navigator.cpp kjs_navigator.lut.h bindings/js/kjs_navigator.cpp)
1249 create_lut(WebCore-unity_LIB_SRCS bindings/js/kjs_traversal.cpp kjs_traversal.lut.h bindings/js/kjs_traversal.cpp)
1250 create_lut(WebCore-unity_LIB_SRCS bindings/js/JSXMLHttpRequest.cpp JSXMLHttpRequest.lut.h bindings/js/JSXMLHttpRequest.cpp)
1251 create_lut(WebCore-unity_LIB_SRCS bindings/js/JSXSLTProcessor.cpp JSXSLTProcessor.lut.h bindings/js/JSXSLTProcessor.cpp)
1252 create_cpp_lut(bindings/js/JSHTMLInputElementBase.cpp JSHTMLInputElementBaseTable.cpp bindings/js/JSHTMLInputElementBase.cpp)
1253
1254 IF (USE_WEBKIT_SVG_SUPPORT)
1255   create_cpp_lut(ksvg2/bindings/js/JSSVGPoint.cpp JSSVGPointTable.cpp ksvg2/bindings/js/JSSVGPoint.cpp)
1256   create_cpp_lut(ksvg2/bindings/js/JSSVGRect.cpp JSSVGRectTable.cpp ksvg2/bindings/js/JSSVGRect.cpp)
1257 ENDIF (USE_WEBKIT_SVG_SUPPORT)
1258
1259 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/tokenizer.cpp
1260   COMMAND flex -t < ${CMAKE_CURRENT_SOURCE_DIR}/css/tokenizer.flex | perl ${CMAKE_CURRENT_SOURCE_DIR}/css/maketokenizer > ${CMAKE_CURRENT_BINARY_DIR}/tokenizer.cpp
1261
1262   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/tokenizer.flex
1263 )
1264
1265 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.h ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.c
1266
1267   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1268   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSPropertyNames.in ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.in
1269   COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/css/makeprop
1270
1271   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSPropertyNames.in
1272 )
1273
1274 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CSSValueKeywords.h ${CMAKE_CURRENT_BINARY_DIR}/CSSValueKeywords.c
1275
1276   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1277   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSValueKeywords.in ${CMAKE_CURRENT_BINARY_DIR}
1278   COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/css/makevalues
1279
1280   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSValueKeywords.in
1281 )
1282
1283 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.cpp ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.h
1284   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1285   COMMAND ${BISON_EXECUTABLE} -d -p cssyy ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSGrammar.y
1286   COMMAND mv CSSGrammar.tab.c ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.cpp
1287   #COMMAND rm -f CSSGrammar.tab.h
1288   #COMMAND touch CSSGrammar.h
1289   COMMAND mv CSSGrammar.tab.h ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.h
1290   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSGrammar.y
1291 )
1292
1293 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLNames.h
1294   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1295   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/html
1296   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --tags ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLTagNames.in --attrs ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLAttributeNames.in --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --attrsNullNamespace --output html
1297
1298   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLTagNames.in ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLAttributeNames.in
1299 )
1300
1301 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGNames.h ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGElementFactory.cpp ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGElementFactory.h
1302   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1303   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg
1304   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --tags ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgtags.in --attrs ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgattrs.in --namespace SVG --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --attrsNullNamespace --output ksvg2/svg
1305
1306   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgtags.in ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgattrs.in
1307 )
1308
1309 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc/XLinkNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc/XLinkNames.h
1310   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1311   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc
1312   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --attrs ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/misc/xlinkattrs.in --namespace XLink --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xlink" --output ksvg2/misc
1313
1314   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/misc/xlinkattrs.in
1315 )
1316
1317 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/xml/XMLNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/xml/XMLNames.h
1318   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1319   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/xml
1320   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --attrs ${CMAKE_CURRENT_SOURCE_DIR}/xml/xmlattrs.in --namespace XML --cppNamespace WebCore --namespaceURI "http://www.w3.org/XML/1998/namespace" --output xml
1321
1322   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/xml/xmlattrs.in
1323 )
1324
1325 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLEntityNames.c
1326   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1327   COMMAND mkdir -p html
1328   COMMAND echo '\#include <string.h>' > html/HTMLEntityNames.c
1329   COMMAND ${GPERF_EXECUTABLE} -a -L ANSI-C -C -G -c -o -t -k '*' -N findEntity -D -s 2 < ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLEntityNames.gperf >> html/HTMLEntityNames.c
1330
1331   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLEntityNames.gperf
1332 )
1333
1334 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/DocTypeStrings.cpp
1335   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1336   COMMAND mkdir -p html
1337   COMMAND echo '\#include <string.h>' > html/DocTypeStrings.cpp
1338   COMMAND ${GPERF_EXECUTABLE} -CEot -L ANSI-C -k \"*\" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards < ${CMAKE_CURRENT_SOURCE_DIR}/html/DocTypeStrings.gperf >> html/DocTypeStrings.cpp
1339   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/html/DocTypeStrings.gperf
1340 )
1341
1342 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/platform/ColorData.c
1343   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1344   COMMAND mkdir -p platform
1345   COMMAND echo '\#include <string.h>' > platform/ColorData.c
1346   COMMAND ${GPERF_EXECUTABLE} -CDEot -L ANSI-C -k \"*\" -N findColor -D -s 2 < ${CMAKE_CURRENT_SOURCE_DIR}/platform/ColorData.gperf >> platform/ColorData.c
1347   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/platform/ColorData.gperf
1348 )
1349
1350 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssproperties.h
1351   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSPropertyNames.in ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssproperties.in
1352   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakeprops -n SVG -f ksvgcssproperties.in
1353   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakeprops ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSPropertyNames.in
1354 )
1355
1356 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssvalues.h
1357   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
1358   COMMAND perl -ne 'print lc' ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSValueKeywords.in > ksvgcssvalues.in
1359   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakevalues -n SVG -f ksvgcssvalues.in
1360   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakevalues ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSValueKeywords.in
1361 )
1362
1363 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheets.h ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheetsData.cpp
1364   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/css/make-css-file-arrays.pl ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheets.h ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheetsData.cpp ${CMAKE_CURRENT_SOURCE_DIR}/css/html4.css ${CMAKE_CURRENT_SOURCE_DIR}/css/quirks.css ${CMAKE_CURRENT_SOURCE_DIR}/css/svg.css ${CMAKE_CURRENT_SOURCE_DIR}/css/view-source.css
1365   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/html4.css ${CMAKE_CURRENT_SOURCE_DIR}/css/quirks.css ${CMAKE_CURRENT_SOURCE_DIR}/css/svg.css
1366 )
1367
1368 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CharacterData.cpp
1369   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/platform/make-charset-table.pl ${CMAKE_CURRENT_SOURCE_DIR}/platform/character-sets.txt ${CMAKE_CURRENT_SOURCE_DIR}/platform/qt/qt-encodings.txt \" \" > ${CMAKE_CURRENT_BINARY_DIR}/CharacterData.cpp
1370   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/platform/make-charset-table.pl ${CMAKE_CURRENT_SOURCE_DIR}/platform/character-sets.txt
1371 )
1372
1373 # source stuff
1374 IF (USE_WEBKIT_SVG_SUPPORT)
1375 set (SVG_STUFF
1376     ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGNames.cpp
1377     ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGElementFactory.cpp
1378     ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc/XLinkNames.cpp
1379     ${CMAKE_CURRENT_BINARY_DIR}/xml/XMLNames.cpp
1380
1381     ksvg2/bindings/js/JSSVGPoint.cpp
1382     ksvg2/bindings/js/JSSVGRect.cpp
1383     ksvg2/bindings/js/JSSVGNumber.cpp
1384     ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp 
1385
1386     ksvg2/css/SVGCSSParser.cpp
1387     ksvg2/css/SVGRenderStyleDefs.cpp
1388     ksvg2/css/SVGRenderStyle.cpp
1389     ksvg2/css/SVGCSSStyleSelector.cpp
1390     ksvg2/svg/SVGHelper.cpp
1391     ksvg2/svg/SVGFEFuncBElement.cpp
1392     ksvg2/svg/SVGPathSeg.cpp
1393     ksvg2/svg/SVGColor.cpp
1394     ksvg2/svg/SVGSwitchElement.cpp
1395     ksvg2/svg/SVGFETileElement.cpp
1396     ksvg2/svg/SVGDOMImplementation.cpp
1397     ksvg2/svg/SVGMarkerElement.cpp
1398     ksvg2/svg/SVGFECompositeElement.cpp
1399     ksvg2/svg/SVGPoint.cpp
1400     ksvg2/svg/SVGImageElement.cpp
1401     ksvg2/svg/SVGAnimateElement.cpp
1402     ksvg2/svg/SVGURIReference.cpp
1403     ksvg2/svg/SVGLength.cpp
1404     ksvg2/svg/SVGPathSegCurvetoCubic.cpp
1405     ksvg2/svg/SVGExternalResourcesRequired.cpp
1406     ksvg2/svg/SVGPolylineElement.cpp
1407     ksvg2/svg/SVGFEOffsetElement.cpp
1408     ksvg2/svg/SVGFETurbulenceElement.cpp
1409     ksvg2/svg/SVGZoomAndPan.cpp
1410     ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp
1411     ksvg2/svg/SVGStyledLocatableElement.cpp
1412     ksvg2/svg/SVGLineElement.cpp
1413     ksvg2/svg/SVGAnimatedAngle.cpp
1414     ksvg2/svg/SVGTransform.cpp
1415     ksvg2/svg/SVGPathSegLinetoVertical.cpp
1416     ksvg2/svg/SVGFitToViewBox.cpp
1417     ksvg2/svg/SVGRadialGradientElement.cpp
1418     ksvg2/svg/SVGMatrix.cpp
1419     ksvg2/svg/SVGAnimatedPreserveAspectRatio.cpp
1420     ksvg2/svg/SVGMaskElement.cpp
1421     ksvg2/svg/SVGTitleElement.cpp
1422     ksvg2/svg/SVGTRefElement.cpp
1423     ksvg2/svg/SVGLangSpace.cpp
1424     ksvg2/svg/SVGTransformList.cpp
1425     ksvg2/svg/SVGNumber.cpp
1426     ksvg2/svg/SVGStylable.cpp
1427     ksvg2/svg/SVGPolyElement.cpp
1428     ksvg2/svg/SVGPolygonElement.cpp
1429 #   ksvg2/svg/SVGElementInstanceList.cpp
1430     ksvg2/svg/SVGTSpanElement.cpp
1431     ksvg2/svg/SVGFEFuncRElement.cpp
1432     ksvg2/svg/SVGAnimatedPoints.cpp
1433     ksvg2/svg/SVGFEFloodElement.cpp
1434     ksvg2/svg/SVGPointList.cpp
1435     ksvg2/svg/SVGAnimatedEnumeration.cpp
1436     ksvg2/svg/SVGAnimatedPathData.cpp
1437     ksvg2/svg/SVGUseElement.cpp
1438     ksvg2/svg/SVGNumberList.cpp
1439     ksvg2/svg/SVGFEPointLightElement.cpp
1440     ksvg2/svg/SVGPathSegLineto.cpp
1441     ksvg2/svg/SVGRectElement.cpp
1442     ksvg2/svg/SVGTextContentElement.cpp
1443     ksvg2/svg/SVGFESpotLightElement.cpp
1444     ksvg2/svg/SVGLocatable.cpp
1445     ksvg2/svg/SVGEllipseElement.cpp
1446     ksvg2/svg/SVGPathElement.cpp
1447     ksvg2/svg/SVGStyledElement.cpp
1448     ksvg2/svg/SVGFEMergeNodeElement.cpp
1449     ksvg2/svg/SVGAnimatedLengthList.cpp
1450     ksvg2/svg/svgpathparser.cpp
1451     ksvg2/svg/SVGFEGaussianBlurElement.cpp
1452     ksvg2/svg/SVGLinearGradientElement.cpp
1453     ksvg2/svg/SVGFEDisplacementMapElement.cpp
1454     ksvg2/svg/SVGFEImageElement.cpp
1455     ksvg2/svg/SVGFEDiffuseLightingElement.cpp
1456     ksvg2/svg/SVGSymbolElement.cpp
1457     ksvg2/svg/SVGAnimatedLength.cpp
1458     ksvg2/svg/SVGForeignObjectElement.cpp
1459     ksvg2/svg/SVGAngle.cpp
1460     ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp
1461     ksvg2/svg/SVGSVGElement.cpp
1462     ksvg2/svg/SVGFESpecularLightingElement.cpp
1463     ksvg2/svg/SVGAnimateColorElement.cpp
1464     ksvg2/svg/SVGGElement.cpp
1465     ksvg2/svg/SVGFEFuncGElement.cpp
1466     ksvg2/svg/SVGFEComponentTransferElement.cpp
1467     ksvg2/svg/SVGSetElement.cpp
1468     ksvg2/svg/SVGFEBlendElement.cpp
1469     ksvg2/svg/SVGFEMergeElement.cpp
1470     ksvg2/svg/SVGAnimatedString.cpp
1471     ksvg2/svg/SVGCursorElement.cpp
1472     ksvg2/svg/SVGAnimatedNumber.cpp
1473     ksvg2/svg/SVGStringList.cpp
1474 #   ksvg2/svg/SVGElementInstance.cpp
1475     ksvg2/svg/SVGRect.cpp
1476     ksvg2/svg/SVGFilterElement.cpp
1477     ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp
1478     ksvg2/svg/SVGPatternElement.cpp
1479     ksvg2/svg/SVGPathSegList.cpp
1480     ksvg2/svg/SVGStyleElement.cpp
1481     ksvg2/svg/SVGAnimatedColor.cpp
1482     ksvg2/svg/SVGPaint.cpp
1483     ksvg2/svg/SVGFEDistantLightElement.cpp
1484     ksvg2/svg/SVGTextPositioningElement.cpp
1485     ksvg2/svg/SVGAnimatedRect.cpp
1486     ksvg2/svg/SVGPreserveAspectRatio.cpp
1487     ksvg2/svg/SVGScriptElement.cpp
1488     ksvg2/svg/SVGComponentTransferFunctionElement.cpp
1489     ksvg2/svg/SVGTextElement.cpp
1490     ksvg2/svg/SVGViewElement.cpp
1491     ksvg2/svg/SVGAnimatedTransformList.cpp
1492     ksvg2/svg/SVGLengthList.cpp
1493     ksvg2/svg/SVGStyledTransformableElement.cpp
1494     ksvg2/svg/SVGPathSegArc.cpp
1495     ksvg2/svg/SVGAnimatedBoolean.cpp
1496     ksvg2/svg/SVGDescElement.cpp
1497     ksvg2/svg/SVGTransformable.cpp
1498     ksvg2/svg/SVGDocument.cpp
1499     ksvg2/svg/SVGAnimatedInteger.cpp
1500     ksvg2/svg/SVGClipPathElement.cpp
1501     ksvg2/svg/SVGPathSegMoveto.cpp
1502     ksvg2/svg/SVGAElement.cpp
1503     ksvg2/svg/SVGCircleElement.cpp
1504     ksvg2/svg/SVGFEFuncAElement.cpp
1505     ksvg2/svg/SVGTests.cpp
1506     ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp
1507     ksvg2/svg/SVGElement.cpp
1508     ksvg2/svg/SVGAnimateTransformElement.cpp
1509     ksvg2/svg/SVGAnimatedNumberList.cpp
1510     ksvg2/svg/SVGFEColorMatrixElement.cpp
1511     ksvg2/svg/SVGGradientElement.cpp
1512     ksvg2/svg/SVGAnimationElement.cpp
1513     ksvg2/svg/SVGFELightElement.cpp
1514     ksvg2/svg/SVGPathSegClosePath.cpp
1515     ksvg2/svg/SVGPathSegLinetoHorizontal.cpp
1516     ksvg2/svg/SVGStopElement.cpp
1517     ksvg2/svg/SVGDefsElement.cpp
1518 #   ksvg2/ecma/GlobalObject.cpp
1519 #   ksvg2/ecma/Ecma.cpp
1520     ksvg2/misc/SVGImageLoader.cpp
1521     ksvg2/misc/SVGDocumentExtensions.cpp
1522     ksvg2/misc/KSVGTimeScheduler.cpp
1523     ksvg2/misc/KCanvasRenderingStyle.cpp
1524     ksvg2/events/JSSVGLazyEventListener.cpp
1525     ksvg2/events/SVGZoomEvent.cpp
1526     kcanvas/KCanvasCreator.cpp
1527     kcanvas/KCanvasPath.cpp
1528     kcanvas/KCanvasTreeDebug.cpp
1529     kcanvas/KCanvasFilters.cpp
1530     kcanvas/RenderSVGText.cpp
1531     kcanvas/device/KRenderingPaintServerGradient.cpp
1532     kcanvas/device/KRenderingPaintServerSolid.cpp
1533     kcanvas/device/KRenderingFillPainter.cpp
1534     kcanvas/device/KRenderingStrokePainter.cpp
1535     kcanvas/device/KRenderingPaintServerPattern.cpp
1536     kcanvas/device/KRenderingDevice.cpp
1537     kcanvas/device/qt/RenderPathQt.cpp
1538     kcanvas/device/qt/KCanvasPathQt.cpp
1539     kcanvas/device/qt/KRenderingDeviceQt.cpp
1540     kcanvas/device/qt/KRenderingPaintServerSolidQt.cpp
1541     kcanvas/device/qt/KRenderingPaintServerGradientQt.cpp
1542     kcanvas/device/qt/KRenderingPaintServerPatternQt.cpp
1543     kcanvas/device/qt/KRenderingPaintServerQt.cpp
1544     kcanvas/device/qt/KCanvasClipperQt.cpp
1545 #   kcanvas/device/qt/KCanvasFilterQt.cpp
1546 #   kcanvas/device/qt/KCanvasImageItemQt.cpp
1547     kcanvas/RenderSVGContainer.cpp
1548     kcanvas/RenderPath.cpp
1549     kcanvas/KCanvasResources.cpp
1550     kcanvas/RenderSVGImage.cpp
1551     kcanvas/RenderForeignObject.cpp
1552     kcanvas/KCanvasMatrix.cpp
1553  )
1554 ENDIF(USE_WEBKIT_SVG_SUPPORT)
1555
1556
1557 set(WebCore_SRCS
1558
1559     ${WebCore-unity_LIB_SRCS}
1560
1561     ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.h
1562     ${CMAKE_CURRENT_BINARY_DIR}/CSSValueKeywords.h
1563     ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.h
1564     ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.cpp
1565     ${CMAKE_CURRENT_BINARY_DIR}/CharacterData.cpp
1566     ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheets.h
1567     ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheetsData.cpp
1568     ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLNames.cpp
1569     ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLEntityNames.c
1570     ${CMAKE_CURRENT_BINARY_DIR}/html/DocTypeStrings.cpp
1571     ${CMAKE_CURRENT_BINARY_DIR}/platform/ColorData.c
1572     ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssproperties.h
1573     ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssvalues.h
1574
1575     bindings/js/kjs_binding.cpp
1576     bindings/js/kjs_css.cpp
1577     bindings/js/kjs_dom.cpp
1578     bindings/js/kjs_events.cpp
1579     bindings/js/kjs_html.cpp
1580     bindings/js/kjs_navigator.cpp
1581     bindings/js/kjs_proxy.cpp
1582     bindings/js/kjs_traversal.cpp
1583     bindings/js/kjs_window.cpp
1584
1585     bindings/js/JSCanvasRenderingContext2DCustom.cpp
1586     bindings/js/JSHTMLElementWrapperFactory.cpp
1587     bindings/js/JSHTMLFormElementCustom.cpp
1588     bindings/js/JSHTMLOptionElementConstructor.cpp
1589     bindings/js/JSHTMLOptionsCollectionCustom.cpp
1590         bindings/js/JSHTMLInputElementBase.cpp
1591     bindings/js/JSXMLHttpRequest.cpp
1592         bindings/js/JSNodeIteratorCustom.cpp
1593         bindings/js/JSTreeWalkerCustom.cpp
1594     bindings/js/JSXSLTProcessor.cpp
1595
1596     css/cssparser.cpp
1597     css/cssstyleselector.cpp
1598     css/csshelper.cpp
1599     css/FontValue.cpp
1600     css/CSSSelector.cpp
1601     css/MediaFeatureNames.cpp
1602     css/CSSRuleList.cpp
1603     css/MediaQueryExp.cpp
1604     css/CSSImportRule.cpp
1605     css/CSSValueList.cpp
1606     css/CSSStyleDeclaration.cpp
1607     css/CSSPrimitiveValue.cpp
1608     css/CSSProperty.cpp
1609     css/CSSBorderImageValue.cpp
1610     css/MediaQuery.cpp
1611     css/StyleSheet.cpp
1612     css/CSSPageRule.cpp
1613     css/StyleSheetList.cpp
1614     css/MediaQueryEvaluator.cpp
1615     css/StyleBase.cpp
1616     css/CSSRule.cpp
1617     css/CSSStyleSheet.cpp
1618     css/CSSInitialValue.cpp
1619     css/CSSImageValue.cpp
1620     css/CSSStyleRule.cpp
1621     css/CSSInheritedValue.cpp
1622     css/StyleList.cpp
1623     css/FontFamilyValue.cpp
1624     css/CSSMediaRule.cpp
1625     css/CSSComputedStyleDeclaration.cpp
1626     css/CSSMutableStyleDeclaration.cpp
1627     css/MediaList.cpp
1628     css/CSSFontFaceRule.cpp
1629     css/ShadowValue.cpp
1630     dom/Event.cpp
1631     dom/Range.cpp
1632     dom/Text.cpp
1633     dom/DOMImplementation.cpp
1634     dom/NodeFilter.cpp
1635     dom/MouseEvent.cpp
1636     dom/EntityReference.cpp
1637     dom/NameNodeList.cpp
1638     dom/CharacterData.cpp
1639     dom/XMLTokenizer.cpp
1640     dom/StyledElement.cpp
1641     dom/MappedAttribute.cpp
1642     dom/NamedAttrMap.cpp
1643     dom/ContainerNode.cpp
1644     dom/NamedMappedAttrMap.cpp
1645     dom/EventNames.cpp
1646     dom/Comment.cpp
1647     dom/EditingText.cpp
1648     dom/DocumentFragment.cpp
1649     dom/ChildNodeList.cpp
1650     dom/Entity.cpp
1651     dom/BeforeTextInsertedEvent.cpp
1652     dom/UIEvent.cpp
1653     dom/Node.cpp
1654     dom/Attribute.cpp
1655     dom/Position.cpp
1656     dom/ProcessingInstruction.cpp
1657     dom/TreeWalker.cpp
1658     dom/Notation.cpp
1659     dom/Element.cpp
1660     dom/NodeFilterCondition.cpp
1661     dom/CDATASection.cpp
1662     dom/DocumentType.cpp
1663     dom/NodeList.cpp
1664     dom/CSSMappedAttributeDeclaration.cpp
1665     dom/QualifiedName.cpp
1666     dom/Document.cpp
1667     dom/Attr.cpp
1668         dom/OverflowEvent.cpp
1669     dom/RegisteredEventListener.cpp
1670     dom/EventTargetNode.cpp
1671     dom/BeforeUnloadEvent.cpp
1672     dom/MutationEvent.cpp
1673     dom/MouseRelatedEvent.cpp
1674     dom/KeyboardEvent.cpp
1675     dom/NodeIterator.cpp
1676     dom/ClipboardEvent.cpp
1677     dom/Traversal.cpp
1678     dom/WheelEvent.cpp
1679 #   kwq/KWQWMatrix.cpp
1680 #   kwq/KWQCString.cpp
1681
1682     ${SVG_STUFF}
1683     editing/InsertIntoTextNodeCommand.cpp
1684     editing/WrapContentsInDummySpanCommand.cpp
1685     editing/ReplaceSelectionCommand.cpp
1686     editing/MoveSelectionCommand.cpp
1687     editing/RemoveNodePreservingChildrenCommand.cpp
1688     editing/HTMLInterchange.cpp
1689     editing/UnlinkCommand.cpp
1690     editing/InsertLineBreakCommand.cpp
1691     editing/FormatBlockCommand.cpp
1692     editing/AppendNodeCommand.cpp
1693     editing/BreakBlockquoteCommand.cpp
1694     editing/htmlediting.cpp
1695     editing/RebalanceWhitespaceCommand.cpp
1696     editing/markup.cpp
1697     editing/InsertParagraphSeparatorCommand.cpp
1698     editing/ModifySelectionListLevel.cpp
1699     editing/JSEditor.cpp
1700     editing/Selection.cpp
1701     editing/TextIterator.cpp
1702     editing/InsertListCommand.cpp
1703     editing/IndentOutdentCommand.cpp
1704     editing/InsertNodeBeforeCommand.cpp
1705     editing/SplitTextNodeContainingElementCommand.cpp
1706     editing/TypingCommand.cpp
1707     editing/MergeIdenticalElementsCommand.cpp
1708     editing/EditCommand.cpp
1709     editing/SplitTextNodeCommand.cpp
1710     editing/RemoveCSSPropertyCommand.cpp
1711     editing/JoinTextNodesCommand.cpp
1712     editing/InsertTextCommand.cpp
1713     editing/SelectionController.cpp
1714     editing/DeleteSelectionCommand.cpp
1715     editing/SplitElementCommand.cpp
1716     editing/VisiblePosition.cpp
1717     editing/ApplyStyleCommand.cpp
1718     editing/visible_units.cpp
1719     editing/RemoveNodeAttributeCommand.cpp
1720     editing/DeleteFromTextNodeCommand.cpp
1721     editing/RemoveNodeCommand.cpp
1722     editing/CompositeEditCommand.cpp
1723     editing/SetNodeAttributeCommand.cpp
1724     editing/CreateLinkCommand.cpp
1725
1726
1727 #   kwq/KWQTextStream.cpp
1728     xml/XSLStyleSheet.cpp
1729     xml/XSLTProcessor.cpp
1730     xml/XSLImportRule.cpp
1731         xml/DOMParser.cpp
1732         xml/XMLSerializer.cpp
1733         xml/xmlhttprequest.cpp
1734 #   icon/IconDatabase.cpp
1735 #   icon/SQLTransaction.cpp
1736 #   icon/SQLStatement.cpp
1737 #   icon/SiteIcon.cpp
1738 #   icon/SQLDatabase.cpp
1739     html/HTMLParser.cpp
1740     html/HTMLFontElement.cpp
1741     html/HTMLEmbedElement.cpp
1742     html/HTMLLinkElement.cpp
1743     html/HTMLOptGroupElement.cpp
1744     html/HTMLCanvasElement.cpp
1745     html/HTMLTitleElement.cpp
1746     html/CanvasRenderingContext2D.cpp
1747     html/HTMLObjectElement.cpp
1748     html/HTMLAppletElement.cpp
1749     html/HTMLKeygenElement.cpp
1750     html/HTMLDivElement.cpp
1751     html/HTMLMapElement.cpp
1752     html/HTMLScriptElement.cpp
1753     html/HTMLHtmlElement.cpp
1754     html/HTMLTokenizer.cpp
1755     html/HTMLOptionElement.cpp
1756     html/HTMLTableCaptionElement.cpp
1757     html/HTMLImageLoader.cpp
1758     html/FormDataList.cpp
1759     html/HTMLLabelElement.cpp
1760     html/HTMLTableColElement.cpp
1761     html/HTMLDListElement.cpp
1762     html/HTMLTablePartElement.cpp
1763     html/HTMLTableSectionElement.cpp
1764     html/HTMLTextAreaElement.cpp
1765     html/HTMLTextFieldInnerElement.cpp
1766     html/HTMLAreaElement.cpp
1767     html/CanvasStyle.cpp
1768     html/HTMLIsIndexElement.cpp
1769     html/HTMLHeadElement.cpp
1770     html/HTMLFrameSetElement.cpp
1771     html/HTMLBodyElement.cpp
1772     html/HTMLBRElement.cpp
1773     html/HTMLNameCollection.cpp
1774     html/HTMLLegendElement.cpp
1775     html/HTMLLIElement.cpp
1776     html/HTMLParamElement.cpp
1777     html/HTMLMetaElement.cpp
1778     html/HTMLHeadingElement.cpp
1779     html/HTMLUListElement.cpp
1780     html/HTMLInputElement.cpp
1781     html/HTMLElementFactory.cpp
1782     html/HTMLPlugInElement.cpp
1783     html/HTMLFieldSetElement.cpp
1784     html/HTMLParagraphElement.cpp
1785     html/HTMLStyleElement.cpp
1786     html/HTMLMarqueeElement.cpp
1787     html/HTMLGenericFormElement.cpp
1788     html/HTMLElement.cpp
1789     html/HTMLDocument.cpp
1790     html/HTMLOListElement.cpp
1791     html/HTMLFormElement.cpp
1792     html/HTMLPreElement.cpp
1793     html/HTMLTableElement.cpp
1794     html/CanvasGradient.cpp
1795     html/HTMLViewSourceDocument.cpp
1796     html/HTMLFrameElement.cpp
1797     html/HTMLAnchorElement.cpp
1798     html/HTMLTableCellElement.cpp
1799     html/CanvasPattern.cpp
1800     html/HTMLBlockquoteElement.cpp
1801     html/HTMLIFrameElement.cpp
1802     html/HTMLMenuElement.cpp
1803     html/HTMLCollection.cpp
1804     html/HTMLModElement.cpp
1805     html/HTMLQuoteElement.cpp
1806     html/HTMLDirectoryElement.cpp
1807     html/HTMLSelectElement.cpp
1808     html/HTMLImageElement.cpp
1809     html/HTMLOptionsCollection.cpp
1810     html/HTMLTableRowElement.cpp
1811     html/HTMLBaseFontElement.cpp
1812     html/HTMLHRElement.cpp
1813     html/HTMLButtonElement.cpp
1814     html/HTMLFormCollection.cpp
1815     html/HTMLBaseElement.cpp
1816     page/FrameTree.cpp
1817     page/DOMWindow.cpp
1818     page/MouseEventWithHitTestResults.cpp
1819     page/Frame.cpp
1820     page/Page.cpp
1821     page/FrameView.cpp
1822     xml/XPathUtil.cpp
1823     xml/XPathPredicate.cpp
1824     xml/XPathVariableReference.cpp
1825     xml/XPathValue.cpp
1826     xml/XPathPath.cpp
1827     xml/XPathFunctions.cpp
1828     xml/XPathParser.cpp
1829     xml/XPathStep.cpp
1830     xml/XPathExpressionNode.cpp
1831     xml/XPathNamespace.cpp
1832     xml/XPathNSResolver.cpp
1833     xml/XPathExpression.cpp
1834     xml/XPathResult.cpp
1835     xml/XPathEvaluator.cpp
1836     loader/CachedImage.cpp
1837     loader/CachedScript.cpp
1838     loader/Request.cpp
1839     loader/CachedXSLStyleSheet.cpp
1840     loader/DocLoader.cpp
1841     loader/PluginDocument.cpp
1842     loader/TextDocument.cpp
1843     loader/ImageDocument.cpp
1844     loader/CachedResourceClientWalker.cpp
1845     loader/loader.cpp
1846     loader/CachedCSSStyleSheet.cpp
1847     loader/CachedXBLDocument.cpp
1848     loader/CachedResource.cpp
1849     loader/Cache.cpp
1850     loader/Decoder.cpp
1851     loader/FormData.cpp
1852     platform/AtomicString.cpp
1853         platform/AffineTransform.cpp
1854     platform/TextStream.cpp
1855         platform/Widget.cpp
1856     platform/GlyphWidthMap.cpp
1857     platform/Pen.cpp
1858     platform/Image.cpp
1859     platform/DeprecatedStringList.cpp
1860     platform/FloatSize.cpp
1861     platform/String.cpp
1862     platform/DeprecatedValueListImpl.cpp
1863     platform/GraphicsTypes.cpp
1864     platform/IntRect.cpp
1865     platform/Arena.cpp
1866     platform/CharsetNames.cpp
1867     platform/ArrayImpl.cpp
1868     platform/FloatPoint.cpp
1869     platform/SegmentedString.cpp
1870     platform/StreamingTextDecoder.cpp
1871         platform/StreamingTextDecoderICU.cpp
1872     platform/DeprecatedString.cpp
1873         platform/DeprecatedCString.cpp
1874     platform/TextEncoding.cpp
1875     platform/GraphicsContext.cpp
1876     platform/Logging.cpp
1877     platform/Color.cpp
1878     platform/DeprecatedPtrListImpl.cpp
1879     platform/KURL.cpp
1880     platform/StringImpl.cpp
1881     platform/FloatRect.cpp
1882     platform/ResourceLoader.cpp
1883         platform/qt/AffineTransformQt.cpp
1884     platform/qt/ColorQt.cpp
1885     platform/qt/GlyphMapQt.cpp
1886     platform/qt/BrowserExtensionQt.cpp
1887     platform/qt/CookieJarQt.cpp
1888     platform/qt/FontPlatformDataQt.cpp
1889     platform/qt/GraphicsContextQt.cpp
1890     platform/qt/ScrollViewQt.cpp
1891     platform/qt/TemporaryLinkStubs.cpp
1892     platform/qt/CursorQt.cpp
1893     platform/qt/WidgetQt.cpp
1894     platform/qt/SystemTimeLinux.cpp
1895     platform/qt/RenderThemeQt.cpp
1896     platform/qt/FontDataQt.cpp
1897     platform/qt/SharedTimerLinux.cpp
1898     platform/qt/ResourceLoaderCurl.cpp
1899     platform/qt/ResourceLoaderManager.cpp
1900     platform/qt/FloatPointQt.cpp
1901     platform/qt/ListBoxQt.cpp
1902     platform/qt/FloatRectQt.cpp
1903     platform/qt/IntPointQt.cpp
1904     platform/qt/IntRectQt.cpp
1905     platform/qt/IntSizeQt.cpp
1906     platform/qt/PageQt.cpp
1907     platform/qt/PathQt.cpp
1908     platform/qt/ImageQt.cpp
1909     platform/qt/ImageSourceQt.cpp
1910     platform/qt/FontCacheQt.cpp
1911     platform/qt/FontQt.cpp
1912 #   platform/qt/LineEditQt.cpp
1913     platform/qt/ScreenQt.cpp
1914 #   platform/qt/FileButtonQt.cpp
1915     platform/qt/FrameQt.cpp
1916 #   platform/qt/TextEditQt.cpp
1917     platform/qt/CanvasQt.cpp
1918     platform/qt/PlatformMouseEventQt.cpp
1919     platform/qt/PlatformKeyboardEventQt.cpp
1920     platform/image-decoders/bmp/BMPImageDecoder.cpp
1921     platform/image-decoders/gif/GIFImageReader.cpp
1922     platform/image-decoders/gif/GIFImageDecoder.cpp
1923     platform/image-decoders/ico/ICOImageDecoder.cpp
1924     platform/image-decoders/png/PNGImageDecoder.cpp
1925     platform/image-decoders/xbm/XBMImageDecoder.cpp
1926     platform/image-decoders/jpeg/JPEGImageDecoder.cpp
1927     platform/FontFamily.cpp
1928     platform/Timer.cpp
1929     platform/FontCache.cpp
1930     platform/FontFallbackList.cpp
1931     platform/RegularExpression.cpp
1932     platform/GlyphMap.cpp
1933     platform/Font.cpp
1934     platform/FontData.cpp
1935     rendering/RenderReplaced.cpp
1936     rendering/RenderPartObject.cpp
1937     rendering/RenderView.cpp
1938     rendering/RenderMenuList.cpp
1939         rendering/InlineFlowBox.cpp
1940     rendering/RenderListMarker.cpp
1941     rendering/RenderImage.cpp
1942     rendering/RenderTheme.cpp
1943     rendering/RenderLayer.cpp
1944     rendering/RenderTableCell.cpp
1945     rendering/RenderListItem.cpp
1946     rendering/RenderImageButton.cpp
1947     rendering/AutoTableLayout.cpp
1948     rendering/RenderArena.cpp
1949     rendering/RenderWidget.cpp
1950     rendering/break_lines.cpp
1951     rendering/RenderStyle.cpp
1952     rendering/RenderContainer.cpp
1953     rendering/EllipsisBox.cpp
1954     rendering/DeprecatedRenderSelect.cpp
1955     rendering/RenderFieldset.cpp
1956     rendering/RenderFrameSet.cpp
1957     rendering/RenderTable.cpp
1958     rendering/RenderPart.cpp
1959     rendering/RenderBlock.cpp
1960     rendering/DeprecatedSlider.cpp
1961     rendering/InlineBox.cpp
1962     rendering/RenderText.cpp
1963     rendering/RenderFrame.cpp
1964     rendering/RenderLineEdit.cpp
1965     rendering/FixedTableLayout.cpp
1966     rendering/RenderTableCol.cpp
1967     rendering/RenderObject.cpp
1968     rendering/RenderTreeAsText.cpp
1969     rendering/RootInlineBox.cpp
1970     rendering/RenderFormElement.cpp
1971     rendering/RenderBox.cpp
1972     rendering/RenderButton.cpp
1973     rendering/RenderTableSection.cpp
1974     rendering/ListMarkerBox.cpp
1975     rendering/RenderLabel.cpp
1976     rendering/RenderTableRow.cpp
1977     rendering/RenderInline.cpp
1978     rendering/RenderFileButton.cpp
1979     rendering/RenderHTMLCanvas.cpp
1980     rendering/bidi.cpp
1981     rendering/RenderFlexibleBox.cpp
1982     rendering/RenderApplet.cpp
1983     rendering/RenderLegend.cpp
1984         rendering/RenderTextControl.cpp
1985     rendering/RenderTextFragment.cpp
1986     rendering/RenderBR.cpp
1987     rendering/InlineTextBox.cpp
1988     rendering/RenderFlow.cpp
1989     platform/image-decoders/png/png.c
1990     platform/image-decoders/png/pngget.c
1991     platform/image-decoders/png/pngread.c
1992     platform/image-decoders/png/pngrutil.c
1993     platform/image-decoders/png/pngvcrd.c
1994     platform/image-decoders/png/pngwtran.c
1995     platform/image-decoders/png/pngerror.c
1996     platform/image-decoders/png/pngmem.c
1997     platform/image-decoders/png/pngrio.c
1998     platform/image-decoders/png/pngset.c
1999     platform/image-decoders/png/pngwio.c
2000     platform/image-decoders/png/pngwutil.c
2001     platform/image-decoders/png/pnggccrd.c
2002     platform/image-decoders/png/pngpread.c
2003     platform/image-decoders/png/pngrtran.c
2004     platform/image-decoders/png/pngtrans.c
2005     platform/image-decoders/png/pngwrite.c
2006     platform/image-decoders/jpeg/jcomapi.c
2007     platform/image-decoders/jpeg/jdapimin.c
2008     platform/image-decoders/jpeg/jdapistd.c
2009     platform/image-decoders/jpeg/jdatadst.c
2010     platform/image-decoders/jpeg/jdatasrc.c
2011     platform/image-decoders/jpeg/jdcoefct.c
2012     platform/image-decoders/jpeg/jdcolor.c
2013     platform/image-decoders/jpeg/jddctmgr.c
2014     platform/image-decoders/jpeg/jdhuff.c
2015     platform/image-decoders/jpeg/jdinput.c
2016     platform/image-decoders/jpeg/jdmainct.c
2017     platform/image-decoders/jpeg/jdmarker.c
2018     platform/image-decoders/jpeg/jdmaster.c
2019     platform/image-decoders/jpeg/jdmerge.c
2020     platform/image-decoders/jpeg/jdphuff.c
2021     platform/image-decoders/jpeg/jdpostct.c
2022     platform/image-decoders/jpeg/jdsample.c
2023     platform/image-decoders/jpeg/jerror.c
2024     platform/image-decoders/jpeg/jfdctflt.c
2025     platform/image-decoders/jpeg/jfdctfst.c
2026     platform/image-decoders/jpeg/jfdctint.c
2027     platform/image-decoders/jpeg/jidctflt.c
2028     platform/image-decoders/jpeg/jidctfst.c
2029     platform/image-decoders/jpeg/jidctint.c
2030     platform/image-decoders/jpeg/jmemmgr.c
2031     platform/image-decoders/jpeg/jmemnobs.c
2032     platform/image-decoders/jpeg/jquant1.c
2033     platform/image-decoders/jpeg/jquant2.c
2034     platform/image-decoders/jpeg/jutils.c
2035
2036     ${WebCore-unity-IDLGeneratedSources}
2037 )
2038
2039
2040 kde4_automoc(platform/qt/SharedTimerLinux.cpp)
2041
2042 kde4_add_library(WebCore-unity SHARED  ${WebCore_SRCS})
2043
2044 target_link_libraries(WebCore-unity
2045
2046   ${QT_QT3SUPPORT_LIBRARY}
2047   ${QT_QTCORE_LIBRARY}
2048   ${QT_QTSVG_LIBRARY}
2049   ${QT_QTGUI_LIBRARY}
2050   ${LIBXSLT_LIBRARIES}
2051   ${LIBXML2_LIBRARIES}
2052   icuuc
2053   curl
2054   wtf-unity
2055   kjs-unity
2056   pcre-unity
2057
2058 )
2059
2060 add_subdirectory( platform/qt/test )