Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 306f195925e3a2763d3b44a5efdc01809cd420df
      
https://github.com/WebKit/WebKit/commit/306f195925e3a2763d3b44a5efdc01809cd420df
  Author: Elliott Williams <[email protected]>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M Configurations/CommonBase.xcconfig
    M Source/JavaScriptCore/Configurations/JavaScriptCore.xcconfig
    M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
    M Source/WTF/Scripts/audit-spi-if-needed.sh
    M Source/WebCore/Configurations/AllowedSPI-legacy.toml
    M Source/WebCore/Configurations/WebCore.xcconfig
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebGPU/Configurations/WebGPU.xcconfig
    M Source/WebGPU/WebGPU.xcodeproj/project.pbxproj
    M Source/WebKit/Configurations/All.xcconfig
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj
    M Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig
    M Tools/Scripts/libraries/webkitapipy/webkitapipy/program.py

  Log Message:
  -----------
  [Xcode] Add build settings for audit-spi and track allowlists
https://bugs.webkit.org/show_bug.cgi?id=297358

Reviewed by Brianna Fan and Sam Sneddon.

WK_AUDIT_SPI_ALLOWLISTS controls which allowlists are used, and
accomodates separate allowlists coming from WebKitAdditions.

WK_OTHER_AUDIT_SPI_FLAGS passes additional flags to audit-spi. Right
now, CommonBase passes a special definition, "SDKDB_HAS_148943382", to
indicate when allowlists need to work around rdar://148943382.

Move WebKit's invocation of audit-spi to the end of the "Everything"
aggregate, so that it actually runs after WebKitSwift and
_WebKit_SwiftUI have finished building.

In Xcode projects, remove target-specific code from the audit-spi script
phases, add project references for allowlists, and in some cases expose
build settings to the aggregate target that runs audit-spi by adding a
base xcconfig.

* Configurations/CommonBase.xcconfig:
* Source/JavaScriptCore/Configurations/JavaScriptCore.xcconfig:
* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
* Source/WTF/Scripts/audit-spi-if-needed.sh:
* Source/WebCore/Configurations/AllowedSPI-legacy.toml:
* Source/WebCore/Configurations/WebCore.xcconfig:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebGPU/Configurations/WebGPU.xcconfig:
* Source/WebGPU/WebGPU.xcodeproj/project.pbxproj:
* Source/WebKit/Configurations/All.xcconfig:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj:
* Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig:
* Tools/Scripts/libraries/webkitapipy/webkitapipy/program.py:
(get_parser): Change how allowlists are passed on the CLI to make it
possible to intermix them with other arguments.

Canonical link: https://commits.webkit.org/298712@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to