code: def construct_result (self, consumed, project, name, prop_set):
          
          if __debug__:
              from .targets import ProjectTarget
              assert is_iterable_typed(consumed, virtual_target.VirtualTarget)
              assert isinstance(project, ProjectTarget)
              assert isinstance(name, basestring) or name is None
              assert isinstance(prop_set, property_set.PropertySet)
          result = []
          # If this is 1->1 transformation, apply it to all consumed targets in order.
          if len (self.source_types_) < 2 and not self.composing_:
  
              for r in consumed:
                  result.extend(self.generated_targets([r], prop_set, project, name))
          elif consumed:
              result.extend(self.generated_targets(consumed, prop_set, project, name))
  
          return result
docs: Constructs the dependency graph that will be returned by this
              generator.
                  consumed:        Already prepared list of consumable targets
                                   If generator requires several source files will contain
                                   exactly len $(self.source_types_) targets with matching types
                                   Otherwise, might contain several targets with the type of
                                   self.source_types_ [0]
                  project:
                  name:
                  prop_set:        Properties to be used for all actions create here