webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Attributes | List of all members
webkitpy.port.factory.PortFactory Class Reference
Inheritance diagram for webkitpy.port.factory.PortFactory:

Public Member Functions

def __init__ (self, host)
 
def get (self, port_name=None, options=None, kwargs)
 
def all_port_names (self, platform=None)
 
def get_from_builder_name (self, builder_name)
 

Static Public Attributes

tuple PORT_CLASSES
 

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.port.factory.PortFactory.__init__ (   self,
  host 
)

Member Function Documentation

◆ all_port_names()

def webkitpy.port.factory.PortFactory.all_port_names (   self,
  platform = None 
)
Return a list of all valid, fully-specified, "real" port names.

This is the list of directories that are used as actual baseline_paths()
by real ports. This does not include any "fake" names like "test"
or "mock-mac", and it does not include any directories that are not.

If platform is not specified, we will glob-match all ports

◆ get()

def webkitpy.port.factory.PortFactory.get (   self,
  port_name = None,
  options = None,
  kwargs 
)
Returns an object implementing the Port interface. If
port_name is None, this routine attempts to guess at the most
appropriate port on this platform.

◆ get_from_builder_name()

def webkitpy.port.factory.PortFactory.get_from_builder_name (   self,
  builder_name 
)

Member Data Documentation

◆ PORT_CLASSES

tuple webkitpy.port.factory.PortFactory.PORT_CLASSES
static
Initial value:
= (
'efl.EflPort',
'gtk.GtkPort',
'ios_simulator.IOSSimulatorPort',
'ios_device.IOSDevicePort',
'mac.MacPort',
'mock_drt.MockDRTPort',
'test.TestPort',
'win.WinCairoPort',
'win.WinPort',
)

The documentation for this class was generated from the following file: