Commit 8f20452b by Alexis Hetu Committed by Alexis Hétu

Added missing frameworks on MacOs for vertex routine fuzzer

Moved MacOS specific frameworks from swiftshader_libGLESv2 to swiftshader_libGLESv2_static to make sure the static version also links properly. Bug chromium:905648 Change-Id: I7736009abc378d634313028eb51aa0bb221c6419 Reviewed-on: https://swiftshader-review.googlesource.com/c/22608Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 3fc6893c
......@@ -90,6 +90,13 @@ swiftshader_static_library("swiftshader_libGLESv2_static") {
"utilities.cpp",
]
if (is_mac) {
libs = [
"CoreFoundation.framework",
"IOSurface.framework",
]
}
configs = [ ":swiftshader_libGLESv2_private_config" ]
include_dirs = [
......@@ -118,10 +125,6 @@ swiftshader_shared_library("swiftshader_libGLESv2") {
if (is_win) {
ldflags = [ "/DEF:" + rebase_path("libGLESv2.def", root_build_dir) ]
} else if (is_mac) {
libs = [
"CoreFoundation.framework",
"IOSurface.framework",
]
ldflags = [ "-Wl,-install_name,@rpath/libswiftshader_libGLESv2.dylib" ]
} else if (is_linux) {
ldflags =
......
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