public class CxxLibraryFactory extends Object
Constructor and Description |
---|
CxxLibraryFactory(ToolchainProvider toolchainProvider,
CxxBuckConfig cxxBuckConfig,
InferBuckConfig inferBuckConfig) |
Modifier and Type | Method and Description |
---|---|
BuildRule |
createBuildRule(TargetGraph targetGraph,
BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams metadataRuleParams,
ActionGraphBuilder graphBuilder,
CellPathResolver cellRoots,
CxxLibraryDescriptionArg args,
Optional<Linker.LinkableDepType> linkableDepType,
Optional<SourcePath> bundleLoader,
com.google.common.collect.ImmutableSet<BuildTarget> blacklist,
com.google.common.collect.ImmutableSortedSet<BuildTarget> extraDeps,
CxxLibraryDescription.TransitiveCxxPreprocessorInputFunction transitiveCxxPreprocessorInputFunction,
CxxLibraryDescriptionDelegate delegate) |
Iterable<BuildTarget> |
getPlatformParseTimeDeps(TargetConfiguration targetConfiguration) |
public CxxLibraryFactory(ToolchainProvider toolchainProvider, CxxBuckConfig cxxBuckConfig, InferBuckConfig inferBuckConfig)
public BuildRule createBuildRule(TargetGraph targetGraph, BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams metadataRuleParams, ActionGraphBuilder graphBuilder, CellPathResolver cellRoots, CxxLibraryDescriptionArg args, Optional<Linker.LinkableDepType> linkableDepType, Optional<SourcePath> bundleLoader, com.google.common.collect.ImmutableSet<BuildTarget> blacklist, com.google.common.collect.ImmutableSortedSet<BuildTarget> extraDeps, CxxLibraryDescription.TransitiveCxxPreprocessorInputFunction transitiveCxxPreprocessorInputFunction, CxxLibraryDescriptionDelegate delegate)
public Iterable<BuildTarget> getPlatformParseTimeDeps(TargetConfiguration targetConfiguration)
Iterable
with platform dependencies that need to be resolved at parse time.