public class AppleConfig extends Object implements ConfigView<BuckConfig>
Modifier and Type | Field and Description |
---|---|
static String |
APPLE_SECTION |
static String |
BUILD_SCRIPT |
static com.google.common.collect.ImmutableList<String> |
DEFAULT_IDENTITIES_COMMAND |
static com.google.common.collect.ImmutableList<String> |
DEFAULT_READ_COMMAND |
static String |
LINK_SCRUB_CONCURRENTLY |
public static final com.google.common.collect.ImmutableList<String> DEFAULT_IDENTITIES_COMMAND
public static final com.google.common.collect.ImmutableList<String> DEFAULT_READ_COMMAND
public static final String APPLE_SECTION
public static final String BUILD_SCRIPT
public static final String LINK_SCRUB_CONCURRENTLY
public static AppleConfig of(BuckConfig delegate)
public BuckConfig getDelegate()
getDelegate
in interface ConfigView<BuckConfig>
public java.util.function.Supplier<Optional<Path>> getAppleDeveloperDirectorySupplier(ProcessExecutor processExecutor)
public Path getIdbPath()
public boolean useIdb()
public com.google.common.collect.ImmutableList<Path> getExtraToolchainPaths()
public com.google.common.collect.ImmutableList<Path> getExtraPlatformPaths()
public Optional<BuildTarget> getAppleToolchainSetTarget(TargetConfiguration targetConfiguration)
public Optional<String> getTargetSdkVersion(ApplePlatform platform)
public com.google.common.collect.ImmutableList<String> getXctestPlatformNames()
public Optional<BuildTarget> getXctoolZipTarget(TargetConfiguration targetConfiguration)
public ToolProvider getCodesignProvider()
public java.time.Duration getCodesignTimeout()
public boolean getXcodeDisableParallelizeBuild()
public boolean useDryRunCodeSigning()
public boolean cacheBundlesAndPackages()
public boolean linkAllObjC()
public ZipCompressionLevel getZipCompressionLevel()
public Optional<BuildTarget> getAppleDeviceHelperTarget(Optional<TargetConfiguration> targetConfiguration)
public Path getProvisioningProfileSearchPath()
public boolean shouldUseHeaderMapsInXcodeProject()
public boolean shouldMergeHeaderMapsInXcodeProject()
public boolean shouldGenerateHeaderSymlinkTreesOnly()
public boolean shouldGenerateMissingUmbrellaHeaders()
public boolean shouldUseSwiftDelegate()
public boolean shouldVerifyBundleResources()
public boolean shouldAddLinkedLibrariesAsFlags()
public boolean shouldLinkSystemSwift()
public boolean shouldIncludeSharedLibraryResources()
public boolean shouldAddLinkerFlagsForLinkWholeLibraries()
public String getForceLoadLibraryPath(boolean isFocusedTarget)
public AppleAssetCatalog.ValidationType assetCatalogValidation()
public String getTestLogDirectoryEnvironmentVariable()
public String getTestLogLevelEnvironmentVariable()
public String getTestLogLevel()
public AppleDebugFormat getDefaultDebugInfoFormatForBinaries()
public AppleDebugFormat getDefaultDebugInfoFormatForTests()
public AppleDebugFormat getDefaultDebugInfoFormatForLibraries()
public com.google.common.collect.ImmutableList<String> getProvisioningProfileReadCommand()
public com.google.common.collect.ImmutableList<String> getCodeSignIdentitiesCommand()
public Optional<com.facebook.buck.apple.AppleConfig.ApplePackageConfig> getPackageConfigForPlatform(ApplePlatform platform)
This is translated into the config value of apple.PLATFORMNAME_packager_command
.
platform
- the platform to query.public Optional<com.google.common.collect.ImmutableList<String>> getToolchainsOverrideForSDKName(String name)
public boolean useFlavoredCxxSections()
cxx#
sections instead of the unflavored cxx
section.public boolean addCellPathToIquotePath()
public boolean shouldWorkAroundDsymutilLTOStackOverflowBug()
public ModuleMapMode moduleMapMode()
public Path shellPath()
public Path buildScriptPath()
public boolean useEntitlementsWhenAdhocCodeSigning()
public boolean shouldUseModernBuildSystem()
public boolean shouldLinkScrubConcurrently()