public class AppleResourceProcessing extends Object
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableList<String> |
BASE_IBTOOL_FLAGS |
Modifier and Type | Method and Description |
---|---|
static void |
addFrameworksProcessingSteps(Set<SourcePath> frameworks,
Path dirRoot,
com.facebook.buck.apple.AppleBundleDestinations destinations,
com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder,
BuildContext context,
ProjectFilesystem projectFilesystem,
com.google.common.collect.ImmutableList.Builder<Path> codeSignOnCopyPathsBuilder)
Adds framework processing steps to a build rule
|
static void |
addResourceProcessingSteps(SourcePathResolverAdapter resolver,
Path sourcePath,
Path destinationPath,
com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder,
com.google.common.collect.ImmutableList<String> ibtoolFlags,
ProjectFilesystem projectFilesystem,
boolean isLegacyWatchApp,
ApplePlatform platform,
Logger LOG,
Tool ibtool,
boolean ibtoolModuleFlag,
BuildTarget buildTarget,
Optional<String> binaryName)
Adds Resources processing steps to a build rule
|
static void |
addStepsToCopyResources(BuildContext context,
com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder,
com.google.common.collect.ImmutableList.Builder<Path> codeSignOnCopyPathsBuilder,
AppleBundleResources resources,
boolean verifyResources,
Path dirRoot,
com.facebook.buck.apple.AppleBundleDestinations destinations,
ProjectFilesystem projectFilesystem,
com.google.common.collect.ImmutableList<String> ibtoolFlags,
boolean isLegacyWatchApp,
ApplePlatform platform,
Logger LOG,
Tool ibtool,
boolean ibtoolModuleFlag,
BuildTarget buildTarget,
Optional<String> binaryName)
Adds required copy resources steps
|
static void |
addStoryboardProcessingSteps(SourcePathResolverAdapter resolver,
Path sourcePath,
Path destinationPath,
com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder,
com.google.common.collect.ImmutableList<String> ibtoolFlags,
boolean isLegacyWatchApp,
ApplePlatform platform,
ProjectFilesystem projectFilesystem,
Logger LOG,
Tool ibtool,
boolean ibtoolModuleFlag,
BuildTarget buildTarget,
Optional<String> binaryName)
Add Storyboard processing ibtool steps to a build rule
|
static void |
addSwiftStdlibStepIfNeeded(SourcePathResolverAdapter resolver,
Path destinationPath,
Path bundleRoot,
Optional<java.util.function.Supplier<CodeSignIdentity>> codeSignIdentitySupplier,
com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder,
boolean isForPackaging,
String bundleExtension,
boolean copySwiftStdlibToFrameworks,
boolean useLipoThin,
Optional<Tool> swiftStdlibTool,
ProjectFilesystem projectFilesystem,
BuildTarget buildTarget,
Path sdkPath,
Tool lipo,
Path bundleBinaryPath,
com.facebook.buck.apple.AppleBundleDestinations destinations,
boolean isAppClip)
Adds the swift stdlib to the bundle if needed
|
static void |
addVariantFileProcessingSteps(AppleBundleResources resources,
BuildContext context,
Path dirRoot,
com.facebook.buck.apple.AppleBundleDestinations destinations,
com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder,
ProjectFilesystem projectFilesystem,
com.google.common.collect.ImmutableList<String> ibtoolFlags,
boolean isLegacyWatchApp,
ApplePlatform platform,
Logger LOG,
Tool ibtool,
boolean ibtoolModuleFlag,
BuildTarget buildTarget,
Optional<String> binaryName)
Adds Variant file processing steps to a build rule
|
public static final com.google.common.collect.ImmutableList<String> BASE_IBTOOL_FLAGS
public static void addStoryboardProcessingSteps(SourcePathResolverAdapter resolver, Path sourcePath, Path destinationPath, com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder, com.google.common.collect.ImmutableList<String> ibtoolFlags, boolean isLegacyWatchApp, ApplePlatform platform, ProjectFilesystem projectFilesystem, Logger LOG, Tool ibtool, boolean ibtoolModuleFlag, BuildTarget buildTarget, Optional<String> binaryName)
public static void addVariantFileProcessingSteps(AppleBundleResources resources, BuildContext context, Path dirRoot, com.facebook.buck.apple.AppleBundleDestinations destinations, com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder, ProjectFilesystem projectFilesystem, com.google.common.collect.ImmutableList<String> ibtoolFlags, boolean isLegacyWatchApp, ApplePlatform platform, Logger LOG, Tool ibtool, boolean ibtoolModuleFlag, BuildTarget buildTarget, Optional<String> binaryName)
public static void addFrameworksProcessingSteps(Set<SourcePath> frameworks, Path dirRoot, com.facebook.buck.apple.AppleBundleDestinations destinations, com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder, BuildContext context, ProjectFilesystem projectFilesystem, com.google.common.collect.ImmutableList.Builder<Path> codeSignOnCopyPathsBuilder)
public static void addSwiftStdlibStepIfNeeded(SourcePathResolverAdapter resolver, Path destinationPath, Path bundleRoot, Optional<java.util.function.Supplier<CodeSignIdentity>> codeSignIdentitySupplier, com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder, boolean isForPackaging, String bundleExtension, boolean copySwiftStdlibToFrameworks, boolean useLipoThin, Optional<Tool> swiftStdlibTool, ProjectFilesystem projectFilesystem, BuildTarget buildTarget, Path sdkPath, Tool lipo, Path bundleBinaryPath, com.facebook.buck.apple.AppleBundleDestinations destinations, boolean isAppClip)
public static void addResourceProcessingSteps(SourcePathResolverAdapter resolver, Path sourcePath, Path destinationPath, com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder, com.google.common.collect.ImmutableList<String> ibtoolFlags, ProjectFilesystem projectFilesystem, boolean isLegacyWatchApp, ApplePlatform platform, Logger LOG, Tool ibtool, boolean ibtoolModuleFlag, BuildTarget buildTarget, Optional<String> binaryName)
public static void addStepsToCopyResources(BuildContext context, com.google.common.collect.ImmutableList.Builder<Step> stepsBuilder, com.google.common.collect.ImmutableList.Builder<Path> codeSignOnCopyPathsBuilder, AppleBundleResources resources, boolean verifyResources, Path dirRoot, com.facebook.buck.apple.AppleBundleDestinations destinations, ProjectFilesystem projectFilesystem, com.google.common.collect.ImmutableList<String> ibtoolFlags, boolean isLegacyWatchApp, ApplePlatform platform, Logger LOG, Tool ibtool, boolean ibtoolModuleFlag, BuildTarget buildTarget, Optional<String> binaryName)