Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 882d478e53f184ca8e9461bf21dcc43e3396b0a3
https://github.com/WebKit/WebKit/commit/882d478e53f184ca8e9461bf21dcc43e3396b0a3
Author: David Kilzer <[email protected]>
Date: 2026-04-29 (Wed, 29 Apr 2026)
Changed paths:
M Tools/TestWebKitAPI/config.h
Log Message:
-----------
[TestWebKitAPI] Guard WebCore and WebKit includes per target in config.h
Xcode path
<https://bugs.webkit.org/show_bug.cgi?id=313638>
<rdar://175841808>
Reviewed by Jonathan Bedard.
Guard WebCore, PAL, and WebKit includes in the Xcode path of
config.h so targets that do not link those frameworks skip
headers they cannot find in Production builds.
`WebCore.framework` is not part of the macOS SDK -- it only
exists as a build product. In Production builds, WebCore
headers are provided to dependent targets through the build
record system, but targets that do not link WebCore (TestWGSL,
TestWTF) cannot find `<WebCore/PlatformExportMacros.h>` and do
not need it. Similarly, `<WebKit/WebKit2_C.h>` is not needed
by TestIPC, TestWGSL, or TestWTF; and `<WebKit/WebKit.h>` and
`<WebKit/WebKitLegacy.h>` are not needed by TestWGSL or
TestWTF.
* Tools/TestWebKitAPI/config.h:
Canonical link: https://commits.webkit.org/312294@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications