Title: [235933] trunk/Source/WebCore
Revision
235933
Author
[email protected]
Date
2018-09-12 02:11:57 -0700 (Wed, 12 Sep 2018)

Log Message

Linking against libWPEWebKit-0.1.so is not posible when WPE is build with ENABLE_VIDEO=OFF and ENABLE_WEB_AUDIO=OFF
https://bugs.webkit.org/show_bug.cgi?id=189540

Patch by Pablo Saavedra <[email protected]> on 2018-09-12
Reviewed by Philippe Normand.

Related issues:

This issue is related with changes in https://bugs.webkit.org/show_bug.cgi?id=183080
This issue is introduced in https://bugs.webkit.org/show_bug.cgi?id=186547

No new tests, no changes in the functionality.

* platform/GStreamer.cmake:
* platform/SourcesGLib.txt:
* platform/mediastream/libwebrtc/LibWebRTCProviderGlib.cpp:
(WebCore::LibWebRTCProvider::webRTCAvailable):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (235932 => 235933)


--- trunk/Source/WebCore/ChangeLog	2018-09-12 06:08:50 UTC (rev 235932)
+++ trunk/Source/WebCore/ChangeLog	2018-09-12 09:11:57 UTC (rev 235933)
@@ -1,3 +1,22 @@
+2018-09-12  Pablo Saavedra  <[email protected]>
+
+        Linking against libWPEWebKit-0.1.so is not posible when WPE is build with ENABLE_VIDEO=OFF and ENABLE_WEB_AUDIO=OFF
+        https://bugs.webkit.org/show_bug.cgi?id=189540
+
+        Reviewed by Philippe Normand.
+
+        Related issues:
+
+        This issue is related with changes in https://bugs.webkit.org/show_bug.cgi?id=183080
+        This issue is introduced in https://bugs.webkit.org/show_bug.cgi?id=186547
+
+        No new tests, no changes in the functionality.
+
+        * platform/GStreamer.cmake:
+        * platform/SourcesGLib.txt:
+        * platform/mediastream/libwebrtc/LibWebRTCProviderGlib.cpp:
+        (WebCore::LibWebRTCProvider::webRTCAvailable):
+
 2018-09-11  Zan Dobersek  <[email protected]>
 
         Unreviewed WPE build fix.

Modified: trunk/Source/WebCore/platform/GStreamer.cmake (235932 => 235933)


--- trunk/Source/WebCore/platform/GStreamer.cmake	2018-09-12 06:08:50 UTC (rev 235932)
+++ trunk/Source/WebCore/platform/GStreamer.cmake	2018-09-12 09:11:57 UTC (rev 235933)
@@ -36,7 +36,6 @@
         platform/mediastream/libwebrtc/GStreamerVideoDecoderFactory.cpp
         platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.cpp
         platform/mediastream/libwebrtc/LibWebRTCAudioModule.cpp
-        platform/mediastream/libwebrtc/LibWebRTCProviderGlib.cpp
 
         platform/mediastream/gstreamer/GStreamerAudioCaptureSource.cpp
         platform/mediastream/gstreamer/GStreamerAudioCapturer.cpp

Modified: trunk/Source/WebCore/platform/SourcesGLib.txt (235932 => 235933)


--- trunk/Source/WebCore/platform/SourcesGLib.txt	2018-09-12 06:08:50 UTC (rev 235932)
+++ trunk/Source/WebCore/platform/SourcesGLib.txt	2018-09-12 09:11:57 UTC (rev 235933)
@@ -35,3 +35,5 @@
 platform/glib/UserAgentGLib.cpp
 
 platform/network/glib/NetworkStateNotifierGLib.cpp
+
+platform/mediastream/libwebrtc/LibWebRTCProviderGlib.cpp

Modified: trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderGlib.cpp (235932 => 235933)


--- trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderGlib.cpp	2018-09-12 06:08:50 UTC (rev 235932)
+++ trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderGlib.cpp	2018-09-12 09:11:57 UTC (rev 235933)
@@ -41,7 +41,11 @@
 
 bool LibWebRTCProvider::webRTCAvailable()
 {
+#if USE(LIBWEBRTC) && USE(GSTREAMER)
     return true;
+#else
+    return false;
+#endif
 }
 
 #if USE(LIBWEBRTC) && USE(GSTREAMER)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to