def _GetTargetsDependingOnMatchingTargets(possible_targets):
 found = []
 print 'Targets that matched by dependency:'
 for target in possible_targets:
  if _DoesTargetDependOnMatchingTargets(target):
   found.append(target)
 return found

def _GetTargetsDependingOnMatchingTargets ( possible_targets ) : found = [ ] print 'Targets that matched by dependency:' for target in possible_targets : if _DoesTargetDependOnMatchingTargets ( target ) : found . append ( target ) return found
returns the list of targets in |possible_targets| that depend on at least one of the targets containing the files supplied as input to analyzer .