b494d6b0de
https://bugs.webkit.org/show_bug.cgi?id=224812 Patch by Kimmo Kinnunen <kkinnunen@apple.com> on 2021-04-20 Reviewed by Alexey Proskuryakov. Compile and use gtest as a static library that does not export any symbols. Fixes link-time warnings about mismatch of symbol visibility. The error occurs when gtest.a is compiled exporting symbols with default visibility, but the clients use the library and hide the symbols via ld flags. Source/ThirdParty: * gtest/xcode/Config/StaticLibraryTarget.xcconfig: Compile the static gtest with GTEST_API_= Tools: * TestWebKitAPI/Configurations/TestWTF.xcconfig: * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig: Compile the gtest clients with GTEST_API_= Canonical link: https://commits.webkit.org/236800@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276319 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
Config | ||
Resources | ||
Samples/FrameworkSample | ||
Scripts | ||
gtest.xcodeproj | ||
Makefile |