Bug 207190 - build error with -DENABLE_WAYLAND_TARGET=OFF
Summary: build error with -DENABLE_WAYLAND_TARGET=OFF
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-04 01:54 PST by Peter Marquardt
Modified: 2020-02-04 23:30 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Marquardt 2020-02-04 01:54:50 PST
When building with -DENABLE_WAYLAND_TARGET=OFF there is still a Wayland reference which breaks the build:

Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:276:75: error: no member named 'Wayland' in 'WebCore::PlatformDisplay::Type'
        PlatformDisplay::sharedDisplay().type() == PlatformDisplay::Type::Wayland ? "Wayland" : "X11");
                                                   ~~~~~~~~~~~~~~~~~~~~~~~^
1 warning and 1 error generated.
Comment 1 Peter Marquardt 2020-02-04 23:30:17 PST
also applies  to

Source/WebKit/UIProcess/API/glib/WebKitUIClient.cpp:144

and

Source/WebKit/UIProcess/API/glib/WebKitUIClient.cpp:172