[CMake] [GTK] Organize and clean up unused CMake variables
[WebKit-https.git] / Source / cmake / OptionsGTK.cmake
index da3cb27..6bf82a2 100644 (file)
@@ -193,27 +193,11 @@ SET_AND_EXPOSE_TO_BUILD(MOZ_X11 ${ENABLE_X11_TARGET})
 SET_AND_EXPOSE_TO_BUILD(XP_UNIX ${WTF_OS_UNIX})
 SET_AND_EXPOSE_TO_BUILD(WTF_PLATFORM_WAYLAND ${ENABLE_WAYLAND_TARGET})
 
+set(WTF_USE_UDIS86 ON)
 set(ENABLE_WEBKIT OFF)
 set(ENABLE_WEBKIT2 ON)
 set(ENABLE_PLUGIN_PROCESS ON)
 
-set(GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_6)
-set(GTK_API_VERSION 3.0)
-
-set(WTF_USE_SOUP 1)
-set(WTF_USE_UDIS86 1)
-
-set(WTF_LIBRARY_TYPE STATIC)
-set(WTF_OUTPUT_NAME WTFGTK)
-set(JavaScriptCore_OUTPUT_NAME javascriptcoregtk-${WEBKITGTK_API_VERSION})
-set(WebCore_OUTPUT_NAME WebCoreGTK)
-set(WebKit_OUTPUT_NAME webkitgtk-${WEBKITGTK_API_VERSION})
-set(WebKit2_OUTPUT_NAME webkit2gtk-${WEBKITGTK_API_VERSION})
-set(WebKit2_WebProcess_OUTPUT_NAME WebKitWebProcess)
-set(WebKit2_NetworkProcess_OUTPUT_NAME WebKitNetworkProcess)
-set(WebKit2_PluginProcess_OUTPUT_NAME WebKitPluginProcess)
-set(WebKit2_DatabaseProcess_OUTPUT_NAME WebKitDatabaseProcess)
-
 add_definitions(-DBUILDING_GTK__=1)
 add_definitions(-DGETTEXT_PACKAGE="WebKit2GTK-${WEBKITGTK_API_VERSION}")
 add_definitions(-DDATA_DIR="${CMAKE_INSTALL_DATADIR}")
@@ -394,8 +378,6 @@ if (USE_LIBNOTIFY)
     SET_AND_EXPOSE_TO_BUILD(WTF_USE_LIBNOTIFY TRUE)
 endif ()
 
-set(CPACK_SOURCE_GENERATOR TBZ2)
-
 set(DERIVED_SOURCES_GOBJECT_DOM_BINDINGS_DIR ${DERIVED_SOURCES_DIR}/webkitdom)
 set(DERIVED_SOURCES_WEBKITGTK_DIR ${DERIVED_SOURCES_DIR}/webkitgtk)
 set(DERIVED_SOURCES_WEBKITGTK_API_DIR ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkit)