Commit d5a74a80 authored by Robert Sesek's avatar Robert Sesek Committed by Commit Bot

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

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: Ie1c070801057c642961397f02dd31bad2945abdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2277969
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Ryan Sleevi <rsleevi@chromium.org>
Auto-Submit: Robert Sesek <rsesek@chromium.org>
Reviewed-by: default avatarRyan Sleevi <rsleevi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784444}
parent e3119502
......@@ -1484,23 +1484,23 @@ component("net") {
cflags = []
if (is_mac) {
libs = [
libs = [ "resolv" ]
frameworks = [
"CFNetwork.framework",
"CoreServices.framework",
"Foundation.framework",
"Security.framework",
"SystemConfiguration.framework",
"resolv",
]
}
if (is_ios) {
libs = [
libs = [ "resolv" ]
frameworks = [
"CFNetwork.framework",
"MobileCoreServices.framework",
"Security.framework",
"SystemConfiguration.framework",
"resolv",
]
}
......@@ -2239,7 +2239,7 @@ static_library("test_support") {
data = [ "data/" ]
if (is_mac) {
libs = [ "Security.framework" ]
frameworks = [ "Security.framework" ]
}
if (is_ios) {
......@@ -2336,7 +2336,7 @@ if (!is_ios && !is_android) {
]
if (is_mac) {
libs = [ "Security.framework" ]
frameworks = [ "Security.framework" ]
}
}
......@@ -4606,7 +4606,7 @@ test("net_unittests") {
}
if (is_mac) {
libs = [ "Security.framework" ]
frameworks = [ "Security.framework" ]
}
if (!is_win) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment