[GTK][EFL] Move WK2 platform code to a common place
authorcsaavedra@igalia.com <csaavedra@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Apr 2016 19:39:35 +0000 (19:39 +0000)
committercsaavedra@igalia.com <csaavedra@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Apr 2016 19:39:35 +0000 (19:39 +0000)
commit698df018b36d3069cfd3d84d3d3921d626ad3206
tree6fb28cdc90b9e53cb5e084b0cbe56a016e34ee91
parentc887f1ba2edb744129d92d685bf9fb0c85eccfac
[GTK][EFL] Move WK2 platform code to a common place
https://bugs.webkit.org/show_bug.cgi?id=157069

Reviewed by Carlos Garcia Campos.

Logging implementation can be shared between EFL and GTK, so move it to unix.
The GTK Module implementation doesn't depend on GTK anyhow so move it to glib.

* Platform/efl/LoggingEfl.cpp: Removed.
(WebKit::logLevelString): Deleted.
* Platform/glib/ModuleGlib.cpp: Renamed from Source/WebKit2/Platform/gtk/ModuleGtk.cpp.
(WebKit::Module::load):
(WebKit::Module::unload):
(WebKit::Module::platformFunctionPointer):
* Platform/gtk/LoggingGtk.cpp:
(WebKit::logLevelString): Deleted.
* Platform/gtk/ModuleGtk.cpp:
(WebKit::Module::load): Deleted.
(WebKit::Module::unload): Deleted.
(WebKit::Module::platformFunctionPointer): Deleted.
* Platform/unix/LoggingUnix.cpp: Renamed from Source/WebKit2/Platform/gtk/LoggingGtk.cpp.
(WebKit::logLevelString):
* PlatformEfl.cmake: Update.
* PlatformGTK.cmake: Update

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@200143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Platform/efl/LoggingEfl.cpp [deleted file]
Source/WebKit2/Platform/glib/ModuleGlib.cpp [moved from Source/WebKit2/Platform/gtk/ModuleGtk.cpp with 100% similarity]
Source/WebKit2/Platform/unix/LoggingUnix.cpp [moved from Source/WebKit2/Platform/gtk/LoggingGtk.cpp with 96% similarity]
Source/WebKit2/PlatformEfl.cmake
Source/WebKit2/PlatformGTK.cmake