parameters: (p, spec, actions_dict)
docstring: Add actions accumulated into an actions_dict, merging as needed.
  
    Arguments:
      p: the target project
      spec: the target project dict
      actions_dict: dictionary keyed on input name, which maps to a list of
          dicts describing the actions attached to that input file.
docstring_summary: Add actions accumulated into an actions_dict, merging as needed.
docstring_tokens: Add actions accumulated into an actions_dict merging as needed .
function: def _AddAccumulatedActionsToMSVS(p, spec, actions_dict):
    """Add actions accumulated into an actions_dict, merging as needed.
  
    Arguments:
      p: the target project
      spec: the target project dict
      actions_dict: dictionary keyed on input name, which maps to a list of
          dicts describing the actions attached to that input file.
    """
    for primary_input in actions_dict:
      inputs = OrderedSet()
      outputs = OrderedSet()
      descriptions = []
      commands = []
      for action in actions_dict[primary_input]:
        inputs.update(OrderedSet(action['inputs']))
        outputs.update(OrderedSet(action['outputs']))
        descriptions.append(action['description'])
        commands.append(action['command'])
      # Add the custom build step for one input file.
      description = ', and also '.join(descriptions)
      command = '\r\n'.join(commands)
      _AddCustomBuildToolForMSVS(p, spec,
                                 primary_input=primary_input,
                                 inputs=inputs,
                                 outputs=outputs,
                                 description=description,
                                 cmd=command)
function_tokens: def _AddAccumulatedActionsToMSVS ( p , spec , actions_dict ) : for primary_input in actions_dict : inputs = OrderedSet ( ) outputs = OrderedSet ( ) descriptions = [ ] commands = [ ] for action in actions_dict [ primary_input ] : inputs . update ( OrderedSet ( action [ 'inputs' ] ) ) outputs . update ( OrderedSet ( action [ 'outputs' ] ) ) descriptions . append ( action [ 'description' ] ) commands . append ( action [ 'command' ] ) # Add the custom build step for one input file. description = ', and also ' . join ( descriptions ) command = '\r\n' . join ( commands ) _AddCustomBuildToolForMSVS ( p , spec , primary_input = primary_input , inputs = inputs , outputs = outputs , description = description , cmd = command )