Class AppleSdk
- java.lang.Object
-
- com.facebook.buck.apple.toolchain.AppleSdk
-
public abstract class AppleSdk extends Object
Metadata about an Apple SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AppleSdk.Builder
-
Constructor Summary
Constructors Constructor Description AppleSdk()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static AppleSdk.Builder
builder()
abstract ApplePlatform
getApplePlatform()
The platform of the SDK.abstract Set<String>
getArchitectures()
The architectures supported by the SDK.abstract String
getName()
The full name of the SDK.abstract com.google.common.collect.ImmutableList<AppleToolchain>
getToolchains()
The toolchains used by the SDK.abstract String
getVersion()
The version number of the SDK.AppleSdk
withName(String name)
AppleSdk
withVersion(String version)
-
-
-
Method Detail
-
getName
public abstract String getName()
The full name of the SDK. For example:iphonesimulator8.0
.
-
getVersion
public abstract String getVersion()
The version number of the SDK. For example:8.0
.
-
getApplePlatform
public abstract ApplePlatform getApplePlatform()
The platform of the SDK. For example,iphoneos
.
-
getArchitectures
public abstract Set<String> getArchitectures()
The architectures supported by the SDK. For example:[i386, x86_64]
.
-
getToolchains
public abstract com.google.common.collect.ImmutableList<AppleToolchain> getToolchains()
The toolchains used by the SDK. For example:["com.apple.dt.toolchain.XcodeDefault"]
-
builder
public static AppleSdk.Builder builder()
-
-