Chromium Code Reviews

Unified Diff: webrtc/sdk/objc/Framework/Classes/RTCNSGLVideoView.m

Issue 1903663002: Build dynamic iOS SDK. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/sdk/objc/Framework/Classes/RTCNSGLVideoView.m
diff --git a/webrtc/api/objc/RTCNSGLVideoView.m b/webrtc/sdk/objc/Framework/Classes/RTCNSGLVideoView.m
similarity index 97%
rename from webrtc/api/objc/RTCNSGLVideoView.m
rename to webrtc/sdk/objc/Framework/Classes/RTCNSGLVideoView.m
index 063e6f1330ed246e829378b33150201988831bf2..4338a29b2692441f37e6cc20f6a63d26e004a754 100644
--- a/webrtc/api/objc/RTCNSGLVideoView.m
+++ b/webrtc/sdk/objc/Framework/Classes/RTCNSGLVideoView.m
@@ -8,11 +8,15 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import "RTCNSGLVideoView.h"
+#if !TARGET_OS_IPHONE
+
+#import "WebRTC/RTCNSGLVideoView.h"
#import <CoreVideo/CVDisplayLink.h>
#import <OpenGL/gl3.h>
-#import "RTCVideoFrame.h"
+
+#import "WebRTC/RTCVideoFrame.h"
+
#import "RTCOpenGLVideoRenderer.h"
@interface RTCNSGLVideoView ()
@@ -139,3 +143,5 @@ static CVReturn OnDisplayLinkFired(CVDisplayLinkRef displayLink,
}
@end
+
+#endif // !TARGET_OS_IPHONE

Powered by Google App Engine