Bug 308749

Summary: Switch emit-clang-header-min-access to be SDK based
Product: WebKit Reporter: adrian_taylor
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

adrian_taylor
Reported 2026-02-26 06:48:56 PST
We use the Swift compiler flag '-emit-clang-header-min-access internal' to ensure we don't put Swift implementation details into WebKit's public API. We previously flipped this switch based upon whether ENABLE_BACK_FORWARD_LIST_SWIFT or ENABLE_IPC_TESTING_SWIFT was turned on; it's seen as desirable to move those flags into wtf/PlatformEnable.h instead, so we can't rely on them in xcconfig files - instead enable this option on sufficiently recent SDKs irrespective of whether these flags are flipped.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-26 06:49:04 PST
adrian_taylor
Comment 2 2026-02-26 06:51:08 PST
EWS
Comment 3 2026-03-01 11:12:22 PST
Committed 308427@main (09598407876c): <https://commits.webkit.org/308427@main> Reviewed commits have been landed. Closing PR #59511 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.