Title: [237680] trunk/Tools
Revision
237680
Author
[email protected]
Date
2018-11-01 08:19:14 -0700 (Thu, 01 Nov 2018)

Log Message

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: trunk/Tools/ChangeLog (237679 => 237680)


--- trunk/Tools/ChangeLog	2018-11-01 14:20:48 UTC (rev 237679)
+++ trunk/Tools/ChangeLog	2018-11-01 15:19:14 UTC (rev 237680)
@@ -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-10-31  Zalan Bujtas  <[email protected]>
 
         [LFC][IFC] Add support for inline-block elements.

Modified: trunk/Tools/MiniBrowser/wpe/main.cpp (237679 => 237680)


--- trunk/Tools/MiniBrowser/wpe/main.cpp	2018-11-01 14:20:48 UTC (rev 237679)
+++ trunk/Tools/MiniBrowser/wpe/main.cpp	2018-11-01 15:19:14 UTC (rev 237680)
@@ -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>
 
@@ -114,7 +116,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