Changeset 205294 in webkit


Ignore:
Timestamp:
Sep 1, 2016 10:31:59 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Fix configuration without wayland support
https://bugs.webkit.org/show_bug.cgi?id=161475

WebKit2WaylandClientProtocol.c is a derived source that is created
conditionally on ENABLE_WAYLAND_TARGET. It was being included
in the sources list unconditionally, so configure failed whenever
wayland support was unavailable.

Patch by Jeremy Huddleston Sequoia <jeremyhu@apple.com> on 2016-09-01
Reviewed by Žan Doberšek.

  • PlatformGTK.cmake: Include WebKit2WaylandClientProtocol.c in source list conditional on ENABLE_WAYLAND_TARGET
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r205280 r205294  
     12016-09-01  Jeremy Huddleston Sequoia  <jeremyhu@apple.com>
     2
     3        [GTK] Fix configuration without wayland support
     4        https://bugs.webkit.org/show_bug.cgi?id=161475
     5
     6        WebKit2WaylandClientProtocol.c is a derived source that is created
     7        conditionally on ENABLE_WAYLAND_TARGET.  It was being included
     8        in the sources list unconditionally, so configure failed whenever
     9        wayland support was unavailable.
     10
     11        Reviewed by Žan Doberšek.
     12
     13        * PlatformGTK.cmake: Include WebKit2WaylandClientProtocol.c in source list conditional on ENABLE_WAYLAND_TARGET
     14
    1152016-08-31  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebKit2/PlatformGTK.cmake

    r205280 r205294  
    556556    ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKit2InspectorGResourceBundle.c
    557557    ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKit2ResourcesGResourceBundle.c
    558     ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKit2WaylandClientProtocol.c
    559558
    560559    ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitEnumTypes.cpp
    561560    ${DERIVED_SOURCES_WEBKIT2GTK_API_DIR}/WebKitMarshal.cpp
    562561)
     562
     563if (ENABLE_WAYLAND_TARGET)
     564    list(APPEND WebKit2_DERIVED_SOURCES
     565        ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/WebKit2WaylandClientProtocol.c
     566    )
     567endif ()
    563568
    564569set(WebKit2GTK_INSTALLED_HEADERS
Note: See TracChangeset for help on using the changeset viewer.