[WebRTC] Add libwebrtc build infrastructure
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2017 18:43:44 +0000 (18:43 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2017 18:43:44 +0000 (18:43 +0000)
commit9e0d7671c5c5c58d0de512bb6c1307c32d53089d
tree0e9def2ea7a55db8297ff9ebc98f347ec06c0389
parentc2811c5c7d497af825e20b1f624a30409e34165e
[WebRTC] Add libwebrtc build infrastructure
https://bugs.webkit.org/show_bug.cgi?id=167207

Patch by Youenn Fablet <youenn@apple.com> on 2017-01-20
Reviewed by Alex Christensen.

.:

* WebKit.xcworkspace/contents.xcworkspacedata:

Source/ThirdParty:

Checking-in files used for building libwebrtc.
The principle is the following:
- Select a revision of libwebrtc
- Ask libwebrtc build system to generate the project.json (something like gn gen --ide json ...)
- Copy project.json here and the libwebrtc selected revision in a libwebrtc/libwebrtc folder.
- Call Tools/Scripts/generate-libwebrtc-cmake which will update CMakeLists.txt
- Build libwebrtc with CMake

* libwebrtc/CMakeLists.txt: Added (Generated by Tools/Scripts/generate-libwebrtc-cmake using project.json as input).
* libwebrtc/Makefile: Added.
* libwebrtc/WebKit/project.json: Added (Generated by libwebrtc build system).
* libwebrtc/WebKit/rtc_sdk_framework_objc_info_plist.plist: Added.
* libwebrtc/libwebrtc.xcodeproj/project.pbxproj: Added.

Tools:

Adding a script doing the libwebrtc project json to CMake file conversion.

* Scripts/generate-libwebrtc-cmake: Added.
* Scripts/webkitpy/libwebrtc/__init__.py: Added.
* Scripts/webkitpy/libwebrtc/generate_cmake.py: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
ChangeLog
Source/ThirdParty/ChangeLog
Source/ThirdParty/libwebrtc/CMakeLists.txt [new file with mode: 0644]
Source/ThirdParty/libwebrtc/Makefile [new file with mode: 0644]
Source/ThirdParty/libwebrtc/WebKit/project.json [new file with mode: 0644]
Source/ThirdParty/libwebrtc/WebKit/rtc_sdk_framework_objc_info_plist.plist [new file with mode: 0644]
Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj [new file with mode: 0644]
Tools/ChangeLog
Tools/Scripts/generate-libwebrtc-cmake [new file with mode: 0755]
Tools/Scripts/webkitpy/libwebrtc/__init__.py [new file with mode: 0644]
Tools/Scripts/webkitpy/libwebrtc/generate_cmake.py [new file with mode: 0644]
WebKit.xcworkspace/contents.xcworkspacedata