public class ProjectGenerator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProjectGenerator.Result
The output from generating an Xcode project.
|
Constructor and Description |
---|
ProjectGenerator(XCodeDescriptions xcodeDescriptions,
TargetGraph targetGraph,
AppleDependenciesCache dependenciesCache,
ProjectGenerationStateCache projGenerationStateCache,
Set<BuildTarget> projectTargets,
Cell cell,
String buildFileName,
ProjectGeneratorOptions options,
RuleKeyConfiguration ruleKeyConfiguration,
BuildTarget workspaceTarget,
com.google.common.collect.ImmutableSet<BuildTarget> targetsInRequiredProjects,
CxxPlatform defaultCxxPlatform,
com.google.common.collect.ImmutableSet<Flavor> appleCxxFlavors,
java.util.function.Function<? super TargetNode<?>,ActionGraphBuilder> actionGraphBuilderForNode,
BuckEventBus buckEventBus,
HalideBuckConfig halideBuckConfig,
CxxBuckConfig cxxBuckConfig,
AppleConfig appleConfig,
SwiftBuckConfig swiftBuckConfig,
Optional<com.google.common.collect.ImmutableMap<BuildTarget,TargetNode<?>>> sharedLibraryToBundle) |
Modifier and Type | Method and Description |
---|---|
ProjectGenerator.Result |
createXcodeProject(com.facebook.buck.features.apple.projectV2.XcodeProjectWriteOptions xcodeProjectWriteOptions,
com.google.common.util.concurrent.ListeningExecutorService listeningExecutorService)
Creates an xcode project.
|
public ProjectGenerator(XCodeDescriptions xcodeDescriptions, TargetGraph targetGraph, AppleDependenciesCache dependenciesCache, ProjectGenerationStateCache projGenerationStateCache, Set<BuildTarget> projectTargets, Cell cell, String buildFileName, ProjectGeneratorOptions options, RuleKeyConfiguration ruleKeyConfiguration, BuildTarget workspaceTarget, com.google.common.collect.ImmutableSet<BuildTarget> targetsInRequiredProjects, CxxPlatform defaultCxxPlatform, com.google.common.collect.ImmutableSet<Flavor> appleCxxFlavors, java.util.function.Function<? super TargetNode<?>,ActionGraphBuilder> actionGraphBuilderForNode, BuckEventBus buckEventBus, HalideBuckConfig halideBuckConfig, CxxBuckConfig cxxBuckConfig, AppleConfig appleConfig, SwiftBuckConfig swiftBuckConfig, Optional<com.google.common.collect.ImmutableMap<BuildTarget,TargetNode<?>>> sharedLibraryToBundle)
public ProjectGenerator.Result createXcodeProject(com.facebook.buck.features.apple.projectV2.XcodeProjectWriteOptions xcodeProjectWriteOptions, com.google.common.util.concurrent.ListeningExecutorService listeningExecutorService) throws IOException, InterruptedException
IOException
- An IO exception occurred while trying to write to disk.InterruptedException