Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1019)

Unified Diff: webrtc/sdk/sdk.gyp

Issue 2046863004: Add AVFoundation video capture support to Mac objc SDK (based on iOS) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated BUILD.gn to match gyp Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/sdk.gyp
diff --git a/webrtc/sdk/sdk.gyp b/webrtc/sdk/sdk.gyp
index 7903faa6266837d6e46ed1e0897ee5e409e0e94b..cd96e8b6d741c13ed2f2e6986bddd6a6ab363b2f 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',
],
},
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698