Package com.facebook.buck.core.artifact
Class BuildTargetSourcePathToArtifactConverter
- java.lang.Object
-
- com.facebook.buck.core.artifact.BuildTargetSourcePathToArtifactConverter
-
public class BuildTargetSourcePathToArtifactConverter extends Object
Utility for converting legacyExplicitBuildTargetSourcePath
from rules to newArtifact
s.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BuildArtifact
convert(ProjectFilesystem filesystem, SourcePath sourcePath)
-
-
-
Method Detail
-
convert
public static BuildArtifact convert(ProjectFilesystem filesystem, SourcePath sourcePath)
- Parameters:
sourcePath
- theSourcePath
of the legacy target. This should be aBuildTargetSourcePath
of eitherExplicitBuildTargetSourcePath
orForwardingBuildTargetSourcePath
.- Returns:
- a
BuildArtifact
that refers to theSourcePath
of a legacyBuildRule
.
-
-