tools/code_coverage/coverage_utils.py
def GetHostPlatform():
  """Returns the host platform.

  This is separate from the target platform/os that coverage is running for.
  """
  if sys.platform == 'win32' or sys.platform == 'cygwin':
    return 'win'
  if sys.platform.startswith('linux'):
    return 'linux'
  else:
    assert sys.platform == 'darwin'
    return 'mac'
Returns the host platform.

  This is separate from the target platform/os that coverage is running for.
  
Returns the host platform.
This is separate from the target platform/os that coverage is running for.
Returns the host platform . This is separate from the target platform / os that coverage is running for .
def GetHostPlatform():
  if sys.platform == 'win32' or sys.platform == 'cygwin':
    return 'win'
  if sys.platform.startswith('linux'):
    return 'linux'
  else:
    assert sys.platform == 'darwin'
    return 'mac'
def GetHostPlatform ( ) : if sys . platform == 'win32' or sys . platform == 'cygwin' : return 'win' if sys . platform . startswith ( 'linux' ) : return 'linux' else : assert sys . platform == 'darwin' return 'mac'
Returns the host platform.
Returns the host platform .
"""Returns the host platform.

  This is separate from the target platform/os that coverage is running for.
  """