},
],
}],
- ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
+ ['OS=="ios" or (OS=="mac" and target_arch!="ia32" and mac_sdk>="10.7")', {
+ # The >= 10.7 above is required for ARC.
'targets': [
{
'target_name': 'libjingle_peerconnection_objc',
'sources': [
'app/webrtc/objc/RTCAudioTrack+Internal.h',
'app/webrtc/objc/RTCAudioTrack.mm',
+ 'app/webrtc/objc/RTCDataChannel+Internal.h',
+ 'app/webrtc/objc/RTCDataChannel.mm',
'app/webrtc/objc/RTCEnumConverter.h',
'app/webrtc/objc/RTCEnumConverter.mm',
'app/webrtc/objc/RTCI420Frame.mm',
'app/webrtc/objc/RTCPeerConnectionObserver.mm',
'app/webrtc/objc/RTCSessionDescription+Internal.h',
'app/webrtc/objc/RTCSessionDescription.mm',
+ 'app/webrtc/objc/RTCStatsReport+Internal.h',
+ 'app/webrtc/objc/RTCStatsReport.mm',
'app/webrtc/objc/RTCVideoCapturer+Internal.h',
'app/webrtc/objc/RTCVideoCapturer.mm',
'app/webrtc/objc/RTCVideoRenderer+Internal.h',
'app/webrtc/objc/RTCVideoTrack.mm',
'app/webrtc/objc/public/RTCAudioSource.h',
'app/webrtc/objc/public/RTCAudioTrack.h',
+ 'app/webrtc/objc/public/RTCDataChannel.h',
'app/webrtc/objc/public/RTCI420Frame.h',
'app/webrtc/objc/public/RTCICECandidate.h',
'app/webrtc/objc/public/RTCICEServer.h',
'app/webrtc/objc/public/RTCPeerConnectionDelegate.h',
'app/webrtc/objc/public/RTCPeerConnectionFactory.h',
'app/webrtc/objc/public/RTCSessionDescription.h',
- 'app/webrtc/objc/public/RTCSessionDescriptonDelegate.h',
+ 'app/webrtc/objc/public/RTCSessionDescriptionDelegate.h',
+ 'app/webrtc/objc/public/RTCStatsDelegate.h',
+ 'app/webrtc/objc/public/RTCStatsReport.h',
'app/webrtc/objc/public/RTCTypes.h',
'app/webrtc/objc/public/RTCVideoCapturer.h',
'app/webrtc/objc/public/RTCVideoRenderer.h',
},
'xcode_settings': {
'CLANG_ENABLE_OBJC_ARC': 'YES',
+ # common.gypi enables this for mac but we want this to be disabled
+ # like it is for ios.
+ 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
},
+ 'conditions': [
+ ['OS=="mac"', {
+ 'xcode_settings': {
+ # Need to build against 10.7 framework for full ARC support
+ # on OSX.
+ 'MACOSX_DEPLOYMENT_TARGET' : '10.7',
+ },
+ }],
+ ],
}, # target libjingle_peerconnection_objc
],
}],
}],
['OS=="ios"', {
'sources': [
+ 'base/iosfilesystem.mm',
'base/scoped_autorelease_pool.mm',
],
'dependencies': [
}],
['OS=="ios"', {
'sources': [
- 'media/devices/iosdeviceinfo.cc',
'media/devices/mobiledevicemanager.cc',
],
'include_dirs': [
'session/tunnel/securetunnelsessionclient.h',
'session/media/audiomonitor.cc',
'session/media/audiomonitor.h',
+ 'session/media/bundlefilter.cc',
+ 'session/media/bundlefilter.h',
'session/media/call.cc',
'session/media/call.h',
'session/media/channel.cc',
'session/media/soundclip.h',
'session/media/srtpfilter.cc',
'session/media/srtpfilter.h',
- 'session/media/ssrcmuxfilter.cc',
- 'session/media/ssrcmuxfilter.h',
'session/media/typingmonitor.cc',
'session/media/typingmonitor.h',
'session/media/voicechannel.h',