Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7abb8a36f4ff27aea6d492f66f5e149855d96c94
https://github.com/WebKit/WebKit/commit/7abb8a36f4ff27aea6d492f66f5e149855d96c94
Author: Elliott Williams <[email protected]>
Date: 2026-08-31 (Mon, 31 Aug 2026)
Changed paths:
M Tools/Scripts/webkitdirs.pm
Log Message:
-----------
[Build] Clean up Apple platform port names in webkitdirs
https://bugs.webkit.org/show_bug.cgi?id=322766
rdar://186030053
Reviewed by Richard Robinson.
The CMake build uses a "Cocoa" port for all Apple platforms. Remove the
platform-specific port names in webkitdirs. This cleans up the code to
work the same way that CMake does: Port is always "Cocoa" when building
for an Apple platform, and the requested SDK determines which platform.
No functional change, but this causes build-webkit to now pass
-DPORT=Cocoa instead of the legacy `-DPORT=Mac` argument.
* Tools/Scripts/webkitdirs.pm:
(determineXcodeDestination):
(argumentsForConfiguration):
(sdkPlatformOSName):
(determinePortName):
(isIOSWebKit):
(isTVOSWebKit):
(isWatchOSWebKit):
(isVisionOSWebKit):
(isEmbeddedWebKit):
(isAppleMacWebKit):
(isMacCatalystWebKit):
(isAppleCocoaWebKit):
(willUseMacCatalystSDK):
(willUseSimulatorSDK):
(simulatorIdiom):
(iosSimulatorDeviceByName):
(simulatorRuntime):
(findOrCreateSimulatorForIOSDevice):
(willUseAppleTVDeviceSDK): Deleted.
(willUseAppleTVSimulatorSDK): Deleted.
(willUseWatchDeviceSDK): Deleted.
(willUseWatchSimulatorSDK): Deleted.
(willUseVisionDeviceSDK): Deleted.
(willUseVisionSimulatorSDK): Deleted.
(iosSimulatorRuntime): Deleted.
Canonical link: https://commits.webkit.org/320206@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications