public class HeaderSymlinkTree extends MappedSymlinkTree
category, root, type
Constructor and Description |
---|
HeaderSymlinkTree(BuildTarget target,
ProjectFilesystem filesystem,
Path root,
com.google.common.collect.ImmutableMap<Path,SourcePath> links) |
Modifier and Type | Method and Description |
---|---|
Optional<SourcePath> |
getHeaderMapSourcePath() |
PathSourcePath |
getIncludeSourcePath()
Get path to use as an include path to get access to the files in the tree.
|
getLinks
getBuildDeps, getBuildSteps, getResolvedSymlinks, getRoot, getRootSourcePath, getRuntimeDeps, getSourcePathToOutput, getType, getVerifyStep, isCacheable, resolveDuplicateRelativePaths, shouldDeleteExistingSymlink
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, hasBuildSteps, hashCode, injectFields, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
inputBasedRuleKeyIsEnabled, isSupported
compareTo, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
public HeaderSymlinkTree(BuildTarget target, ProjectFilesystem filesystem, Path root, com.google.common.collect.ImmutableMap<Path,SourcePath> links)
public PathSourcePath getIncludeSourcePath()
If getHeaderMapSourcePath()
is present, then the path it returns needs to be passed
as an include path as well and it has to be passed before the path returned from this method.
This path should not be added to rulekeys as a SourcePath (in some cases it points to the entire buck-out).
public Optional<SourcePath> getHeaderMapSourcePath()