Fix picker popup layout
[framework/web/webkit-efl.git] / Source / WebCore / PlatformEfl.cmake
1 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
2   "${WTF_DIR}/wtf/gobject"
3   "${WEBCORE_DIR}/accessibility/efl"
4   "${WEBCORE_DIR}/page/efl"
5   "${WEBCORE_DIR}/platform/efl"
6   "${WEBCORE_DIR}/platform/graphics/efl"
7   "${WEBCORE_DIR}/platform/graphics/surfaces"
8   "${WEBCORE_DIR}/platform/linux"
9   "${WEBCORE_DIR}/platform/mediastream/gstreamer"
10   "${WEBCORE_DIR}/platform/network/soup"
11   "${WEBCORE_DIR}/platform/text/efl"
12   "${WEBCORE_DIR}/plugins/efl"
13   "${WEBKIT_DIR}/efl/WebCoreSupport"
14   "${WEBKIT_DIR}/efl/ewk"
15 )
16
17 LIST(APPEND WebCore_SOURCES
18   accessibility/efl/AccessibilityObjectEfl.cpp
19
20   bindings/js/ScriptControllerEfl.cpp
21
22   page/efl/DragControllerEfl.cpp
23   page/efl/EventHandlerEfl.cpp
24
25   platform/Cursor.cpp
26
27   platform/audio/efl/AudioBusEfl.cpp
28   platform/audio/gstreamer/AudioDestinationGStreamer.cpp
29   platform/audio/gstreamer/AudioFileReaderGStreamer.cpp
30   platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
31
32   platform/efl/BatteryProviderEfl.cpp
33   platform/efl/ClipboardEfl.cpp
34   platform/efl/ColorChooserEfl.cpp
35   platform/efl/ContextMenuEfl.cpp
36   platform/efl/ContextMenuItemEfl.cpp
37   platform/efl/CursorEfl.cpp
38   platform/efl/DragDataEfl.cpp
39   platform/efl/DragImageEfl.cpp
40   platform/efl/EflKeyboardUtilities.cpp
41   platform/efl/EflScreenUtilities.cpp
42   platform/efl/ErrorsEfl.cpp
43   platform/efl/EventLoopEfl.cpp
44   platform/efl/FileSystemEfl.cpp
45   platform/efl/GamepadsEfl.cpp
46   platform/efl/LanguageEfl.cpp
47   platform/efl/LocalizedStringsEfl.cpp
48   platform/efl/LoggingEfl.cpp
49   platform/efl/MIMETypeRegistryEfl.cpp
50   platform/efl/NetworkInfoProviderEfl.cpp
51   platform/efl/PasteboardEfl.cpp
52   platform/efl/PlatformKeyboardEventEfl.cpp
53   platform/efl/PlatformMouseEventEfl.cpp
54   platform/efl/PlatformScreenEfl.cpp
55   platform/efl/PlatformWheelEventEfl.cpp
56   platform/efl/RefPtrEfl.cpp
57   platform/efl/RenderThemeEfl.cpp
58   platform/efl/RunLoopEfl.cpp
59   platform/efl/ScrollViewEfl.cpp
60   platform/efl/ScrollbarEfl.cpp
61   platform/efl/ScrollbarThemeEfl.cpp
62   platform/efl/SharedBufferEfl.cpp
63   platform/efl/SharedTimerEfl.cpp
64   platform/efl/SoundEfl.cpp
65   platform/efl/SystemTimeEfl.cpp
66   platform/efl/TemporaryLinkStubs.cpp
67   platform/efl/WidgetEfl.cpp
68
69   platform/graphics/ImageSource.cpp
70   platform/graphics/efl/CairoUtilitiesEfl.cpp
71   platform/graphics/efl/IconEfl.cpp
72   platform/graphics/efl/ImageEfl.cpp
73   platform/graphics/efl/IntPointEfl.cpp
74   platform/graphics/efl/IntRectEfl.cpp
75
76   platform/image-decoders/ImageDecoder.cpp
77   platform/image-decoders/AsyncImageDecoder.cpp
78   platform/image-decoders/bmp/BMPImageDecoder.cpp
79   platform/image-decoders/bmp/BMPImageReader.cpp
80   platform/image-decoders/gif/GIFImageDecoder.cpp
81   platform/image-decoders/gif/GIFImageReader.cpp
82   platform/image-decoders/ico/ICOImageDecoder.cpp
83   platform/image-decoders/jpeg/JPEGImageDecoder.cpp
84   platform/image-decoders/png/PNGImageDecoder.cpp
85   platform/image-decoders/webp/WEBPImageDecoder.cpp
86
87   platform/linux/GamepadDeviceLinux.cpp
88
89   platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp
90
91   platform/network/soup/CookieJarSoup.cpp
92   platform/network/soup/CookieStorageSoup.cpp
93   platform/network/soup/CredentialStorageSoup.cpp
94   platform/network/soup/DNSSoup.cpp
95   platform/network/soup/GOwnPtrSoup.cpp
96   platform/network/soup/ProxyResolverSoup.cpp
97   platform/network/soup/ProxyServerSoup.cpp
98   platform/network/soup/ResourceHandleSoup.cpp
99   platform/network/soup/ResourceRequestSoup.cpp
100   platform/network/soup/ResourceResponseSoup.cpp
101   platform/network/soup/SocketStreamHandleSoup.cpp
102   platform/network/soup/SoupURIUtils.cpp
103
104   platform/PlatformStrategies.cpp
105
106   platform/posix/FileSystemPOSIX.cpp
107
108   platform/text/efl/TextBreakIteratorInternalICUEfl.cpp
109   platform/text/enchant/TextCheckerEnchant.cpp
110 )
111
112 IF (ENABLE_NETSCAPE_PLUGIN_API)
113   LIST(APPEND WebCore_SOURCES
114     plugins/PluginDatabase.cpp
115     plugins/PluginDebug.cpp
116     plugins/PluginPackage.cpp
117     plugins/PluginStream.cpp
118     plugins/PluginView.cpp
119
120     plugins/efl/PluginPackageEfl.cpp
121     plugins/efl/PluginViewEfl.cpp
122   )
123 ELSE ()
124   LIST(APPEND WebCore_SOURCES
125     plugins/PluginPackageNone.cpp
126     plugins/PluginViewNone.cpp
127   )
128 ENDIF ()
129
130 LIST(APPEND WebCore_USER_AGENT_STYLE_SHEETS
131     ${WEBCORE_DIR}/css/mediaControlsEfl.css
132     ${WEBCORE_DIR}/css/mediaControlsEflFullscreen.css
133 )
134
135 IF (WTF_USE_CAIRO)
136   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
137     "${WEBCORE_DIR}/platform/cairo"
138     "${WEBCORE_DIR}/platform/graphics/cairo"
139     "${WEBCORE_DIR}/platform/graphics/surfaces"
140
141   )
142   LIST(APPEND WebCore_SOURCES
143     platform/cairo/WidgetBackingStoreCairo.cpp
144     platform/graphics/cairo/BitmapImageCairo.cpp
145     platform/graphics/cairo/CairoUtilities.cpp
146     platform/graphics/cairo/FontCairo.cpp
147     platform/graphics/cairo/GradientCairo.cpp
148     platform/graphics/cairo/GraphicsContextCairo.cpp
149     platform/graphics/cairo/ImageBufferCairo.cpp
150     platform/graphics/cairo/ImageCairo.cpp
151     platform/graphics/cairo/IntRectCairo.cpp
152     platform/graphics/cairo/NativeImageCairo.cpp
153     platform/graphics/cairo/OwnPtrCairo.cpp
154     platform/graphics/cairo/PathCairo.cpp
155     platform/graphics/cairo/PatternCairo.cpp
156     platform/graphics/cairo/PlatformContextCairo.cpp
157     platform/graphics/cairo/PlatformPathCairo.cpp
158     platform/graphics/cairo/RefPtrCairo.cpp
159     platform/graphics/cairo/TileCairo.cpp
160     platform/graphics/cairo/TiledBackingStoreBackendCairo.cpp
161     platform/graphics/cairo/TransformationMatrixCairo.cpp
162
163     platform/image-decoders/cairo/ImageDecoderCairo.cpp
164   )
165
166   IF (WTF_USE_FREETYPE)
167     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
168       "${WEBCORE_DIR}/platform/graphics/freetype"
169       "${WEBCORE_DIR}/platform/graphics/harfbuzz/"
170       "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
171       ${HARFBUZZ_INCLUDE_DIRS}
172     )
173     LIST(APPEND WebCore_SOURCES
174       platform/graphics/WOFFFileFormat.cpp
175       platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
176       platform/graphics/freetype/FontCacheFreeType.cpp
177       platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
178       platform/graphics/freetype/FontPlatformDataFreeType.cpp
179       platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp
180       platform/graphics/freetype/SimpleFontDataFreeType.cpp
181       platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp
182       platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp
183       platform/graphics/harfbuzz/ng/HarfBuzzNGFaceCairo.cpp
184       platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp
185     )
186     LIST(APPEND WebCore_LIBRARIES
187       ${HARFBUZZ_LIBRARIES}
188     )
189   ENDIF ()
190
191   IF (WTF_USE_PANGO)
192     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
193       "${WEBCORE_DIR}/platform/graphics/pango"
194       ${Pango_INCLUDE_DIRS}
195     )
196     LIST(APPEND WebCore_SOURCES
197       platform/graphics/pango/FontPango.cpp
198       platform/graphics/pango/FontCachePango.cpp
199       platform/graphics/pango/FontCustomPlatformDataPango.cpp
200       platform/graphics/pango/FontPlatformDataPango.cpp
201       platform/graphics/pango/GlyphPageTreeNodePango.cpp
202       platform/graphics/pango/SimpleFontDataPango.cpp
203       platform/graphics/pango/PangoUtilities.cpp
204     )
205     LIST(APPEND WebCore_LIBRARIES
206       ${Pango_LIBRARY}
207       ${Pango_Cairo_LIBRARY}
208     )
209   ENDIF ()
210 ENDIF ()
211
212 IF (WTF_USE_SKIA)
213   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
214     ${Skia_INCLUDE_DIRS}
215     ${Harfbuzz_INCLUDE_DIRS}
216     "${WEBCORE_DIR}/platform/graphics/skia"
217     "${WEBCORE_DIR}/platform/image-encoders/skia"
218     "${WEBCORE_DIR}/platform/chromium"
219     "${WEBCORE_DIR}/platform/graphics/chromium"
220     "${WEBCORE_DIR}/platform/graphics/gpu"
221     "${WEBCORE_DIR}/platform/graphics/opentype"
222   )
223   LIST(APPEND WebCore_SOURCES
224     platform/graphics/GraphicsContext3D.cpp
225     platform/graphics/chromium/HarfbuzzSkia.cpp
226     platform/graphics/chromium/FontLinux.cpp
227     platform/graphics/chromium/FontCacheLinux.cpp
228     platform/graphics/chromium/SimpleFontDataLinux.cpp
229     platform/graphics/chromium/FontPlatformDataLinux.cpp
230     platform/graphics/chromium/ImageChromium.cpp
231     platform/graphics/chromium/VDMXParser.cpp
232     platform/graphics/chromium/VDMXParser.h
233     platform/graphics/gpu/DrawingBuffer.cpp
234     platform/graphics/gpu/Texture.cpp
235     platform/graphics/gpu/TilingData.cpp
236     platform/graphics/skia/base/message_pump_glib.cc
237     platform/graphics/skia/base/message_pump_libevent.cc
238     platform/graphics/skia/base/message_pump.cc
239     platform/graphics/skia/base/message_pump_default.cc
240     platform/graphics/skia/base/task.cc
241     platform/graphics/skia/base/lazy_instance.cc
242     platform/graphics/skia/base/thread_local_posix.cc
243     platform/graphics/skia/base/non_thread_safe.cc
244     platform/graphics/skia/base/thread_checker.cc
245     platform/graphics/skia/base/tracked.cc
246     platform/graphics/skia/base/weak_ptr.cc
247     platform/graphics/skia/base/tracked_objects.cc
248     platform/graphics/skia/base/thread_local_storage_posix.cc
249     platform/graphics/skia/base/condition_variable_posix.cc
250     platform/graphics/skia/base/message_loop.cc
251     platform/graphics/skia/base/waitable_event_posix.cc
252     platform/graphics/skia/base/file_util_posix.cc
253     platform/graphics/skia/base/debug_util_posix.cc
254     platform/graphics/skia/base/process_util_posix.cc
255     platform/graphics/skia/base/time_posix.cc
256     platform/graphics/skia/base/sys_info_posix.cc
257     platform/graphics/skia/base/at_exit.cc
258     platform/graphics/skia/base/base_switches.cc
259     platform/graphics/skia/base/command_line.cc
260     platform/graphics/skia/base/debug_util.cc
261     platform/graphics/skia/base/file_descriptor_shuffle.cc
262     platform/graphics/skia/base/file_path.cc
263     platform/graphics/skia/base/file_util.cc
264     platform/graphics/skia/base/file_util_linux.cc
265     platform/graphics/skia/base/histogram.cc
266     platform/graphics/skia/base/lock.cc
267     platform/graphics/skia/base/lock_impl_posix.cc
268     platform/graphics/skia/base/logging.cc
269     platform/graphics/skia/base/pickle.cc
270     platform/graphics/skia/base/platform_file_posix.cc
271     platform/graphics/skia/base/platform_thread_posix.cc
272     platform/graphics/skia/base/process_linux.cc
273     platform/graphics/skia/base/process_posix.cc
274     platform/graphics/skia/base/process_util.cc
275     platform/graphics/skia/base/process_util_linux.cc
276     platform/graphics/skia/base/ref_counted.cc
277     platform/graphics/skia/base/safe_strerror_posix.cc
278     platform/graphics/skia/base/setproctitle_linux.c
279     platform/graphics/skia/base/string16.cc
280     platform/graphics/skia/base/string_number_conversions.cc
281     platform/graphics/skia/base/string_piece.cc
282     platform/graphics/skia/base/string_split.cc
283     platform/graphics/skia/base/string_util.cc
284     platform/graphics/skia/base/stringprintf.cc
285     platform/graphics/skia/base/sys_info_linux.cc
286     platform/graphics/skia/base/sys_string_conversions_linux.cc
287     platform/graphics/skia/base/thread_collision_warner.cc
288     platform/graphics/skia/base/time.cc
289     platform/graphics/skia/base/unix_domain_socket_posix.cc
290     platform/graphics/skia/base/utf_string_conversion_utils.cc
291     platform/graphics/skia/base/utf_string_conversions.cc
292     platform/graphics/skia/base/vlog.cc
293     platform/graphics/skia/base/third_party/dmg_fp/dtoa.cc
294     platform/graphics/skia/base/third_party/dmg_fp/g_fmt.cc
295     platform/graphics/skia/base/third_party/dynamic_annotations/dynamic_annotations.c
296     platform/graphics/skia/base/third_party/icu/icu_utf.cc
297     platform/graphics/skia/base/third_party/nspr/prtime.cc
298     platform/graphics/skia/ext/SkFontHost_fontconfig.cpp
299     platform/graphics/skia/ext/SkFontHost_fontconfig_direct.cpp
300     platform/graphics/skia/ext/SkMemory_new_handler.cpp
301     platform/graphics/skia/ext/SkThread_chrome.cc
302     platform/graphics/skia/ext/SkTypeface_fake.cpp
303     platform/graphics/skia/ext/bitmap_platform_device.cc
304     platform/graphics/skia/ext/bitmap_platform_device_linux.cc
305     platform/graphics/skia/ext/convolver.cc
306     platform/graphics/skia/ext/google_logging.cc
307     platform/graphics/skia/ext/image_operations.cc
308     platform/graphics/skia/ext/platform_canvas.cc
309     platform/graphics/skia/ext/platform_canvas_linux.cc
310     platform/graphics/skia/ext/platform_device_linux.cc
311     platform/graphics/skia/ext/vector_canvas.cc
312     platform/graphics/skia/ext/vector_canvas_linux.cc
313     platform/graphics/skia/ext/vector_platform_device_linux.cc
314     platform/graphics/skia/FontCustomPlatformData.cpp
315     platform/graphics/skia/FloatPointSkia.cpp
316     platform/graphics/skia/FloatRectSkia.cpp
317     platform/graphics/skia/GradientSkia.cpp
318     platform/graphics/skia/GraphicsContext3DSkia.cpp
319     platform/graphics/skia/GraphicsContextSkia.cpp
320     platform/graphics/skia/GlyphPageTreeNodeSkia.cpp
321     platform/graphics/skia/ImageBufferSkia.cpp
322     platform/graphics/skia/ImageSkia.cpp
323     platform/graphics/skia/IntPointSkia.cpp
324     platform/graphics/skia/IntRectSkia.cpp
325     platform/graphics/skia/NativeImageSkia.cpp
326     platform/graphics/skia/PathSkia.cpp
327     platform/graphics/skia/PatternSkia.cpp
328     platform/graphics/skia/PlatformContextSkia.cpp
329     platform/graphics/skia/SkiaUtils.cpp
330     platform/graphics/skia/TransformationMatrixSkia.cpp
331     platform/graphics/chromium/ComplexTextControllerLinux.cpp
332     platform/image-encoders/skia/JPEGImageEncoder.cpp
333     platform/image-encoders/skia/PNGImageEncoder.cpp
334     platform/image-decoders/skia/ImageDecoderSkia.cpp
335   )
336     LIST(APPEND WebCore_LIBRARIES
337       ${Skia_LIBRARIES}
338       ${Harfbuzz_LIBRARIES}
339     )
340   IF (WTF_USE_FREETYPE)
341     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
342       "${WEBCORE_DIR}/platform/graphics/freetype"
343     )
344     LIST(APPEND WebCore_SOURCES
345       platform/graphics/WOFFFileFormat.cpp
346     )
347   ENDIF ()
348   IF (WTF_USE_PANGO)
349     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
350       "${WEBCORE_DIR}/platform/graphics/pango"
351       ${Pango_INCLUDE_DIRS}
352     )
353     LIST(APPEND WebCore_SOURCES
354       platform/graphics/pango/FontPango.cpp
355       platform/graphics/pango/FontCachePango.cpp
356       platform/graphics/pango/FontCustomPlatformDataPango.cpp
357       platform/graphics/pango/FontPlatformDataPango.cpp
358       platform/graphics/pango/GlyphPageTreeNodePango.cpp
359       platform/graphics/pango/SimpleFontDataPango.cpp
360       platform/graphics/pango/PangoUtilities.cpp
361     )
362     LIST(APPEND WebCore_LIBRARIES
363       ${Pango_LIBRARY}
364       ${Pango_Cairo_LIBRARY}
365     )
366   ENDIF ()
367 ENDIF ()
368
369 IF (WTF_USE_ICU_UNICODE)
370   LIST(APPEND WebCore_SOURCES
371     editing/SmartReplaceICU.cpp
372     platform/text/TextEncodingDetectorICU.cpp
373     platform/text/TextBreakIteratorICU.cpp
374     platform/text/TextCodecICU.cpp
375   )
376 ENDIF ()
377
378 LIST(APPEND WebCore_LIBRARIES
379   ${CAIRO_LIBRARIES}
380   ${ECORE_LIBRARIES}
381   ${ECORE_EVAS_LIBRARIES}
382   ${ECORE_FILE_LIBRARIES}
383   ${ECORE_X_LIBRARIES}
384   ${E_DBUS_LIBRARIES}
385   ${E_DBUS_EUKIT_LIBRARIES}
386   ${EDJE_LIBRARIES}
387   ${EINA_LIBRARIES}
388   ${EVAS_LIBRARIES}
389   ${FONTCONFIG_LIBRARIES}
390   ${FREETYPE_LIBRARIES}
391   ${ICU_LIBRARIES}
392   ${JPEG_LIBRARY}
393   ${LIBXML2_LIBRARIES}
394   ${LIBXSLT_LIBRARIES}
395   ${PNG_LIBRARY}
396   ${SQLITE_LIBRARIES}
397   ${GLIB_LIBRARIES}
398   ${GLIB_GIO_LIBRARIES}
399   ${GLIB_GOBJECT_LIBRARIES}
400   ${LIBSOUP_LIBRARIES}
401   ${ZLIB_LIBRARIES}
402 )
403
404 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
405   ${CAIRO_INCLUDE_DIRS}
406   ${ECORE_INCLUDE_DIRS}
407   ${ECORE_EVAS_INCLUDE_DIRS}
408   ${ECORE_FILE_INCLUDE_DIRS}
409   ${ECORE_X_INCLUDE_DIRS}
410   ${E_DBUS_INCLUDE_DIRS}
411   ${E_DBUS_EUKIT_INCLUDE_DIRS}
412   ${EDJE_INCLUDE_DIRS}
413   ${EINA_INCLUDE_DIRS}
414   ${EVAS_INCLUDE_DIRS}
415   ${FREETYPE_INCLUDE_DIRS}
416   ${ICU_INCLUDE_DIRS}
417   ${LIBXML2_INCLUDE_DIR}
418   ${LIBXSLT_INCLUDE_DIR}
419   ${SQLITE_INCLUDE_DIR}
420   ${GLIB_INCLUDE_DIRS}
421   ${LIBSOUP_INCLUDE_DIRS}
422   ${ZLIB_INCLUDE_DIRS}
423 )
424
425 IF (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
426   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
427     "${WEBCORE_DIR}/platform/graphics/gstreamer"
428
429     ${GSTREAMER_INCLUDE_DIRS}
430     ${GSTREAMER_BASE_INCLUDE_DIRS}
431     ${GSTREAMER_APP_INCLUDE_DIRS}
432     ${GSTREAMER_INTERFACES_INCLUDE_DIRS}
433     ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
434   )
435   LIST(APPEND WebCore_SOURCES
436     platform/graphics/gstreamer/GRefPtrGStreamer.cpp
437     platform/graphics/gstreamer/GStreamerUtilities.cpp
438     platform/graphics/gstreamer/GStreamerVersioning.cpp
439   )
440   LIST(APPEND WebCore_LIBRARIES
441     ${GSTREAMER_LIBRARIES}
442     ${GSTREAMER_BASE_LIBRARIES}
443     ${GSTREAMER_APP_LIBRARIES}
444     ${GSTREAMER_INTERFACES_LIBRARIES}
445     ${GSTREAMER_PBUTILS_LIBRARIES}
446   )
447 ENDIF ()
448
449 IF (ENABLE_VIDEO)
450   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
451     ${GSTREAMER_VIDEO_INCLUDE_DIRS}
452   )
453   LIST(APPEND WebCore_SOURCES
454     platform/graphics/gstreamer/GStreamerGWorld.cpp
455     platform/graphics/gstreamer/ImageGStreamerCairo.cpp
456     platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
457     platform/graphics/gstreamer/PlatformVideoWindowEfl.cpp
458     platform/graphics/gstreamer/URIUtils.cpp
459     platform/graphics/gstreamer/VideoSinkGStreamer.cpp
460     platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
461   )
462   LIST(APPEND WebCore_LIBRARIES
463     ${GSTREAMER_VIDEO_LIBRARIES}
464   )
465 ENDIF ()
466
467 IF (WTF_USE_3D_GRAPHICS)
468   SET(WTF_USE_OPENGL 1)
469   ADD_DEFINITIONS(-DWTF_USE_OPENGL=1)
470
471   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
472     "${WEBCORE_DIR}/platform/graphics/cairo"
473     "${WEBCORE_DIR}/platform/graphics/opengl"
474     "${WEBCORE_DIR}/platform/graphics/texmap"
475   )
476   LIST(APPEND WebCore_LIBRARIES
477     ${OPENGL_gl_LIBRARY}
478   )
479   LIST(APPEND WebCore_SOURCES
480     platform/graphics/OpenGLShims.cpp
481     platform/graphics/cairo/DrawingBufferCairo.cpp
482     platform/graphics/cairo/GLContext.cpp
483     platform/graphics/cairo/GraphicsContext3DCairo.cpp
484     platform/graphics/cairo/GraphicsContext3DPrivate.cpp
485     platform/graphics/opengl/Extensions3DOpenGL.cpp
486     platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
487     platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
488     platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
489     platform/graphics/texmap/TextureMapperGL.cpp
490     platform/graphics/texmap/TextureMapperShaderManager.cpp
491   )
492 ENDIF ()
493
494 #ADD_DEFINITIONS(-DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1
495 ADD_DEFINITIONS(-DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=0
496                 -DDATA_DIR="${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}")
497
498 IF (ENABLE_GAMEPAD)
499   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
500     ${EEZE_INCLUDE_DIRS}
501   )
502   LIST(APPEND WebCore_LIBRARIES
503     ${EEZE_LIBRARIES}
504   )
505 ENDIF ()
506
507 IF (ENABLE_TIZEN_SUPPORT)
508     INCLUDE_IF_EXISTS(${WEBCORE_DIR}/PlatformTizen.cmake)
509 ENDIF ()