def get_transitive_closure(self, entry_points):
    deps_list = []

    # Always base.js first
    if self.base_dep_file:
      deps_list.append(self.base_dep_file.src_path)

    # Followed by all files in the transitive closure, in order
    for entry_point in entry_points:
      self._add_dependencies(deps_list, entry_point)

    # And finally, any files that look special
    for dep_file in self.dep_files.values():
      if dep_file.is_css_rename_map:
        deps_list.append(dep_file.src_path)

    return deps_list
Identifies the transitive closure of the dependency graph for the given
dataset/ETHPy150Open google/anvil-build/anvil/rules/closure_js_rules.py/JsDependencyGraph.get_transitive_closure