diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn index a778fb1666..2fbf2b2757 100644 --- a/sdk/BUILD.gn +++ b/sdk/BUILD.gn @@ -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", diff --git a/sdk/objc/components/renderer/metal/RTCMTLNSVideoView.h b/sdk/objc/components/renderer/metal/RTCMTLNSVideoView.h index ffed4b8b39..7b615396d0 100644 --- a/sdk/objc/components/renderer/metal/RTCMTLNSVideoView.h +++ b/sdk/objc/components/renderer/metal/RTCMTLNSVideoView.h @@ -8,7 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ -#import +#import #import "RTCVideoRenderer.h"