Build fix: add gtest dependency to gmock project. The gmock project depends on headers from the gtest project, but Xcode is not aware of this dependency, so gmock can sometimes build before gtest, resulting in a build failure: ``` In file included from OpenSource/Source/ThirdParty/gmock/src/gmock-all.cc:39: In file included from include/gmock/gmock.h:59: In file included from include/gmock/gmock-actions.h:145: In file included from include/gmock/internal/gmock-internal-utils.h:46: include/gmock/internal/gmock-port.h:56:10: fatal error: 'gtest/internal/gtest-port.h' file not found #include <gtest/internal/gtest-port.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/gmock/internal/gmock-port.h:56:10: note: did not find header 'internal/gtest-port.h' in framework 'gtest' (loaded from 'OpenSource/WebKitBuild/Release') 1 error generated. ```
<rdar://problem/117266314>
Pull request: https://github.com/WebKit/WebKit/pull/19347
Committed 269581@main (14adb9294c87): <https://commits.webkit.org/269581@main> Reviewed commits have been landed. Closing PR #19347 and removing active labels.