public abstract class CxxPythonExtension extends NoopBuildRuleWithDeclaredAndExtraDeps implements PythonPackagable, HasRuntimeDeps
Constructor and Description |
---|
CxxPythonExtension(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params) |
Modifier and Type | Method and Description |
---|---|
protected abstract BuildRule |
getExtension(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder) |
abstract Path |
getModule() |
abstract NativeLinkTarget |
getNativeLinkTarget(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder,
boolean includePrivateLinkerFlags) |
abstract Optional<PythonMappedComponents> |
getPythonModules(PythonPlatform pythonPlatform,
CxxPlatform cxxPlatform,
ActionGraphBuilder graphBuilder)
Python modules (i.e.
|
Optional<Boolean> |
isPythonZipSafe() |
getBuildSteps, getSourcePathToOutput, hasBuildSteps, isCacheable
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hashCode, injectFields, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
doesPythonPackageDisallowOmnibus, getPythonBytecode, getPythonPackageDeps, getPythonResources
getBuildTarget
getRuntimeDeps
compareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
public CxxPythonExtension(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params)
protected abstract BuildRule getExtension(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
public abstract Path getModule()
public abstract Optional<PythonMappedComponents> getPythonModules(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder)
PythonPackagable
getPythonModules
in interface PythonPackagable
Path
form (including
extension).public Optional<Boolean> isPythonZipSafe()
isPythonZipSafe
in interface PythonPackagable
public abstract NativeLinkTarget getNativeLinkTarget(PythonPlatform pythonPlatform, CxxPlatform cxxPlatform, ActionGraphBuilder graphBuilder, boolean includePrivateLinkerFlags)