public class CxxThinLTOOpt extends ModernBuildRule<CxxThinLTOOpt.Impl> implements CxxIntermediateBuildProduct
Modifier and Type | Class and Description |
---|---|
static class |
CxxThinLTOOpt.Impl
Buildable implementation for CxxThinLTOOpt.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<String> |
getCommand(BuildContext context)
Returns the compilation command (used for compdb).
|
SourcePath |
getInput() |
SourcePath |
getSourcePathToOutput() |
static CxxThinLTOOpt |
optimize(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
SourcePathRuleFinder ruleFinder,
com.facebook.buck.cxx.CompilerDelegate compilerDelegate,
String outputName,
SourcePath input,
SourcePath thinIndicesRoot,
CxxSource.Type inputType,
DebugPathSanitizer sanitizer) |
compareTo, getBuildable, getBuildCellPathFactory, getBuildDeps, getBuildSteps, getOutputPathResolver, getSetupStepsForBuildable, getSourcePath, getSourcePaths, injectFieldsIfNecessary, inputBasedRuleKeyIsEnabled, recordOutputs, recordOutputs, recordOutputs, stepsForBuildable, stepsForBuildable, updateBuildRuleResolver
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
isSupported
public static CxxThinLTOOpt optimize(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, SourcePathRuleFinder ruleFinder, com.facebook.buck.cxx.CompilerDelegate compilerDelegate, String outputName, SourcePath input, SourcePath thinIndicesRoot, CxxSource.Type inputType, DebugPathSanitizer sanitizer)
CxxThinLTOOpt
step that optimizes the given bitcode source.public com.google.common.collect.ImmutableList<String> getCommand(BuildContext context)
public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
getSourcePathToOutput
in class ModernBuildRule<CxxThinLTOOpt.Impl>
public SourcePath getInput()