Skip to content

Commit d806d04

Browse files
committed
Add DMABufObject only when GBM is enabled.
Remove when https://bugs.webkit.org/show_bug.cgi?id=275297 is fixed upstream.
1 parent 1bde52c commit d806d04

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Source/WebKit/PlatformWPE.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,11 @@ list(APPEND WebKit_UNIFIED_SOURCE_LIST_FILES
104104

105105
list(APPEND WebKit_SERIALIZATION_IN_FILES Shared/glib/DMABufRendererBufferFormat.serialization.in)
106106

107+
if (USE_GBM)
108+
list(APPEND WebKit_SERIALIZATION_IN_FILES Shared/glib/DMABufObject.serialization.in)
109+
endif ()
110+
107111
list(APPEND WebKit_SERIALIZATION_IN_FILES
108-
Shared/glib/DMABufObject.serialization.in
109112
Shared/glib/DMABufRendererBufferMode.serialization.in
110113
Shared/glib/InputMethodState.serialization.in
111114
Shared/glib/UserMessage.serialization.in

0 commit comments

Comments
 (0)