apple: Convert GN libs lists to frameworks in //third_party.

GN recently added support for Apple frameworks to link, rather than
overloading the libs lists. This pulls .frameworks out of the libs
lists, so that GN can stop supporting .frameworks in libs in the
future.

Bug: 1052560
Change-Id: Id1795920fc9ed2de9a5413f6aa9ed3cd97c23707
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2277112
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#784520}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5b55395c89da011f36fe2c8f434d0388c5e899b7
diff --git a/BUILD.gn b/BUILD.gn
index 6c12e33..92d8e2f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -227,9 +227,9 @@
   ]
 
   if (is_mac || is_ios) {
-    libs = [ "CoreFoundation.framework" ]
+    frameworks = [ "CoreFoundation.framework" ]
     if (!is_ios) {
-      libs += [ "CoreServices.framework" ]
+      frameworks += [ "CoreServices.framework" ]
     }
   } else if (is_android) {
     defines += [
@@ -306,9 +306,9 @@
   ]
 
   if (is_mac || is_ios) {
-    libs = [ "CoreFoundation.framework" ]
+    frameworks = [ "CoreFoundation.framework" ]
     if (!is_ios) {
-      libs += [ "CoreServices.framework" ]
+      frameworks += [ "CoreServices.framework" ]
     }
   } else if (is_android) {
     defines += [