Delete unused MacOS code related to ERRCTX_OSSTATUS

Bug: webrtc:6424
Change-Id: I3f98d31677201fcc52e492a463945fb9f6f2e883
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/138831
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28231}
diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn
index 86dee93..d498816 100644
--- a/rtc_base/BUILD.gn
+++ b/rtc_base/BUILD.gn
@@ -303,7 +303,7 @@
     deps += [ "system:inline" ]
 
     if (is_mac) {
-      deps += [ ":logging_mac" ]
+      libs += [ "Foundation.framework" ]
     }
 
     # logging.h needs the deprecation header while downstream projects are
@@ -463,17 +463,6 @@
   ]
 }
 
-if (is_mac && !build_with_chromium) {
-  rtc_source_set("logging_mac") {
-    visibility = [ ":logging" ]
-    libs = [ "Foundation.framework" ]
-    sources = [
-      "logging_mac.h",
-      "logging_mac.mm",
-    ]
-  }
-}
-
 rtc_source_set("rtc_task_queue") {
   visibility = [ "*" ]
   sources = [