[GTK] [CMake] Add support for building WebKit2
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 May 2013 18:49:40 +0000 (18:49 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 May 2013 18:49:40 +0000 (18:49 +0000)
commit726a989bef489639adfab376f44c54fa1d4d7b24
treef1d37946b771ad85d6e86c8220053e9608896f3a
parent974e7d81b59021d8378d0734c9b48fc9bb50e2e3
[GTK] [CMake] Add support for building WebKit2
https://bugs.webkit.org/show_bug.cgi?id=116372

Reviewed by Gustavo Noronha Silva.

.:

* Source/cmake/FindWebP.cmake: Added.
* Source/cmake/OptionsGTK.cmake: Turn on WebKit2 and the plugin process and also look
for WebP. These missing symbols were hidden up until now. ENABLE_TEXTURE_MAPPER was
also incorrect specified.

Source/WebCore:

* PlatformGTK.cmake: Add missing source files, include directories, and WebP properties.

Source/WebKit2:

* CMakeLists.txt: Add common directories to the common include list and remove UIProcess/PageViewportController.cpp
from the source list since it should only be compiled for WebKitEFL. Instead of taking explicit forwarding-header
dependencies accept a list of "tacked-on" dependencies for WebKit2. This allows GTK+ to specify its extra fake
installed header step.
* PlatformEfl.cmake: Remove common include directories and add UIProcess/PageViewportController.cpp to the source
list. Fix up forwarding header dependencies now.
* PlatformGTK.cmake: Added.
* config.h: First check whether this is a CMake build and then fall back to the autotools header.

Tools:

* CMakeLists.txt: Do not build WebKitTestRunner yet for WebKitGTK+.
* MiniBrowser/gtk/CMakeLists.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/PlatformGTK.cmake
Source/WebKit2/CMakeLists.txt
Source/WebKit2/ChangeLog
Source/WebKit2/PlatformEfl.cmake
Source/WebKit2/PlatformGTK.cmake [new file with mode: 0644]
Source/WebKit2/config.h
Source/cmake/FindWebP.cmake [new file with mode: 0644]
Source/cmake/OptionsGTK.cmake
Tools/CMakeLists.txt
Tools/ChangeLog
Tools/MiniBrowser/gtk/CMakeLists.txt [new file with mode: 0644]