(spec)
return platforms
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.
Returns the list of unique platforms for this spec, e.g ['win32', ...].
Returns the list of unique platforms for this spec e . g [ win32 ... ] .
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
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