Add AVFoundation video capture support to Mac objc SDK (based on iOS)

The AppRTCDemo app on Mac OSX does not show or send local video streams,
as ACFoundation capture session is not compiled in or implemented in
the appropriate places.  This is the first part of a two-part patch
that implements local capture on the Mac for AppRTCDemo

P.S. This is my first patch to WebRTC.   I didn't see any relevant tests, but I could write some if you can point me at a location. Also, I don't have access to the automated tests (I don't think)

BUG=webrtc:3417

Review-Url: https://codereview.webrtc.org/2046863004
Cr-Commit-Position: refs/heads/master@{#13080}
diff --git a/webrtc/sdk/sdk.gyp b/webrtc/sdk/sdk.gyp
index 7903faa..cd96e8b 100644
--- a/webrtc/sdk/sdk.gyp
+++ b/webrtc/sdk/sdk.gyp
@@ -94,6 +94,11 @@
             ],
           },
           'link_settings': {
+            'xcode_settings': {
+              'OTHER_LDFLAGS': [
+                '-framework AVFoundation',
+              ],
+            },
             'libraries': [
               '-lstdc++',
             ],
@@ -101,6 +106,8 @@
           'sources': [
             'objc/Framework/Classes/RTCAudioTrack+Private.h',
             'objc/Framework/Classes/RTCAudioTrack.mm',
+            'objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h',
+            'objc/Framework/Classes/RTCAVFoundationVideoSource.mm',
             'objc/Framework/Classes/RTCConfiguration+Private.h',
             'objc/Framework/Classes/RTCConfiguration.mm',
             'objc/Framework/Classes/RTCDataChannel+Private.h',
@@ -148,7 +155,10 @@
             'objc/Framework/Classes/RTCVideoSource.mm',
             'objc/Framework/Classes/RTCVideoTrack+Private.h',
             'objc/Framework/Classes/RTCVideoTrack.mm',
+            'objc/Framework/Classes/avfoundationvideocapturer.h',
+            'objc/Framework/Classes/avfoundationvideocapturer.mm',
             'objc/Framework/Headers/WebRTC/RTCAudioTrack.h',
+            'objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h',
             'objc/Framework/Headers/WebRTC/RTCConfiguration.h',
             'objc/Framework/Headers/WebRTC/RTCDataChannel.h',
             'objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h',
@@ -174,12 +184,7 @@
           'conditions': [
             ['OS=="ios"', {
               'sources': [
-                'objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h',
-                'objc/Framework/Classes/RTCAVFoundationVideoSource.mm',
                 'objc/Framework/Classes/RTCEAGLVideoView.m',
-                'objc/Framework/Classes/avfoundationvideocapturer.h',
-                'objc/Framework/Classes/avfoundationvideocapturer.mm',
-                'objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h',
                 'objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h',
               ],
               'link_settings': {
@@ -201,6 +206,7 @@
               'link_settings': {
                 'xcode_settings': {
                   'OTHER_LDFLAGS': [
+                    '-framework CoreMedia',
                     '-framework OpenGL',
                   ],
                 },