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, updateBuildRuleResolverequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypeisSupportedpublic 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 BuildRulegetSourcePathToOutput in class ModernBuildRule<CxxThinLTOOpt.Impl>public SourcePath getInput()