Fix i386 libwebrtc build
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Feb 2017 16:37:17 +0000 (16:37 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Feb 2017 16:37:17 +0000 (16:37 +0000)
commite8ea85fa283f423d52c3c0c10506d4f5693483ef
tree7d6ea7b4ea462d64d3bbc5860891537cb62cdb0b
parent7ff0f923124b115bb7b3ba37d67d0c64bdeb513a
Fix i386 libwebrtc build
https://bugs.webkit.org/show_bug.cgi?id=168038

Reviewed by Geoffrey Garen.

Unfortunately, 32-bit ObjC can't use all the coolest new features of ObjC.
Fortunately, we can move things around a bit to become valid old ObjC.

* Source/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCFileLogger.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource+Private.h:
* Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStream.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack+Private.h:
* Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h:
* Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCRtpSender.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCShader.h:
* Source/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.h:
* Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCVideoSource.mm:
* Source/webrtc/sdk/objc/Framework/Classes/RTCVideoTrack.mm:
* Source/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioTrack.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCConfiguration.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCFileLogger.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceCandidate.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceServer.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaConstraints.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaSource.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStream.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMetricsSampleInfo.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpParameters.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpReceiver.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpSender.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCSessionDescription.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h:
* Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoTrack.h:
Make code compile for i386.
* libwebrtc.xcodeproj/project.pbxproj:
Added missing headers so Xcode can search them.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
48 files changed:
Source/ThirdParty/libwebrtc/ChangeLog
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCFileLogger.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource+Private.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStream.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack+Private.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCRtpSender.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCShader.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCVideoSource.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCVideoTrack.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioTrack.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCConfiguration.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCFileLogger.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceCandidate.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceServer.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaConstraints.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaSource.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStream.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMetricsSampleInfo.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpParameters.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpReceiver.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpSender.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCSessionDescription.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoTrack.h
Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj