Commit 08a294d3 by Sylvain Defresne

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: Ief11c081d55b07e61252a3c66c315ceaf79de0b7 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/46108 Kokoro-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Presubmit-Ready: Sylvain Defresne <sdefresne@chromium.org>
parent 76cae97f
...@@ -76,7 +76,7 @@ swiftshader_source_set("swiftshader_main") { ...@@ -76,7 +76,7 @@ swiftshader_source_set("swiftshader_main") {
if (is_mac) { if (is_mac) {
include_dirs += [ "../../include" ] include_dirs += [ "../../include" ]
libs = [ frameworks = [
"Quartz.framework", "Quartz.framework",
"Cocoa.framework", "Cocoa.framework",
] ]
......
...@@ -67,7 +67,7 @@ swiftshader_shared_library("swiftshader_libEGL") { ...@@ -67,7 +67,7 @@ swiftshader_shared_library("swiftshader_libEGL") {
if (is_mac) { if (is_mac) {
sources += [ "OSXUtils.mm" ] sources += [ "OSXUtils.mm" ]
libs = [ frameworks = [
"Quartz.framework", "Quartz.framework",
"Cocoa.framework", "Cocoa.framework",
"CoreFoundation.framework", "CoreFoundation.framework",
......
...@@ -93,7 +93,7 @@ swiftshader_static_library("swiftshader_libGLESv2_static") { ...@@ -93,7 +93,7 @@ swiftshader_static_library("swiftshader_libGLESv2_static") {
] ]
if (is_mac) { if (is_mac) {
libs = [ frameworks = [
"CoreFoundation.framework", "CoreFoundation.framework",
"IOSurface.framework", "IOSurface.framework",
] ]
......
...@@ -54,7 +54,7 @@ swiftshader_source_set("WSI") { ...@@ -54,7 +54,7 @@ swiftshader_source_set("WSI") {
"MetalSurface.hpp", "MetalSurface.hpp",
"MetalSurface.mm", "MetalSurface.mm",
] ]
libs = [ frameworks = [
"Cocoa.framework", "Cocoa.framework",
"QuartzCore.framework", "QuartzCore.framework",
] ]
......
...@@ -54,7 +54,7 @@ if (build_with_chromium) { ...@@ -54,7 +54,7 @@ if (build_with_chromium) {
"-rpath", "-rpath",
"@executable_path/", "@executable_path/",
] ]
libs = [ frameworks = [
"CoreFoundation.framework", "CoreFoundation.framework",
"IOSurface.framework", "IOSurface.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