Index: webrtc/api/api.gyp |
diff --git a/webrtc/api/api.gyp b/webrtc/api/api.gyp |
index 1c693fa83596fb782fec7540bda2ebf48f7d298e..9fed633758a03cdd3a11ccb13a4b2ac84d23c574 100644 |
--- a/webrtc/api/api.gyp |
+++ b/webrtc/api/api.gyp |
@@ -24,6 +24,33 @@ |
'objc/RTCIceServer+Private.h', |
'objc/RTCIceServer.h', |
'objc/RTCIceServer.mm', |
+ 'objc/RTCOpenGLVideoRenderer.h', |
+ 'objc/RTCOpenGLVideoRenderer.mm', |
+ 'objc/RTCVideoRenderer.h', |
+ ], |
+ 'conditions': [ |
+ ['OS=="ios"', { |
+ 'sources': [ |
+ 'objc/RTCEAGLVideoView.h', |
+ 'objc/RTCEAGLVideoView.m', |
+ ], |
+ 'all_dependent_settings': { |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': [ |
+ '-framework CoreGraphics', |
+ '-framework GLKit', |
+ '-framework OpenGLES', |
+ '-framework QuartzCore', |
+ ] |
+ } |
+ } |
+ }], |
+ ['OS=="mac"', { |
+ 'sources': [ |
+ 'objc/RTCNSGLVideoView.h', |
+ 'objc/RTCNSGLVideoView.m', |
+ ], |
+ }], |
], |
'xcode_settings': { |
'CLANG_ENABLE_OBJC_ARC': 'YES', |