Bug 262025 - Fix TestWTFLibrary dependency on gtest
Summary: Fix TestWTFLibrary dependency on gtest
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-24 20:29 PDT by David Kilzer (:ddkilzer)
Modified: 2023-09-25 13:37 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2023-09-24 20:29:26 PDT
Fix TestWebKitAPI dependency on gtest.

I saw this error when precompiling TestWebKitAPIPrefix.h:

In file included from Tools/TestWebKitAPI/TestWebKitAPIPrefix.h:51:
WebKitBuild/Release/usr/local/include/gtest/gtest.h:62:10: fatal error: 'gtest/internal/gtest-internal.h' file not found
#include "gtest/internal/gtest-internal.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WebKitBuild/Release/usr/local/include/gtest/gtest.h:62:10: note: did not find header 'internal/gtest-internal.h' in framework 'gtest' (loaded from 'WebKitBuild/Release')
1 error generated.
Comment 1 Radar WebKit Bug Importer 2023-09-24 20:29:45 PDT
<rdar://problem/115972063>
Comment 2 David Kilzer (:ddkilzer) 2023-09-24 20:35:03 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18145
Comment 3 EWS 2023-09-25 13:37:26 PDT
Committed 268406@main (4cfc121efdfa): <https://commits.webkit.org/268406@main>

Reviewed commits have been landed. Closing PR #18145 and removing active labels.