Generated should not be supported for things with a shadow
[WebKit-https.git] / Source / WebCore / PlatformEfl.cmake
index ccad732..387c37c 100644 (file)
@@ -1,29 +1,23 @@
-LIST(APPEND WebCore_LINK_FLAGS
-    ${ECORE_X_LDFLAGS}
-    ${EFLDEPS_LDFLAGS}
-)
-
 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
-  "${JAVASCRIPTCORE_DIR}/wtf/gobject"
   "${WEBCORE_DIR}/accessibility/efl"
   "${WEBCORE_DIR}/page/efl"
   "${WEBCORE_DIR}/platform/efl"
   "${WEBCORE_DIR}/platform/graphics/efl"
+  "${WEBCORE_DIR}/platform/linux"
+  "${WEBCORE_DIR}/platform/mediastream/gstreamer"
   "${WEBCORE_DIR}/platform/network/soup"
   "${WEBCORE_DIR}/platform/text/efl"
   "${WEBCORE_DIR}/plugins/efl"
-  "${WEBKIT_DIR}/efl/WebCoreSupport"
-  "${WEBKIT_DIR}/efl/ewk"
 )
 
 LIST(APPEND WebCore_SOURCES
   accessibility/efl/AccessibilityObjectEfl.cpp
-  bindings/js/ScriptControllerEfl.cpp
   page/efl/DragControllerEfl.cpp
   page/efl/EventHandlerEfl.cpp
   platform/Cursor.cpp
+  platform/efl/AsyncFileSystemEfl.cpp
+  platform/efl/BatteryProviderEfl.cpp
   platform/efl/ClipboardEfl.cpp
-  platform/efl/ColorChooserEfl.cpp
   platform/efl/ContextMenuEfl.cpp
   platform/efl/ContextMenuItemEfl.cpp
   platform/efl/CursorEfl.cpp
@@ -31,28 +25,26 @@ LIST(APPEND WebCore_SOURCES
   platform/efl/DragImageEfl.cpp
   platform/efl/EflKeyboardUtilities.cpp
   platform/efl/EflScreenUtilities.cpp
+  platform/efl/ErrorsEfl.cpp
   platform/efl/EventLoopEfl.cpp
   platform/efl/FileSystemEfl.cpp
+  platform/efl/GamepadsEfl.cpp
   platform/efl/KURLEfl.cpp
   platform/efl/LanguageEfl.cpp
   platform/efl/LocalizedStringsEfl.cpp
   platform/efl/LoggingEfl.cpp
   platform/efl/MIMETypeRegistryEfl.cpp
+  platform/efl/NetworkInfoProviderEfl.cpp
   platform/efl/PasteboardEfl.cpp
   platform/efl/PlatformKeyboardEventEfl.cpp
   platform/efl/PlatformMouseEventEfl.cpp
   platform/efl/PlatformScreenEfl.cpp
-  platform/efl/PlatformTouchEventEfl.cpp
-  platform/efl/PlatformTouchPointEfl.cpp
   platform/efl/PlatformWheelEventEfl.cpp
-  platform/efl/PopupMenuEfl.cpp
-  platform/efl/RefPtrEfl.cpp
   platform/efl/RenderThemeEfl.cpp
   platform/efl/RunLoopEfl.cpp
   platform/efl/ScrollViewEfl.cpp
   platform/efl/ScrollbarEfl.cpp
   platform/efl/ScrollbarThemeEfl.cpp
-  platform/efl/SearchPopupMenuEfl.cpp
   platform/efl/SharedBufferEfl.cpp
   platform/efl/SharedTimerEfl.cpp
   platform/efl/SoundEfl.cpp
@@ -60,7 +52,7 @@ LIST(APPEND WebCore_SOURCES
   platform/efl/TemporaryLinkStubs.cpp
   platform/efl/WidgetEfl.cpp
   platform/graphics/ImageSource.cpp
-  platform/graphics/efl/GraphicsLayerEfl.cpp
+  platform/graphics/efl/CairoUtilitiesEfl.cpp
   platform/graphics/efl/IconEfl.cpp
   platform/graphics/efl/ImageEfl.cpp
   platform/graphics/efl/IntPointEfl.cpp
@@ -74,20 +66,33 @@ LIST(APPEND WebCore_SOURCES
   platform/image-decoders/jpeg/JPEGImageDecoder.cpp
   platform/image-decoders/png/PNGImageDecoder.cpp
   platform/image-decoders/webp/WEBPImageDecoder.cpp
+  platform/linux/GamepadDeviceLinux.cpp
+  platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp
+  platform/network/efl/NetworkStateNotifierEfl.cpp
   platform/network/soup/CookieJarSoup.cpp
+  platform/network/soup/CookieStorageSoup.cpp
   platform/network/soup/CredentialStorageSoup.cpp
   platform/network/soup/DNSSoup.cpp
   platform/network/soup/GOwnPtrSoup.cpp
+  platform/network/soup/ProxyResolverSoup.cpp
   platform/network/soup/ProxyServerSoup.cpp
+  platform/network/soup/ResourceErrorSoup.cpp
   platform/network/soup/ResourceHandleSoup.cpp
   platform/network/soup/ResourceRequestSoup.cpp
   platform/network/soup/ResourceResponseSoup.cpp
   platform/network/soup/SocketStreamHandleSoup.cpp
   platform/network/soup/SoupURIUtils.cpp
+  platform/PlatformStrategies.cpp
   platform/posix/FileSystemPOSIX.cpp
   platform/text/efl/TextBreakIteratorInternalICUEfl.cpp
+  platform/text/enchant/TextCheckerEnchant.cpp
 )
 
+IF (ENABLE_BATTERY_STATUS)
+    LIST(APPEND WebCore_INCLUDE_DIRECTORIES ${DBUS_INCLUDE_DIRS})
+    LIST(APPEND WebCore_LIBRARIES ${DBUS_LIBRARIES})
+ENDIF ()
+
 IF (ENABLE_NETSCAPE_PLUGIN_API)
   LIST(APPEND WebCore_SOURCES
     plugins/PluginDatabase.cpp
@@ -96,13 +101,11 @@ IF (ENABLE_NETSCAPE_PLUGIN_API)
     plugins/PluginStream.cpp
     plugins/PluginView.cpp
 
-    plugins/efl/PluginDataEfl.cpp
     plugins/efl/PluginPackageEfl.cpp
     plugins/efl/PluginViewEfl.cpp
   )
 ELSE ()
   LIST(APPEND WebCore_SOURCES
-    plugins/PluginDataNone.cpp
     plugins/PluginPackageNone.cpp
     plugins/PluginViewNone.cpp
   )
@@ -110,6 +113,7 @@ ENDIF ()
 
 LIST(APPEND WebCore_USER_AGENT_STYLE_SHEETS
     ${WEBCORE_DIR}/css/mediaControlsEfl.css
+    ${WEBCORE_DIR}/css/mediaControlsEflFullscreen.css
 )
 
 IF (WTF_USE_CAIRO)
@@ -126,6 +130,7 @@ IF (WTF_USE_CAIRO)
     platform/graphics/cairo/GraphicsContextCairo.cpp
     platform/graphics/cairo/ImageBufferCairo.cpp
     platform/graphics/cairo/ImageCairo.cpp
+    platform/graphics/cairo/IntRectCairo.cpp
     platform/graphics/cairo/NativeImageCairo.cpp
     platform/graphics/cairo/OwnPtrCairo.cpp
     platform/graphics/cairo/PathCairo.cpp
@@ -133,6 +138,8 @@ IF (WTF_USE_CAIRO)
     platform/graphics/cairo/PlatformContextCairo.cpp
     platform/graphics/cairo/PlatformPathCairo.cpp
     platform/graphics/cairo/RefPtrCairo.cpp
+    platform/graphics/cairo/TileCairo.cpp
+    platform/graphics/cairo/TiledBackingStoreBackendCairo.cpp
     platform/graphics/cairo/TransformationMatrixCairo.cpp
 
     platform/image-decoders/cairo/ImageDecoderCairo.cpp
@@ -141,35 +148,25 @@ IF (WTF_USE_CAIRO)
   IF (WTF_USE_FREETYPE)
     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
       "${WEBCORE_DIR}/platform/graphics/freetype"
+      "${WEBCORE_DIR}/platform/graphics/harfbuzz/"
+      "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
+      ${HARFBUZZ_INCLUDE_DIRS}
     )
     LIST(APPEND WebCore_SOURCES
       platform/graphics/WOFFFileFormat.cpp
-      platform/graphics/efl/FontEfl.cpp
+      platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
       platform/graphics/freetype/FontCacheFreeType.cpp
       platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
       platform/graphics/freetype/FontPlatformDataFreeType.cpp
       platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp
       platform/graphics/freetype/SimpleFontDataFreeType.cpp
-    )
-  ENDIF ()
-
-  IF (WTF_USE_PANGO)
-    LIST(APPEND WebCore_INCLUDE_DIRECTORIES
-      "${WEBCORE_DIR}/platform/graphics/pango"
-      ${Pango_INCLUDE_DIRS}
-    )
-    LIST(APPEND WebCore_SOURCES
-      platform/graphics/pango/FontPango.cpp
-      platform/graphics/pango/FontCachePango.cpp
-      platform/graphics/pango/FontCustomPlatformDataPango.cpp
-      platform/graphics/pango/FontPlatformDataPango.cpp
-      platform/graphics/pango/GlyphPageTreeNodePango.cpp
-      platform/graphics/pango/SimpleFontDataPango.cpp
-      platform/graphics/pango/PangoUtilities.cpp
+      platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp
+      platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp
+      platform/graphics/harfbuzz/ng/HarfBuzzNGFaceCairo.cpp
+      platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp
     )
     LIST(APPEND WebCore_LIBRARIES
-      ${Pango_LIBRARY}
-      ${Pango_Cairo_LIBRARY}
+      ${HARFBUZZ_LIBRARIES}
     )
   ENDIF ()
 ENDIF ()
@@ -183,11 +180,25 @@ IF (WTF_USE_ICU_UNICODE)
   )
 ENDIF ()
 
+IF (WTF_USE_TEXTURE_MAPPER)
+  LIST(APPEND WebCore_SOURCES
+    platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
+  )
+ENDIF ()
+
 LIST(APPEND WebCore_LIBRARIES
-  ${Cairo_LIBRARIES}
+  ${CAIRO_LIBRARIES}
+  ${ECORE_LIBRARIES}
+  ${ECORE_EVAS_LIBRARIES}
+  ${ECORE_FILE_LIBRARIES}
   ${ECORE_X_LIBRARIES}
-  ${EFLDEPS_LIBRARIES}
+  ${E_DBUS_LIBRARIES}
+  ${E_DBUS_EUKIT_LIBRARIES}
+  ${EDJE_LIBRARIES}
+  ${EEZE_LIBRARIES}
+  ${EINA_LIBRARIES}
   ${EVAS_LIBRARIES}
+  ${FONTCONFIG_LIBRARIES}
   ${FREETYPE_LIBRARIES}
   ${ICU_LIBRARIES}
   ${JPEG_LIBRARY}
@@ -195,23 +206,32 @@ LIST(APPEND WebCore_LIBRARIES
   ${LIBXSLT_LIBRARIES}
   ${PNG_LIBRARY}
   ${SQLITE_LIBRARIES}
-  ${Glib_LIBRARIES}
-  ${LIBSOUP24_LIBRARIES}
+  ${GLIB_LIBRARIES}
+  ${GLIB_GIO_LIBRARIES}
+  ${GLIB_GOBJECT_LIBRARIES}
+  ${LIBSOUP_LIBRARIES}
   ${ZLIB_LIBRARIES}
 )
 
 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
-  ${Cairo_INCLUDE_DIRS}
+  ${CAIRO_INCLUDE_DIRS}
+  ${ECORE_INCLUDE_DIRS}
+  ${ECORE_EVAS_INCLUDE_DIRS}
+  ${ECORE_FILE_INCLUDE_DIRS}
   ${ECORE_X_INCLUDE_DIRS}
-  ${EFLDEPS_INCLUDE_DIRS}
+  ${E_DBUS_INCLUDE_DIRS}
+  ${E_DBUS_EUKIT_INCLUDE_DIRS}
+  ${EDJE_INCLUDE_DIRS}
+  ${EEZE_INCLUDE_DIRS}
+  ${EINA_INCLUDE_DIRS}
   ${EVAS_INCLUDE_DIRS}
   ${FREETYPE_INCLUDE_DIRS}
   ${ICU_INCLUDE_DIRS}
   ${LIBXML2_INCLUDE_DIR}
   ${LIBXSLT_INCLUDE_DIR}
   ${SQLITE_INCLUDE_DIR}
-  ${Glib_INCLUDE_DIRS}
-  ${LIBSOUP24_INCLUDE_DIRS}
+  ${GLIB_INCLUDE_DIRS}
+  ${LIBSOUP_INCLUDE_DIRS}
   ${ZLIB_INCLUDE_DIRS}
 )
 
@@ -219,9 +239,11 @@ IF (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
     "${WEBCORE_DIR}/platform/graphics/gstreamer"
 
-    ${GStreamer-App_INCLUDE_DIRS}
-    ${GStreamer-Interfaces_INCLUDE_DIRS}
-    ${GStreamer-Pbutils_INCLUDE_DIRS}
+    ${GSTREAMER_INCLUDE_DIRS}
+    ${GSTREAMER_BASE_INCLUDE_DIRS}
+    ${GSTREAMER_APP_INCLUDE_DIRS}
+    ${GSTREAMER_INTERFACES_INCLUDE_DIRS}
+    ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
   )
   LIST(APPEND WebCore_SOURCES
     platform/graphics/gstreamer/GRefPtrGStreamer.cpp
@@ -229,15 +251,17 @@ IF (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
     platform/graphics/gstreamer/GStreamerVersioning.cpp
   )
   LIST(APPEND WebCore_LIBRARIES
-    ${GStreamer-App_LIBRARIES}
-    ${GStreamer-Interfaces_LIBRARIES}
-    ${GStreamer-Pbutils_LIBRARIES}
+    ${GSTREAMER_LIBRARIES}
+    ${GSTREAMER_BASE_LIBRARIES}
+    ${GSTREAMER_APP_LIBRARIES}
+    ${GSTREAMER_INTERFACES_LIBRARIES}
+    ${GSTREAMER_PBUTILS_LIBRARIES}
   )
 ENDIF ()
 
 IF (ENABLE_VIDEO)
   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
-    ${GStreamer-Video_INCLUDE_DIRS}
+    ${GSTREAMER_VIDEO_INCLUDE_DIRS}
   )
   LIST(APPEND WebCore_SOURCES
     platform/graphics/gstreamer/GStreamerGWorld.cpp
@@ -248,40 +272,44 @@ IF (ENABLE_VIDEO)
     platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
   )
   LIST(APPEND WebCore_LIBRARIES
-    ${GStreamer-Video_LIBRARIES}
+    ${GSTREAMER_VIDEO_LIBRARIES}
   )
 ENDIF ()
 
-IF (ENABLE_WEBGL)
+IF (WTF_USE_3D_GRAPHICS)
+  SET(WTF_USE_OPENGL 1)
+  ADD_DEFINITIONS(-DWTF_USE_OPENGL=1)
+
   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
-    ${OPENGL_INCLUDE_DIR}
     "${WEBCORE_DIR}/platform/graphics/cairo"
-    "${WEBCORE_DIR}/platform/graphics/glx"
     "${WEBCORE_DIR}/platform/graphics/opengl"
-  )
-  LIST(APPEND WebCore_LIBRARIES
-    ${OPENGL_gl_LIBRARY}
+    "${WEBCORE_DIR}/platform/graphics/surfaces"
+    "${WEBCORE_DIR}/platform/graphics/texmap"
   )
   LIST(APPEND WebCore_SOURCES
-    platform/graphics/cairo/DrawingBufferCairo.cpp
-    platform/graphics/cairo/GraphicsContext3DCairo.cpp
-    platform/graphics/glx/GraphicsContext3DPrivate.cpp
     platform/graphics/OpenGLShims.cpp
+    platform/graphics/cairo/DrawingBufferCairo.cpp
+    platform/graphics/efl/GraphicsContext3DEfl.cpp
+    platform/graphics/efl/GraphicsContext3DPrivate.cpp
     platform/graphics/opengl/Extensions3DOpenGL.cpp
+    platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
     platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
     platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
+    platform/graphics/surfaces/GraphicsSurface.cpp
+    platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp
+    platform/graphics/texmap/TextureMapperGL.cpp
+    platform/graphics/texmap/TextureMapperShaderManager.cpp
   )
 ENDIF ()
 
