Commit bae95f81 by Sylvain Defresne Committed by Commit Bot

Convert GN libs lists to frameworks

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: chromium:1052560 Change-Id: I3aed298db01bdb5f6e7f37a74c1bbc06f99d760c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2279931Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
parent cbdb76b0
......@@ -381,7 +381,7 @@ angle_static_library("angle_gpu_info_util") {
if (is_mac) {
sources += libangle_gpu_info_util_mac_sources
libs += [
frameworks = [
"IOKit.framework",
"CoreFoundation.framework",
"CoreGraphics.framework",
......@@ -678,7 +678,7 @@ angle_source_set("libANGLE_base") {
}
if (is_mac) {
sources += libangle_gl_cgl_sources
libs += [
frameworks = [
"Cocoa.framework",
"IOSurface.framework",
"OpenGL.framework",
......
......@@ -94,7 +94,7 @@ angle_source_set("angle_metal_backend") {
cflags_objcc += objc_flags
if (is_mac) {
libs += [
frameworks = [
"Cocoa.framework",
"IOSurface.framework",
"QuartzCore.framework",
......
......@@ -53,7 +53,7 @@ angle_static_library("angle_test_expectations") {
sources = test_expectations_sources
if (is_mac) {
sources += test_expectations_sources_mac
libs = [ "Cocoa.framework" ]
frameworks = [ "Cocoa.framework" ]
}
}
......@@ -146,7 +146,7 @@ if (is_win || is_linux || is_mac || is_android || is_fuchsia) {
if (is_mac) {
sources += angle_end2end_tests_mac_sources
libs += [
frameworks = [
"CoreFoundation.framework",
"IOSurface.framework",
]
......
......@@ -173,7 +173,7 @@ foreach(is_shared_library,
}
if (is_mac) {
libs += [
frameworks = [
"AppKit.framework",
"QuartzCore.framework",
]
......
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