Title: [237690] releases/WebKitGTK/webkit-2.22/Tools
Revision
237690
Author
[email protected]
Date
2018-11-01 11:32:33 -0700 (Thu, 01 Nov 2018)

Log Message

Merged r237680 - Fix build with VIDEO and WEB_AUDIO disabled
https://bugs.webkit.org/show_bug.cgi?id=191147
<rdar://problem/45726710>

Unreviewed build fix.

This adds the missing compilation guards in the WPE MiniBrowser.

* MiniBrowser/wpe/main.cpp:
(main): Condition GST includes and calls.

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.22/Tools/ChangeLog (237689 => 237690)


--- releases/WebKitGTK/webkit-2.22/Tools/ChangeLog	2018-11-01 18:32:27 UTC (rev 237689)
+++ releases/WebKitGTK/webkit-2.22/Tools/ChangeLog	2018-11-01 18:32:33 UTC (rev 237690)
@@ -1,3 +1,16 @@
+2018-11-01  Adrian Perez de Castro  <[email protected]>
+
+        Fix build with VIDEO and WEB_AUDIO disabled
+        https://bugs.webkit.org/show_bug.cgi?id=191147
+        <rdar://problem/45726710>
+
+        Unreviewed build fix.
+
+        This adds the missing compilation guards in the WPE MiniBrowser.
+
+        * MiniBrowser/wpe/main.cpp:
+        (main): Condition GST includes and calls.
+
 2018-11-01  Claudio Saavedra  <[email protected]>
 
         Fix build with VIDEO and WEB_AUDIO disabled

Modified: releases/WebKitGTK/webkit-2.22/Tools/MiniBrowser/wpe/main.cpp (237689 => 237690)


--- releases/WebKitGTK/webkit-2.22/Tools/MiniBrowser/wpe/main.cpp	2018-11-01 18:32:27 UTC (rev 237689)
+++ releases/WebKitGTK/webkit-2.22/Tools/MiniBrowser/wpe/main.cpp	2018-11-01 18:32:33 UTC (rev 237690)
@@ -27,7 +27,9 @@
 
 #include "HeadlessViewBackend.h"
 #include "WindowViewBackend.h"
+#if ENABLE_WEB_AUDIO || ENABLE_VIDEO
 #include <gst/gst.h>
+#endif
 #include <memory>
 #include <wpe/webkit.h>
 
@@ -107,7 +109,9 @@
 
     GOptionContext* context = g_option_context_new(nullptr);
     g_option_context_add_main_entries(context, commandLineOptions, nullptr);
+#if ENABLE_WEB_AUDIO || ENABLE_VIDEO
     g_option_context_add_group(context, gst_init_get_option_group());
+#endif
 
     GError* error = nullptr;
     if (!g_option_context_parse(context, &argc, &argv, &error)) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to