-ADD_DEFINITIONS(-DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1
-                -DDATA_DIR="${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}")
+ADD_DEFINITIONS(-DDATA_DIR="${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}")
 
 IF (ENABLE_WEB_AUDIO)
   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
     "${WEBCORE_DIR}/platform/audio/gstreamer"
 
-    ${GStreamer-Audio_INCLUDE_DIRS}
-    ${GStreamer-FFT_INCLUDE_DIRS}
+    ${GSTREAMER_AUDIO_INCLUDE_DIRS}
+    ${GSTREAMER_FFT_INCLUDE_DIRS}
   )
   LIST(APPEND WebCore_SOURCES
     platform/audio/efl/AudioBusEfl.cpp
@@ -291,8 +319,8 @@ IF (ENABLE_WEB_AUDIO)
     platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
   )
   LIST(APPEND WebCore_LIBRARIES
-    ${GStreamer-Audio_LIBRARIES}
-    ${GStreamer-FFT_LIBRARIES}
+    ${GSTREAMER_AUDIO_LIBRARIES}
+    ${GSTREAMER_FFT_LIBRARIES}
   )
   SET(WEB_AUDIO_DIR ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/webaudio/resources)
   FILE(GLOB WEB_AUDIO_DATA "${WEBCORE_DIR}/platform/audio/resources/*.wav")
@@ -300,3 +328,11 @@ IF (ENABLE_WEB_AUDIO)
   ADD_DEFINITIONS(-DUNINSTALLED_AUDIO_RESOURCES_DIR="${WEBCORE_DIR}/platform/audio/resources")
 ENDIF ()
 
+IF (ENABLE_SPELLCHECK)
+    LIST(APPEND WebCore_INCLUDE_DIRECTORIES
+        ${ENCHANT_INCLUDE_DIRS}
+    )
+    LIST(APPEND WebCore_LIBRARIES
+        ${ENCHANT_LIBRARIES}
+    )
+ENDIF()