Changeset 208948 in webkit


Ignore:
Timestamp:
Nov 21, 2016 8:25:49 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[cmake][OpenWebRTC] Move SDPProcessorScriptResource rules to common WebCore
https://bugs.webkit.org/show_bug.cgi?id=164937

Patch by Olivier Blin <Olivier Blin> on 2016-11-21
Reviewed by Youenn Fablet.

SDPProcessorScriptResource has been moved in common mediastream directory (bug 163940).

Since it is not specific to the GTK port, the matching cmake rules should be
moved out from PlatformGTK.cmake to the main WebCore CMakeLists.txt.

This is needed to build OpenWebRTC support in other ports, WPE in my case,
probably Mac, EFL and Qt as well.

This also fixes the path in SDP scripts dependencies, the old openwebrtc subdir
was still being used.

No new tests, build fix only

  • CMakeLists.txt:
  • PlatformGTK.cmake:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/CMakeLists.txt

    r208891 r208948  
    23472347    platform/mediastream/RealtimeMediaSourceCenter.cpp
    23482348    platform/mediastream/RealtimeMediaSourceSettings.cpp
     2349    platform/mediastream/SDPProcessorScriptResource.cpp
    23492350
    23502351    platform/mock/DeviceMotionClientMock.cpp
     
    36693670endif ()
    36703671
    3671 if (WebCore_SDP_PROCESSOR_SCRIPTS)
     3672if (ENABLE_WEB_RTC)
    36723673    # Necessary variables:
    36733674    # WebCore_SDP_PROCESSOR_SCRIPTS containing the JavaScript sources list
    36743675    # WebCore_SDP_PROCESSOR_SCRIPTS_DEPENDENCIES containing the source file that will load the scripts to add the proper
    36753676    #   dependency and having them built at the right moment
     3677    set(WebCore_SDP_PROCESSOR_SCRIPTS ${WEBCORE_DIR}/Modules/mediastream/sdp.js)
     3678    set(WebCore_SDP_PROCESSOR_SCRIPTS_DEPENDENCIES ${WEBCORE_DIR}/platform/mediastream/SDPProcessorScriptResource.cpp)
    36763679
    36773680    MAKE_JS_FILE_ARRAYS(
  • trunk/Source/WebCore/ChangeLog

    r208945 r208948  
     12016-11-21  Olivier Blin  <olivier.blin@softathome.com>
     2
     3        [cmake][OpenWebRTC] Move SDPProcessorScriptResource rules to common WebCore
     4        https://bugs.webkit.org/show_bug.cgi?id=164937
     5
     6        Reviewed by Youenn Fablet.
     7
     8        SDPProcessorScriptResource has been moved in common mediastream directory (bug 163940).
     9
     10        Since it is not specific to the GTK port, the matching cmake rules should be
     11        moved out from PlatformGTK.cmake to the main WebCore CMakeLists.txt.
     12
     13        This is needed to build OpenWebRTC support in other ports, WPE in my case,
     14        probably Mac, EFL and Qt as well.
     15
     16        This also fixes the path in SDP scripts dependencies, the old openwebrtc subdir
     17        was still being used.
     18
     19        No new tests, build fix only
     20
     21        * CMakeLists.txt:
     22        * PlatformGTK.cmake:
     23
    1242016-11-21  Carlos Garcia Campos  <cgarcia@igalia.com>
    225
  • trunk/Source/WebCore/PlatformGTK.cmake

    r208548 r208948  
    167167    platform/image-decoders/cairo/ImageBackingStoreCairo.cpp
    168168
    169     platform/mediastream/SDPProcessorScriptResource.cpp
    170 
    171169    platform/network/soup/AuthenticationChallengeSoup.cpp
    172170    platform/network/soup/CertificateInfo.cpp
     
    260258
    261259set(WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES ${WEBCORE_DIR}/platform/gtk/RenderThemeGtk.cpp)
    262 
    263 set(WebCore_SDP_PROCESSOR_SCRIPTS ${WEBCORE_DIR}/Modules/mediastream/sdp.js)
    264 set(WebCore_SDP_PROCESSOR_SCRIPTS_DEPENDENCIES ${WEBCORE_DIR}/platform/mediastream/openwebrtc/SDPProcessorScriptResource.cpp)
    265260
    266261list(APPEND WebCore_LIBRARIES
Note: See TracChangeset for help on using the changeset viewer.