Finally delete deprecated mac capturer.

Landing this CL will break video_loopback but cl 124827 fixes that.

Bug: webrtc:6898, webrtc:6333, webrtc:7861
Change-Id: Iecbbf75fab08570cc537784f7bbd11a841a2e5a6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/124828
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Anders Carlsson <andersc@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27012}
diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn
index 464276c..255dc43 100644
--- a/sdk/BUILD.gn
+++ b/sdk/BUILD.gn
@@ -366,7 +366,10 @@
         "..:common_objc",
         ":used_from_extension",
       ]
-      libs = [ "VideoToolbox.framework" ]
+      libs = [
+        "VideoToolbox.framework",
+        "CoreVideo.framework",
+      ]
     }
 
     rtc_static_library("video_objc") {
@@ -380,7 +383,7 @@
         "objc/components/renderer/opengl/RTCShader.mm",
         "objc/components/renderer/opengl/RTCVideoViewShading.h",
       ]
-      libs = []
+      libs = [ "CoreVideo.framework" ]
       if (is_ios) {
         sources += [
           "objc/components/renderer/opengl/RTCNV12TextureCache.h",
@@ -394,7 +397,6 @@
       } else if (is_mac) {
         libs += [
           "CoreMedia.framework",
-          "CoreVideo.framework",
           "OpenGL.framework",
         ]
       }
@@ -524,7 +526,10 @@
           "objc/components/capturer/RTCFileVideoCapturer.m",
         ]
       }
-      libs = [ "AVFoundation.framework" ]
+      libs = [
+        "AVFoundation.framework",
+        "CoreVideo.framework",
+      ]
 
       configs += [ "..:common_objc" ]