code: def compute_classpath_entries(cls, targets, classpath_products, extra_classpath_tuples, confs):
      
      classpath_iter = cls._classpath_iter(
        classpath_products.get_classpath_entries_for_targets(targets),
        confs=confs,
      )
      total_classpath = OrderedSet(classpath_iter)
  
      filtered_extra_classpath_iter = cls._filtered_classpath_by_confs_iter(
        extra_classpath_tuples,
        confs,
      )
      extra_classpath_iter = cls._entries_iter(filtered_extra_classpath_iter)
      total_classpath.update(extra_classpath_iter)
      return list(total_classpath)
docs: Return the list of classpath entries for a classpath covering the passed targets.
  
      Filters and adds paths from extra_classpath_tuples to the end of the resulting list.
  
      :param targets: The targets to generate a classpath for.
      :param ClasspathProducts classpath_products: Product containing classpath elements.
      :param extra_classpath_tuples: Additional classpath entries as tuples of
        (string, ClasspathEntry).
      :param confs: The list of confs for use by this classpath.
      :returns: The classpath entries as a list of path elements.
      :rtype: list of ClasspathEntry