<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[196552] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/196552">196552</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-02-13 11:12:28 -0800 (Sat, 13 Feb 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>[cmake] Consolidate building of GStreamer and OpenWebRTC code.
https://bugs.webkit.org/show_bug.cgi?id=154116

Patch by Konstantin Tokarev &lt;annulen@yandex.ru&gt; on 2016-02-13
Reviewed by Michael Catanzaro.

No new tests needed.

* PlatformEfl.cmake: Migrated shared code to GStreamer.cmake.
* PlatformGTK.cmake: Ditto.
* platform/GStreamer.cmake: Added.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorePlatformEflcmake">trunk/Source/WebCore/PlatformEfl.cmake</a></li>
<li><a href="#trunkSourceWebCorePlatformGTKcmake">trunk/Source/WebCore/PlatformGTK.cmake</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreplatformGStreamercmake">trunk/Source/WebCore/platform/GStreamer.cmake</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (196551 => 196552)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-02-13 17:41:12 UTC (rev 196551)
+++ trunk/Source/WebCore/ChangeLog        2016-02-13 19:12:28 UTC (rev 196552)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2016-02-13  Konstantin Tokarev  &lt;annulen@yandex.ru&gt;
+
+        [cmake] Consolidate building of GStreamer and OpenWebRTC code.
+        https://bugs.webkit.org/show_bug.cgi?id=154116
+
+        Reviewed by Michael Catanzaro.
+
+        No new tests needed.
+
+        * PlatformEfl.cmake: Migrated shared code to GStreamer.cmake.
+        * PlatformGTK.cmake: Ditto.
+        * platform/GStreamer.cmake: Added.
+
</ins><span class="cx"> 2016-02-13  Mark Lam  &lt;mark.lam@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Add thread violation checks to WebView public APIs.
</span></span></pre></div>
<a id="trunkSourceWebCorePlatformEflcmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/PlatformEfl.cmake (196551 => 196552)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/PlatformEfl.cmake        2016-02-13 17:41:12 UTC (rev 196551)
+++ trunk/Source/WebCore/PlatformEfl.cmake        2016-02-13 19:12:28 UTC (rev 196552)
</span><span class="lines">@@ -1,3 +1,4 @@
</span><ins>+include(platform/GStreamer.cmake)
</ins><span class="cx"> include(platform/ImageDecoders.cmake)
</span><span class="cx"> include(platform/TextureMapper.cmake)
</span><span class="cx"> 
</span><span class="lines">@@ -40,7 +41,6 @@
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/graphics/surfaces/glx&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/graphics/x11&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/linux&quot;
</span><del>-    &quot;${WEBCORE_DIR}/platform/mediastream/openwebrtc&quot;
</del><span class="cx">     &quot;${WEBCORE_DIR}/platform/mock/mediasource&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/network/soup&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/text/efl&quot;
</span><span class="lines">@@ -88,12 +88,6 @@
</span><span class="cx"> 
</span><span class="cx">     platform/audio/efl/AudioBusEfl.cpp
</span><span class="cx"> 
</span><del>-    platform/audio/gstreamer/AudioDestinationGStreamer.cpp
-    platform/audio/gstreamer/AudioFileReaderGStreamer.cpp
-    platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp
-    platform/audio/gstreamer/FFTFrameGStreamer.cpp
-    platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
-
</del><span class="cx">     platform/efl/BatteryProviderEfl.cpp
</span><span class="cx">     platform/efl/CursorEfl.cpp
</span><span class="cx">     platform/efl/DragDataEfl.cpp
</span><span class="lines">@@ -165,22 +159,7 @@
</span><span class="cx">     platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp
</span><span class="cx">     platform/graphics/freetype/SimpleFontDataFreeType.cpp
</span><span class="cx"> 
</span><del>-    platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp
-    platform/graphics/gstreamer/GRefPtrGStreamer.cpp
-    platform/graphics/gstreamer/GStreamerUtilities.cpp
</del><span class="cx">     platform/graphics/gstreamer/ImageGStreamerCairo.cpp
</span><del>-    platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp
-    platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
-    platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
-    platform/graphics/gstreamer/MediaSourceGStreamer.cpp
-    platform/graphics/gstreamer/SourceBufferPrivateGStreamer.cpp
-    platform/graphics/gstreamer/TextCombinerGStreamer.cpp
-    platform/graphics/gstreamer/TextSinkGStreamer.cpp
-    platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp
-    platform/graphics/gstreamer/VideoSinkGStreamer.cpp
-    platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp
-    platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp
-    platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
</del><span class="cx"> 
</span><span class="cx">     platform/graphics/harfbuzz/HarfBuzzFace.cpp
</span><span class="cx">     platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp
</span><span class="lines">@@ -211,9 +190,6 @@
</span><span class="cx">     platform/linux/GamepadDeviceLinux.cpp
</span><span class="cx">     platform/linux/MemoryPressureHandlerLinux.cpp
</span><span class="cx"> 
</span><del>-    platform/mediastream/openwebrtc/OpenWebRTCUtilities.cpp
-    platform/mediastream/openwebrtc/RealtimeMediaSourceCenterOwr.cpp
-
</del><span class="cx">     platform/network/efl/NetworkStateNotifierEfl.cpp
</span><span class="cx"> 
</span><span class="cx">     platform/network/soup/AuthenticationChallengeSoup.cpp
</span><span class="lines">@@ -341,62 +317,6 @@
</span><span class="cx">     ${HARFBUZZ_INCLUDE_DIRS}
</span><span class="cx"> )
</span><span class="cx"> 
</span><del>-if (ENABLE_MEDIA_STREAM)
-    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-        ${OPENWEBRTC_INCLUDE_DIRS}
-    )
-    list(APPEND WebCore_LIBRARIES
-        ${OPENWEBRTC_LIBRARIES}
-    )
-    list(APPEND WebCore_SOURCES
-        platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp
-    )
-endif ()
-
-if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
-    list(APPEND WebCore_INCLUDE_DIRECTORIES
-        &quot;${WEBCORE_DIR}/platform/graphics/gstreamer&quot;
-    )
-
-    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-        ${GSTREAMER_INCLUDE_DIRS}
-        ${GSTREAMER_BASE_INCLUDE_DIRS}
-        ${GSTREAMER_APP_INCLUDE_DIRS}
-        ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
-    )
-
-    list(APPEND WebCore_LIBRARIES
-        ${GSTREAMER_APP_LIBRARIES}
-        ${GSTREAMER_BASE_LIBRARIES}
-        ${GSTREAMER_LIBRARIES}
-        ${GSTREAMER_PBUTILS_LIBRARIES}
-        ${GSTREAMER_AUDIO_LIBRARIES}
-    )
-    # Avoiding a GLib deprecation warning due to GStreamer API using deprecated classes.
-    set_source_files_properties(platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp PROPERTIES COMPILE_DEFINITIONS &quot;GLIB_DISABLE_DEPRECATION_WARNINGS=1&quot;)
-endif ()
-
-if (ENABLE_VIDEO)
-    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-        ${GSTREAMER_TAG_INCLUDE_DIRS}
-        ${GSTREAMER_VIDEO_INCLUDE_DIRS}
-    )
-    list(APPEND WebCore_LIBRARIES
-        ${GSTREAMER_TAG_LIBRARIES}
-        ${GSTREAMER_VIDEO_LIBRARIES}
-    )
-
-    if (USE_GSTREAMER_MPEGTS)
-        list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-            ${GSTREAMER_MPEGTS_INCLUDE_DIRS}
-        )
-
-        list(APPEND WebCore_LIBRARIES
-            ${GSTREAMER_MPEGTS_LIBRARIES}
-        )
-    endif ()
-endif ()
-
</del><span class="cx"> if (USE_EGL)
</span><span class="cx">     list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
</span><span class="cx">         &quot;${WEBCORE_DIR}/platform/graphics/surfaces/egl&quot;
</span><span class="lines">@@ -440,17 +360,6 @@
</span><span class="cx"> endif ()
</span><span class="cx"> 
</span><span class="cx"> if (ENABLE_WEB_AUDIO)
</span><del>-    list(APPEND WebCore_INCLUDE_DIRECTORIES
-        &quot;${WEBCORE_DIR}/platform/audio/gstreamer&quot;
-    )
-
-    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-        ${GSTREAMER_AUDIO_INCLUDE_DIRS}
-        ${GSTREAMER_FFT_INCLUDE_DIRS}
-    )
-    list(APPEND WebCore_LIBRARIES
-        ${GSTREAMER_FFT_LIBRARIES}
-    )
</del><span class="cx">     set(WEB_AUDIO_DIR ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/webaudio/resources)
</span><span class="cx">     file(GLOB WEB_AUDIO_DATA &quot;${WEBCORE_DIR}/platform/audio/resources/*.wav&quot;)
</span><span class="cx">     install(FILES ${WEB_AUDIO_DATA} DESTINATION ${WEB_AUDIO_DIR})
</span></span></pre></div>
<a id="trunkSourceWebCorePlatformGTKcmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/PlatformGTK.cmake (196551 => 196552)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/PlatformGTK.cmake        2016-02-13 17:41:12 UTC (rev 196551)
+++ trunk/Source/WebCore/PlatformGTK.cmake        2016-02-13 19:12:28 UTC (rev 196552)
</span><span class="lines">@@ -1,3 +1,4 @@
</span><ins>+include(platform/GStreamer.cmake)
</ins><span class="cx"> include(platform/ImageDecoders.cmake)
</span><span class="cx"> include(platform/TextureMapper.cmake)
</span><span class="cx"> 
</span><span class="lines">@@ -43,7 +44,6 @@
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/graphics/wayland&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/graphics/x11&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/linux&quot;
</span><del>-    &quot;${WEBCORE_DIR}/platform/mediastream/openwebrtc&quot;
</del><span class="cx">     &quot;${WEBCORE_DIR}/platform/mock/mediasource&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/network/gtk&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/network/soup&quot;
</span><span class="lines">@@ -82,12 +82,6 @@
</span><span class="cx"> 
</span><span class="cx">     platform/audio/glib/AudioBusGLib.cpp
</span><span class="cx"> 
</span><del>-    platform/audio/gstreamer/AudioDestinationGStreamer.cpp
-    platform/audio/gstreamer/AudioFileReaderGStreamer.cpp
-    platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp
-    platform/audio/gstreamer/FFTFrameGStreamer.cpp
-    platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
-
</del><span class="cx">     platform/geoclue/GeolocationProviderGeoclue1.cpp
</span><span class="cx">     platform/geoclue/GeolocationProviderGeoclue2.cpp
</span><span class="cx"> 
</span><span class="lines">@@ -129,22 +123,7 @@
</span><span class="cx"> 
</span><span class="cx">     platform/graphics/glx/GLContextGLX.cpp
</span><span class="cx"> 
</span><del>-    platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp
-    platform/graphics/gstreamer/GRefPtrGStreamer.cpp
-    platform/graphics/gstreamer/GStreamerUtilities.cpp
</del><span class="cx">     platform/graphics/gstreamer/ImageGStreamerCairo.cpp
</span><del>-    platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp
-    platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
-    platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
-    platform/graphics/gstreamer/MediaSourceGStreamer.cpp
-    platform/graphics/gstreamer/SourceBufferPrivateGStreamer.cpp
-    platform/graphics/gstreamer/TextCombinerGStreamer.cpp
-    platform/graphics/gstreamer/TextSinkGStreamer.cpp
-    platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp
-    platform/graphics/gstreamer/VideoSinkGStreamer.cpp
-    platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp
-    platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp
-    platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
</del><span class="cx"> 
</span><span class="cx">     platform/graphics/harfbuzz/HarfBuzzFace.cpp
</span><span class="cx">     platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp
</span><span class="lines">@@ -176,9 +155,6 @@
</span><span class="cx">     platform/linux/GamepadDeviceLinux.cpp
</span><span class="cx">     platform/linux/MemoryPressureHandlerLinux.cpp
</span><span class="cx"> 
</span><del>-    platform/mediastream/openwebrtc/OpenWebRTCUtilities.cpp
-    platform/mediastream/openwebrtc/RealtimeMediaSourceCenterOwr.cpp
-
</del><span class="cx">     platform/network/gtk/CredentialBackingStore.cpp
</span><span class="cx"> 
</span><span class="cx">     platform/network/soup/AuthenticationChallengeSoup.cpp
</span><span class="lines">@@ -318,84 +294,6 @@
</span><span class="cx">     ${ZLIB_INCLUDE_DIRS}
</span><span class="cx"> )
</span><span class="cx"> 
</span><del>-if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
-    list(APPEND WebCore_INCLUDE_DIRECTORIES
-        ${WEBCORE_DIR}/platform/graphics/gstreamer
-    )
-
-    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-        ${GSTREAMER_INCLUDE_DIRS}
-        ${GSTREAMER_BASE_INCLUDE_DIRS}
-        ${GSTREAMER_APP_INCLUDE_DIRS}
-        ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
-    )
-
-    list(APPEND WebCore_LIBRARIES
-        ${GSTREAMER_APP_LIBRARIES}
-        ${GSTREAMER_BASE_LIBRARIES}
-        ${GSTREAMER_LIBRARIES}
-        ${GSTREAMER_PBUTILS_LIBRARIES}
-        ${GSTREAMER_AUDIO_LIBRARIES}
-    )
-    # Avoiding a GLib deprecation warning due to GStreamer API using deprecated classes.
-    set_source_files_properties(platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp PROPERTIES COMPILE_DEFINITIONS &quot;GLIB_DISABLE_DEPRECATION_WARNINGS=1&quot;)
-endif ()
-
-if (ENABLE_VIDEO)
-    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-        ${GSTREAMER_TAG_INCLUDE_DIRS}
-        ${GSTREAMER_VIDEO_INCLUDE_DIRS}
-    )
-    list(APPEND WebCore_LIBRARIES
-        ${GSTREAMER_TAG_LIBRARIES}
-        ${GSTREAMER_VIDEO_LIBRARIES}
-    )
-
-    if (USE_GSTREAMER_MPEGTS)
-        list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-            ${GSTREAMER_MPEGTS_INCLUDE_DIRS}
-        )
-
-        list(APPEND WebCore_LIBRARIES
-            ${GSTREAMER_MPEGTS_LIBRARIES}
-        )
-    endif ()
-
-    if (USE_GSTREAMER_GL)
-        list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-            ${GSTREAMER_GL_INCLUDE_DIRS}
-        )
-
-        list(APPEND WebCore_LIBRARIES
-            ${GSTREAMER_GL_LIBRARIES}
-        )
-    endif ()
-endif ()
-
-if (ENABLE_WEB_AUDIO)
-    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-        ${WEBCORE_DIR}/platform/audio/gstreamer
-        ${GSTREAMER_AUDIO_INCLUDE_DIRS}
-        ${GSTREAMER_FFT_INCLUDE_DIRS}
-    )
-    list(APPEND WebCore_LIBRARIES
-        ${GSTREAMER_FFT_LIBRARIES}
-    )
-endif ()
-
-if (ENABLE_MEDIA_STREAM)
-    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
-        ${OPENWEBRTC_INCLUDE_DIRS}
-    )
-    list(APPEND WebCore_LIBRARIES
-        ${OPENWEBRTC_LIBRARIES}
-    )
-    list(APPEND WebCore_SOURCES
-        platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp
-    )
-endif ()
-
-
</del><span class="cx"> if (USE_OPENGL_ES_2)
</span><span class="cx">     list(APPEND WebCore_SOURCES
</span><span class="cx">         platform/graphics/opengl/Extensions3DOpenGLES.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformGStreamercmake"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/platform/GStreamer.cmake (0 => 196552)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/GStreamer.cmake                                (rev 0)
+++ trunk/Source/WebCore/platform/GStreamer.cmake        2016-02-13 19:12:28 UTC (rev 196552)
</span><span class="lines">@@ -0,0 +1,115 @@
</span><ins>+list(APPEND WebCore_INCLUDE_DIRECTORIES
+    &quot;${WEBCORE_DIR}/platform/mediastream/openwebrtc&quot;
+)
+
+if (ENABLE_MEDIA_STREAM)
+    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
+        ${OPENWEBRTC_INCLUDE_DIRS}
+    )
+
+    list(APPEND WebCore_LIBRARIES
+        ${OPENWEBRTC_LIBRARIES}
+    )
+
+    list(APPEND WebCore_SOURCES
+        platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp
+
+        platform/mediastream/openwebrtc/OpenWebRTCUtilities.cpp
+        platform/mediastream/openwebrtc/RealtimeMediaSourceCenterOwr.cpp
+    )
+endif ()
+
+if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
+    list(APPEND WebCore_INCLUDE_DIRECTORIES
+        &quot;${WEBCORE_DIR}/platform/graphics/gstreamer&quot;
+    )
+
+    list(APPEND WebCore_SOURCES
+        platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp
+        platform/graphics/gstreamer/GRefPtrGStreamer.cpp
+        platform/graphics/gstreamer/GStreamerUtilities.cpp
+        platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp
+        platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
+        platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
+        platform/graphics/gstreamer/MediaSourceGStreamer.cpp
+        platform/graphics/gstreamer/SourceBufferPrivateGStreamer.cpp
+        platform/graphics/gstreamer/TextCombinerGStreamer.cpp
+        platform/graphics/gstreamer/TextSinkGStreamer.cpp
+        platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp
+        platform/graphics/gstreamer/VideoSinkGStreamer.cpp
+        platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp
+        platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp
+        platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
+    )
+
+    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
+        ${GSTREAMER_INCLUDE_DIRS}
+        ${GSTREAMER_BASE_INCLUDE_DIRS}
+        ${GSTREAMER_APP_INCLUDE_DIRS}
+        ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
+    )
+
+    list(APPEND WebCore_LIBRARIES
+        ${GSTREAMER_APP_LIBRARIES}
+        ${GSTREAMER_BASE_LIBRARIES}
+        ${GSTREAMER_LIBRARIES}
+        ${GSTREAMER_PBUTILS_LIBRARIES}
+        ${GSTREAMER_AUDIO_LIBRARIES}
+    )
+
+    # Avoiding a GLib deprecation warning due to GStreamer API using deprecated classes.
+    set_source_files_properties(platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp PROPERTIES COMPILE_DEFINITIONS &quot;GLIB_DISABLE_DEPRECATION_WARNINGS=1&quot;)
+endif ()
+
+if (ENABLE_VIDEO)
+    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
+        ${GSTREAMER_TAG_INCLUDE_DIRS}
+        ${GSTREAMER_VIDEO_INCLUDE_DIRS}
+    )
+
+    list(APPEND WebCore_LIBRARIES
+        ${GSTREAMER_TAG_LIBRARIES}
+        ${GSTREAMER_VIDEO_LIBRARIES}
+    )
+
+    if (USE_GSTREAMER_MPEGTS)
+        list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
+            ${GSTREAMER_MPEGTS_INCLUDE_DIRS}
+        )
+        list(APPEND WebCore_LIBRARIES
+            ${GSTREAMER_MPEGTS_LIBRARIES}
+        )
+    endif ()
+
+    if (USE_GSTREAMER_GL)
+        list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
+            ${GSTREAMER_GL_INCLUDE_DIRS}
+        )
+        list(APPEND WebCore_LIBRARIES
+            ${GSTREAMER_GL_LIBRARIES}
+        )
+    endif ()
+endif ()
+
+if (ENABLE_WEB_AUDIO)
+    list(APPEND WebCore_INCLUDE_DIRECTORIES
+        &quot;${WEBCORE_DIR}/platform/audio/gstreamer&quot;
+    )
+
+    list(APPEND WebCore_SOURCES
+        platform/audio/gstreamer/AudioDestinationGStreamer.cpp
+        platform/audio/gstreamer/AudioFileReaderGStreamer.cpp
+        platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp
+        platform/audio/gstreamer/FFTFrameGStreamer.cpp
+        platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
+    )
+
+    list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
+        ${GSTREAMER_AUDIO_INCLUDE_DIRS}
+        ${GSTREAMER_FFT_INCLUDE_DIRS}
+    )
+
+    list(APPEND WebCore_LIBRARIES
+        ${GSTREAMER_FFT_LIBRARIES}
+    )
+endif ()
</ins></span></pre>
</div>
</div>

</body>
</html>