public class BuildTargetSourcePathToArtifactConverter extends Object
ExplicitBuildTargetSourcePath from rules to new Artifacts.| Modifier and Type | Method and Description |
|---|---|
static BuildArtifact |
convert(ProjectFilesystem filesystem,
SourcePath sourcePath) |
public static BuildArtifact convert(ProjectFilesystem filesystem, SourcePath sourcePath)
sourcePath - the SourcePath of the legacy target. This should be a BuildTargetSourcePath of either ExplicitBuildTargetSourcePath or ForwardingBuildTargetSourcePath.BuildArtifact that refers to the SourcePath of a legacy BuildRule.