Add missing AppKit dependency

Bug: None
Change-Id: I8175ca0f60b6ebccf7aed6a46e8faff3878c2963
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/148584
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28817}
This commit is contained in:
Niels Möller 2019-08-09 09:44:19 +02:00 committed by Commit Bot
parent 273e263d25
commit e4b4de6a0e
2 changed files with 8 additions and 7 deletions

View File

@ -481,17 +481,18 @@ if (is_ios || is_mac) {
"objc/components/renderer/metal/RTCMTLVideoView.m",
]
}
if (is_mac) {
sources += [
"objc/components/renderer/metal/RTCMTLNSVideoView.h",
"objc/components/renderer/metal/RTCMTLNSVideoView.m",
]
}
libs = [
"CoreVideo.framework",
"Metal.framework",
"MetalKit.framework",
]
if (is_mac) {
sources += [
"objc/components/renderer/metal/RTCMTLNSVideoView.h",
"objc/components/renderer/metal/RTCMTLNSVideoView.m",
]
libs += [ "AppKit.framework" ]
}
deps = [
":base_objc",
":peerconnectionfactory_base_objc",

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Cocoa/Cocoa.h>
#import <AppKit/AppKit.h>
#import "RTCVideoRenderer.h"