def analyze_deps(related_targets):
 _expand_deps(related_targets)
 return _topological_sort(related_targets)

def analyze_deps ( related_targets ) : _expand_deps ( related_targets ) return _topological_sort ( related_targets )
analyze the dependency relationship between targets .