Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b6ce147079ec6cc0e825b1dfa7ed7d0a3db3b6f6
      
https://github.com/WebKit/WebKit/commit/b6ce147079ec6cc0e825b1dfa7ed7d0a3db3b6f6
  Author: Elliott Williams <[email protected]>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M Source/WebCore/PlatformCocoa.cmake
    M Source/WebCore/SourcesCMakeCocoa.txt
    M Source/WebKit/CMakeLists.txt
    M Source/WebKit/PlatformCocoa.cmake
    M Source/WebKit/PlatformMac.cmake
    M Source/WebKit/SwiftPrewarmMac.swift
    M Source/cmake/OptionsIOS.cmake
    M Source/cmake/OptionsMac.cmake
    M Source/cmake/WebKitFeatures.cmake
    M Source/cmake/WebKitXcodeSDK.cmake

  Log Message:
  -----------
  [CMake][Mac] Build with the internal SDK
https://bugs.webkit.org/show_bug.cgi?id=319146
rdar://181964169

Reviewed by Zak Ridouh and Richard Robinson.

Make adjustments to the build config to support the internal macOS SDK.
It will be used by default when available (same behavior as iOS).

To force a build with the public SDK, run cmake with
`-DCMAKE_OSX_SYSROOT=macosx`.

* Source/WebCore/PlatformCocoa.cmake: Read from
  SourcesCocoaInternalSDK.txt
* Source/WebCore/SourcesCMakeCocoa.txt: These sources come from the
  above internal SDK source list; they don't belong here.
* Source/WebKit/CMakeLists.txt:
* Source/WebKit/PlatformCocoa.cmake:
* Source/WebKit/PlatformMac.cmake: The command for generating log
  sources needs to pass FEATURE_DEFINES_WITH_SPACE_SEPARATOR unquoted.
  Otherwise the list of defines is passed as one big argument and
  ignored by the script.
* Source/WebKit/SwiftPrewarmMac.swift:
* Source/cmake/OptionsIOS.cmake: Define some build options which are
  always enabled in the Xcode build, and deeded by internal-only code.
* Source/cmake/OptionsMac.cmake: Ditto.
* Source/cmake/WebKitFeatures.cmake: Ditto.
* Source/cmake/WebKitXcodeSDK.cmake: For Mac and JSCOnly ports, pick
  macosx.internal by default.

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



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

Reply via email to