• mrobinson@webkit.org's avatar
    [GTK] [CMake] Add support for building WebKit2 · 0373a742
    mrobinson@webkit.org authored
    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: http://svn.webkit.org/repository/webkit/trunk@150460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0373a742