Title: [270826] trunk/Source/WebCore
Revision
270826
Author
[email protected]
Date
2020-12-15 02:14:21 -0800 (Tue, 15 Dec 2020)

Log Message

[CMake][WPE] Remove unconditional WebCore dependency to WPEBackend-FDO
https://bugs.webkit.org/show_bug.cgi?id=219835

Patch by Philippe Normand <[email protected]> on 2020-12-15
Reviewed by Yusuke Suzuki.

* PlatformWPE.cmake: The WPEBackend-FDO dependency should be enabled only when client-side
video or audio rendering is enabled.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (270825 => 270826)


--- trunk/Source/WebCore/ChangeLog	2020-12-15 09:15:17 UTC (rev 270825)
+++ trunk/Source/WebCore/ChangeLog	2020-12-15 10:14:21 UTC (rev 270826)
@@ -1,3 +1,13 @@
+2020-12-15  Philippe Normand  <[email protected]>
+
+        [CMake][WPE] Remove unconditional WebCore dependency to WPEBackend-FDO
+        https://bugs.webkit.org/show_bug.cgi?id=219835
+
+        Reviewed by Yusuke Suzuki.
+
+        * PlatformWPE.cmake: The WPEBackend-FDO dependency should be enabled only when client-side
+        video or audio rendering is enabled.
+
 2020-12-14  Chris Fleizach  <[email protected]>
 
         AX: implement prefers-contrast: more

Modified: trunk/Source/WebCore/PlatformWPE.cmake (270825 => 270826)


--- trunk/Source/WebCore/PlatformWPE.cmake	2020-12-15 09:15:17 UTC (rev 270825)
+++ trunk/Source/WebCore/PlatformWPE.cmake	2020-12-15 10:14:21 UTC (rev 270826)
@@ -60,7 +60,6 @@
     ${GLIB_LIBRARIES}
     ${LIBTASN1_LIBRARIES}
     ${UPOWERGLIB_LIBRARIES}
-    ${WPEBACKEND_FDO_LIBRARIES}
 )
 
 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
@@ -69,10 +68,15 @@
     ${GLIB_INCLUDE_DIRS}
     ${LIBTASN1_INCLUDE_DIRS}
     ${UPOWERGLIB_INCLUDE_DIRS}
-    ${WPEBACKEND_FDO_INCLUDE_DIRS}
 )
 
+if (USE_WPE_VIDEO_PLANE_DISPLAY_DMABUF OR USE_WPEBACKEND_FDO_AUDIO_EXTENSION)
+    list(APPEND WebCore_LIBRARIES ${WPEBACKEND_FDO_LIBRARIES})
+    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES ${WPE_INCLUDE_DIRS})
+    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES ${WPEBACKEND_FDO_INCLUDE_DIRS})
+endif ()
+
 if (USE_OPENXR)
     list(APPEND WebCore_LIBRARIES ${OPENXR_LIBRARIES})
     list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES ${OPENXR_INCLUDE_DIRS})
-endif ()
\ No newline at end of file
+endif ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to