Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 86a2b88ebcc56f242ce8605b6a7228fec4ade7b8
      
https://github.com/WebKit/WebKit/commit/86a2b88ebcc56f242ce8605b6a7228fec4ade7b8
  Author: Elliott Williams <[email protected]>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M Source/WebKit/CMakeLists.txt
    M Source/WebKit/PlatformCocoa.cmake
    M Source/cmake/OptionsCocoa.cmake
    M Source/cmake/WebKitFeatures.cmake
    M Tools/TestWebKitAPI/PlatformCocoa.cmake
    M Tools/WebKitTestRunner/PlatformCocoa.cmake

  Log Message:
  -----------
  [CMake] Unify the iOS and macOS XPC service definitions
https://bugs.webkit.org/show_bug.cgi?id=323941
rdar://187181320

Reviewed by Zak Ridouh.

Mac and iOS builds both had their own WEBKIT_DEFINE_XPC_SERVICES, and
the iOS one was not using the `WebKitMacros.cmake` family of macros, so
it had to redefine shared logic such as code signing.

There is no good reason for these to be platform-independent
descriptions; merge them.

The control flow for configuring XPC services is now:

WEBKIT_DEFINE_AUXILIARY_PROCESSES()
- Prepares entitlements
- Determines what process model the build is using and calls either:
    - WEBKIT_DEFINE_PROCESS_EXTENSIONS()
        - Configures ExtensionKit targets including bundle resources
        - Writes service bundles to outer build directory
    - WEBKIT_DEFINE_XPC_SERVICES()
        - Configures XPC servicces targets including bundle resources
            - Including WCP variants (EnhancedSecurity, CaptivePortal,
              Development)
        - For simulated platforms, generates DER entitlements and adds
          sections to the linked binary for wrapped entitlements
        - Writes service bundles to WebKit.framework/XPCServices
    - WEBKIT_DEFINE_MACOS_RESOURCES()
        - Custom targets for: sandbox profiles, nibs, mlmodels
    - WEBKIT_DEFINE_IOS_RESOURCES()
        - Copies resources into WebKit.framework
        - Custom targets for sandbox profiles
        - Creates symlinks for XPC services (TODO: is this dead?)
    - WEBKIT_DEFINE_IOS_DAEMONS()
        - Configures targets for webpushd and adattributiond

* Source/WebKit/CMakeLists.txt:
* Source/WebKit/PlatformCocoa.cmake:

commit-id:00e0e61f
Canonical link: https://commits.webkit.org/321823@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to