https://pantsbuild.org/ logo
b

bored-art-40741

09/03/2015, 1:48 AM
Copy code
-    # Compute jar -> target.
-    self.context.log.debug('Mapping jars...')
-    compile_classpath = self.context.products.get_data('compile_classpath')
-    for jar_lib in self.context.targets(lambda t: isinstance(t, JarLibrary)):
-      for _, artifact_path in compile_classpath.get_for_target(jar_lib, transitive=False):
-        targets_by_file[artifact_path].add(jar_lib)