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

Unified Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h

Issue 1903663002: Build dynamic iOS SDK. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix test gyp Created 4 years, 8 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
Index: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
diff --git a/webrtc/api/objc/RTCNSGLVideoView.h b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
similarity index 90%
rename from webrtc/api/objc/RTCNSGLVideoView.h
rename to webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
index 27eb31e9af12a72c8fefccfd89cc6cc5d2ea2f89..d9ed6fb9f26a9dc0c7caf88c6e2bc972a1f7b790 100644
--- a/webrtc/api/objc/RTCNSGLVideoView.h
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
@@ -8,13 +8,11 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#if TARGET_OS_IPHONE
-#error "This file targets OSX."
-#endif
+#if !TARGET_OS_IPHONE
#import <AppKit/NSOpenGLView.h>
-#import "RTCVideoRenderer.h"
+#import <WebRTC/RTCVideoRenderer.h>
NS_ASSUME_NONNULL_BEGIN
@@ -32,3 +30,5 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698