Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 588c4da089ce18071c3f0685c3380fb54476e413
      
https://github.com/WebKit/WebKit/commit/588c4da089ce18071c3f0685c3380fb54476e413
  Author: Ben Schwartz <[email protected]>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M Tools/Scripts/webkitpy/common/system/platforminfo.py
    M Tools/Scripts/webkitpy/port/factory.py
    M Tools/Scripts/webkitpy/port/visionos.py
    A Tools/Scripts/webkitpy/port/visionos_device.py
    M Tools/Scripts/webkitpy/xcode/device_type.py

  Log Message:
  -----------
  [webkitpy] Add VisionOSDevicePort.
https://bugs.webkit.org/show_bug.cgi?id=293140
rdar://151479231

Reviewed by Sam Sneddon.

This PR adds a port for visionOS devices, as Vision is the only simulated
device type that doesn't have a matching device port.

* Tools/Scripts/webkitpy/common/system/platforminfo.py:
    (PlatformInfo):
        -> (is_visionos): Returns true if the platform is visionOS.
        -> (_determine_os_name): Adds a switch case that 'visionos' if the 
platform is visionOS.
* Tools/Scripts/webkitpy/port/factory.py:
    (PortFactory):
        -> (PORT_CLASSES): Add VisionOSDevicePort.
* Tools/Scripts/webkitpy/port/visionos.py:
    (VisionOSPort):
        -> (CURRENT_VERSION): Bump to 2.
        -> (default_baseline_search_path): Differentiate between simulator and 
device.
* Tools/Scripts/webkitpy/port/visionos_device.py: Added.
* Tools/Scripts/webkitpy/xcode/device_type.py:
    (DeviceType):
        -> (_define_software_variant_from_hardware_family): Add handling for 
visionOS that is consistent with other platforms.
        -> (check_consistency): Ditto.

Canonical link: https://commits.webkit.org/295033@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