⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 240339 in webkit


Ignore:
Timestamp:
Jan 23, 2019, 9:23:29 AM (8 years ago)
Author:
Jonathan Bedard
Message:

webkitpy: Use correct config for --iphone-simulator and --ipad-simulator
https://bugs.webkit.org/show_bug.cgi?id=193722
<rdar://problem/47481475>

Reviewed by Lucas Forschler.

iPhone and iPad ports should both use the iOS config.

  • Scripts/webkitpy/port/ios_simulator.py:

(IPhoneSimulatorPort.init):
(IPadSimulatorPort.init):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r240331 r240339  
     12019-01-23  Jonathan Bedard  <jbedard@apple.com>
     2
     3        webkitpy: Use correct config for --iphone-simulator and --ipad-simulator
     4        https://bugs.webkit.org/show_bug.cgi?id=193722
     5        <rdar://problem/47481475>
     6
     7        Reviewed by Lucas Forschler.
     8
     9        iPhone and iPad ports should both use the iOS config.
     10
     11        * Scripts/webkitpy/port/ios_simulator.py:
     12        (IPhoneSimulatorPort.__init__):
     13        (IPadSimulatorPort.__init__):
     14
    1152019-01-23  Rob Buis  <rbuis@igalia.com>
    216
  • trunk/Tools/Scripts/webkitpy/port/ios_simulator.py

    r240163 r240339  
    2525from webkitpy.common.memoized import memoized
    2626from webkitpy.common.version import Version
    27 from webkitpy.port.config import apple_additions
     27from webkitpy.port.config import apple_additions, Config
    2828from webkitpy.port.ios import IOSPort
    2929from webkitpy.xcode.device_type import DeviceType
     
    121121    ]
    122122
     123    def __init__(self, *args, **kwargs):
     124        super(IPhoneSimulatorPort, self).__init__(*args, **kwargs)
     125        self._config = Config(self._executive, self._filesystem, IOSSimulatorPort.port_name)
     126
    123127
    124128class IPadSimulatorPort(IOSSimulatorPort):
     
    127131    DEVICE_TYPE = DeviceType(hardware_family='iPad')
    128132    DEFAULT_DEVICE_TYPES = [DeviceType(hardware_family='iPad', hardware_type='(5th generation)')]
     133
     134    def __init__(self, *args, **kwargs):
     135        super(IPadSimulatorPort, self).__init__(*args, **kwargs)
     136        self._config = Config(self._executive, self._filesystem, IOSSimulatorPort.port_name)
Note: See TracChangeset for help on using the changeset viewer.