RESOLVED FIXED 270979
[WPE] Build broken when building with libdrm disabled
https://bugs.webkit.org/show_bug.cgi?id=270979
Summary [WPE] Build broken when building with libdrm disabled
Miguel Gomez
Reported 2024-03-14 08:12:13 PDT
This is the error: Source/WebCore/platform/graphics/PlatformDisplay.cpp: In static member function 'static std::unique_ptr<WebCore::PlatformDisplay> WebCore::PlatformDisplay::createPlatformDisplay()': Source/WebCore/platform/graphics/PlatformDisplay.cpp:166:13: error: 'GBMDevice' has not been declared 166 | if (GBMDevice::singleton().isInitialized()) { | ^~~~~~~~~ Source/WebCore/platform/graphics/PlatformDisplay.cpp:167:32: error: 'GBMDevice' has not been declared 167 | if (auto* device = GBMDevice::singleton().device(GBMDevice::Type::Render)) | ^~~~~~~~~ Source/WebCore/platform/graphics/PlatformDisplay.cpp:167:62: error: 'GBMDevice' has not been declared 167 | if (auto* device = GBMDevice::singleton().device(GBMDevice::Type::Render)) | ^~~~~~~~~ Source/WebCore/platform/graphics/PlatformDisplay.cpp:168:24: error: 'PlatformDisplayGBM' has not been declared 168 | return PlatformDisplayGBM::create(device); | ^~~~~~~~~~~~~~~~~~ GBMDevice is only compiled if USE_GBM, which is set to off when USE_LIBDRM is off. There's a probably an #if USE(GBM) missigng somewhere.
Attachments
Miguel Gomez
Comment 1 2024-03-14 08:13:27 PDT
Not sure it affects, but I'm also setting ENABLE_WPE_1_1_API to ON.
Miguel Gomez
Comment 2 2024-03-22 02:53:58 PDT
EWS
Comment 3 2024-03-22 06:00:08 PDT
Committed 276537@main (f7de50f089b0): <https://commits.webkit.org/276537@main> Reviewed commits have been landed. Closing PR #26306 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.