parameters: (spec)
return_statement: return platforms
docstring: Returns the list of unique platforms for this spec, e.g ['win32', ...].
  
    Arguments:
      spec: The target dictionary containing the properties of the target.
    Returns:
      The MSVSUserFile object created.
docstring_summary: Returns the list of unique platforms for this spec, e.g ['win32', ...].
docstring_tokens: Returns the list of unique platforms for this spec e . g [ win32 ... ] .
function: def _GetUniquePlatforms(spec):
    """Returns the list of unique platforms for this spec, e.g ['win32', ...].
  
    Arguments:
      spec: The target dictionary containing the properties of the target.
    Returns:
      The MSVSUserFile object created.
    """
    # Gather list of unique platforms.
    platforms = OrderedSet()
    for configuration in spec['configurations']:
      platforms.add(_ConfigPlatform(spec['configurations'][configuration]))
    platforms = list(platforms)
    return platforms
function_tokens: def _GetUniquePlatforms ( spec ) : # Gather list of unique platforms. platforms = OrderedSet ( ) for configuration in spec [ 'configurations' ] : platforms . add ( _ConfigPlatform ( spec [ 'configurations' ] [ configuration ] ) ) platforms = list ( platforms ) return platforms