Generated should not be supported for things with a shadow
[WebKit-https.git] / Source / WebCore / PlatformEfl.cmake
index f437c21..387c37c 100644 (file)
@@ -1,8 +1,3 @@
-LIST(APPEND WebCore_LINK_FLAGS
-    ${ECORE_X_LDFLAGS}
-    ${EFLDEPS_LDFLAGS}
-)
-
 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
   "${WEBCORE_DIR}/accessibility/efl"
   "${WEBCORE_DIR}/page/efl"
@@ -13,7 +8,6 @@ LIST(APPEND WebCore_INCLUDE_DIRECTORIES
   "${WEBCORE_DIR}/platform/network/soup"
   "${WEBCORE_DIR}/platform/text/efl"
   "${WEBCORE_DIR}/plugins/efl"
-  "${WEBKIT_DIR}/efl/WebCoreSupport"
 )
 
 LIST(APPEND WebCore_SOURCES
@@ -21,9 +15,9 @@ LIST(APPEND WebCore_SOURCES
   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
@@ -46,14 +40,11 @@ LIST(APPEND WebCore_SOURCES
   platform/efl/PlatformMouseEventEfl.cpp
   platform/efl/PlatformScreenEfl.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
@@ -61,6 +52,7 @@ LIST(APPEND WebCore_SOURCES
   platform/efl/TemporaryLinkStubs.cpp
   platform/efl/WidgetEfl.cpp
   platform/graphics/ImageSource.cpp
+  platform/graphics/efl/CairoUtilitiesEfl.cpp
   platform/graphics/efl/IconEfl.cpp
   platform/graphics/efl/ImageEfl.cpp
   platform/graphics/efl/IntPointEfl.cpp
@@ -76,6 +68,7 @@ LIST(APPEND WebCore_SOURCES
   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
@@ -83,6 +76,7 @@ LIST(APPEND WebCore_SOURCES
   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
@@ -91,8 +85,14 @@ LIST(APPEND WebCore_SOURCES
   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
@@ -150,6 +150,7 @@ IF (WTF_USE_CAIRO)
       "${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
@@ -168,26 +169,6 @@ IF (WTF_USE_CAIRO)
       ${HARFBUZZ_LIBRARIES}
     )
   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
-    )
-    LIST(APPEND WebCore_LIBRARIES
-      ${Pango_LIBRARY}
-      ${Pango_Cairo_LIBRARY}
-    )
-  ENDIF ()
 ENDIF ()
 
 IF (WTF_USE_ICU_UNICODE)
@@ -203,16 +184,19 @@ IF (WTF_USE_TEXTURE_MAPPER)
   LIST(APPEND WebCore_SOURCES
     platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
   )
-ELSE ()
-  LIST(APPEND WebCore_SOURCES
-    platform/graphics/efl/GraphicsLayerEfl.cpp
-  )
 ENDIF ()
 
 LIST(APPEND WebCore_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}
@@ -222,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}
+  ${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}
 )
 
@@ -290,28 +283,26 @@ IF (WTF_USE_3D_GRAPHICS)
   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
     "${WEBCORE_DIR}/platform/graphics/cairo"
     "${WEBCORE_DIR}/platform/graphics/opengl"
+    "${WEBCORE_DIR}/platform/graphics/surfaces"
     "${WEBCORE_DIR}/platform/graphics/texmap"
   )
-  LIST(APPEND WebCore_LIBRARIES
-    ${OPENGL_gl_LIBRARY}
-  )
   LIST(APPEND WebCore_SOURCES
     platform/graphics/OpenGLShims.cpp
     platform/graphics/cairo/DrawingBufferCairo.cpp
-    platform/graphics/cairo/GLContext.cpp
-    platform/graphics/cairo/GraphicsContext3DCairo.cpp
-    platform/graphics/cairo/GraphicsContext3DPrivate.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
@@ -337,12 +328,11 @@ IF (ENABLE_WEB_AUDIO)
   ADD_DEFINITIONS(-DUNINSTALLED_AUDIO_RESOURCES_DIR="${WEBCORE_DIR}/platform/audio/resources")
 ENDIF ()
 
-IF (ENABLE_GAMEPAD OR ENABLE_NETWORK_INFO)
-  LIST(APPEND WebCore_INCLUDE_DIRECTORIES
-    ${EEZE_INCLUDE_DIRS}
-  )
-  LIST(APPEND WebCore_LIBRARIES
-    ${EEZE_LIBRARIES}
-  )
-ENDIF ()
-
+IF (ENABLE_SPELLCHECK)
+    LIST(APPEND WebCore_INCLUDE_DIRECTORIES
+        ${ENCHANT_INCLUDE_DIRS}
+    )
+    LIST(APPEND WebCore_LIBRARIES
+        ${ENCHANT_LIBRARIES}
+    )
+ENDIF()