public class PrebuiltPythonLibrary extends AbstractBuildRuleWithDeclaredAndExtraDeps implements PythonPackagable
| Constructor and Description |
|---|
PrebuiltPythonLibrary(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
SourcePath binarySrc,
boolean excludeDepsFromOmnibus,
boolean compile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesPythonPackageDisallowOmnibus(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder)
Allow this rule to opt-out it's transitive dependencies from omnibus linking.
|
com.google.common.collect.ImmutableList<? extends Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
Optional<PythonComponents> |
getPythonBytecode(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder)
Compiled Python bytecode (e.g.
|
Optional<PythonComponents> |
getPythonModules(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder)
Python modules (i.e.
|
Iterable<BuildRule> |
getPythonPackageDeps(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder) |
Optional<PythonComponents> |
getPythonResources(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder)
Resources (e.g.
|
SourcePath |
getSourcePathToOutput() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitisPythonZipSafegetBuildTargetcompareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecutionpublic PrebuiltPythonLibrary(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, SourcePath binarySrc, boolean excludeDepsFromOmnibus, boolean compile)
public Iterable<BuildRule> getPythonPackageDeps(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
getPythonPackageDeps in interface PythonPackagablepublic Optional<PythonComponents> getPythonModules(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagablegetPythonModules in interface PythonPackagablePath form (including
extension).public Optional<PythonComponents> getPythonResources(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagablegetPythonResources in interface PythonPackagablePath.public Optional<PythonComponents> getPythonBytecode(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagablegetPythonBytecode in interface PythonPackagablePath form
(including extension).public com.google.common.collect.ImmutableList<? extends Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps in interface BuildRule@Nullable public SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulepublic boolean doesPythonPackageDisallowOmnibus(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagabledoesPythonPackageDisallowOmnibus in interface PythonPackagablePythonPackagable's transitive deps must be excluded from omnibus
linking.