public class XcodeNativeTargetGenerator extends Object
GeneratedTargetAttributes to be written into a PBXNativeTarget.| Modifier and Type | Class and Description | 
|---|---|
| static class  | XcodeNativeTargetGenerator.ResultThe result of materializing the build target. | 
| Constructor and Description | 
|---|
| XcodeNativeTargetGenerator(XCodeDescriptions xcodeDescriptions,
                          TargetGraph targetGraph,
                          AppleDependenciesCache dependenciesCache,
                          ProjectGenerationStateCache projGenerationStateCache,
                          ProjectFilesystem projectFilesystem,
                          Path sourceRoot,
                          String buildFileName,
                          com.facebook.buck.features.apple.projectV2.PathRelativizer pathRelativizer,
                          SourcePathResolverAdapter defaultPathResolver,
                          ProjectSourcePathResolver projectSourcePathResolver,
                          ProjectGeneratorOptions options,
                          CxxPlatform defaultCxxPlatform,
                          com.google.common.collect.ImmutableSet<Flavor> appleCxxFlavors,
                          java.util.function.Function<? super TargetNode<?>,ActionGraphBuilder> actionGraphBuilderForNode,
                          HalideBuckConfig halideBuckConfig,
                          com.facebook.buck.features.apple.projectV2.HeaderSearchPaths headerSearchPaths,
                          CxxBuckConfig cxxBuckConfig,
                          AppleConfig appleConfig,
                          SwiftBuckConfig swiftBuckConfig,
                          SwiftAttributeParser swiftAttributeParser,
                          com.facebook.buck.features.apple.projectV2.FlagParser flagParser,
                          Optional<com.google.common.collect.ImmutableMap<BuildTarget,TargetNode<?>>> sharedLibraryToBundle,
                          AbstractPBXObjectFactory objectFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| static com.google.common.collect.ImmutableMap<BuildTarget,TargetNode<?>> | computeSharedLibrariesToBundles(com.google.common.collect.ImmutableSet<TargetNode<?>> targetNodes,
                               TargetGraph targetGraph)Generate a mapping from libraries to the framework bundles that include them. | 
| XcodeNativeTargetGenerator.Result | generateTarget(TargetNode<?> targetNode)Generates the target node. | 
public XcodeNativeTargetGenerator(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, AppleDependenciesCache dependenciesCache, ProjectGenerationStateCache projGenerationStateCache, ProjectFilesystem projectFilesystem, Path sourceRoot, String buildFileName, com.facebook.buck.features.apple.projectV2.PathRelativizer pathRelativizer, SourcePathResolverAdapter defaultPathResolver, ProjectSourcePathResolver projectSourcePathResolver, ProjectGeneratorOptions options, CxxPlatform defaultCxxPlatform, com.google.common.collect.ImmutableSet<Flavor> appleCxxFlavors, java.util.function.Function<? super TargetNode<?>,ActionGraphBuilder> actionGraphBuilderForNode, HalideBuckConfig halideBuckConfig, com.facebook.buck.features.apple.projectV2.HeaderSearchPaths headerSearchPaths, CxxBuckConfig cxxBuckConfig, AppleConfig appleConfig, SwiftBuckConfig swiftBuckConfig, SwiftAttributeParser swiftAttributeParser, com.facebook.buck.features.apple.projectV2.FlagParser flagParser, Optional<com.google.common.collect.ImmutableMap<BuildTarget,TargetNode<?>>> sharedLibraryToBundle, AbstractPBXObjectFactory objectFactory)
public XcodeNativeTargetGenerator.Result generateTarget(TargetNode<?> targetNode) throws IOException
targetNode - The node to generateIOExceptionpublic static com.google.common.collect.ImmutableMap<BuildTarget,TargetNode<?>> computeSharedLibrariesToBundles(com.google.common.collect.ImmutableSet<TargetNode<?>> targetNodes, TargetGraph targetGraph) throws HumanReadableException
HumanReadableException