@Incubating public interface NativePlatform extends Platform
Architecture and/or OperatingSystem to target.
model {
platforms {
windows_x86 {
architecture "i386"
operatingSystem "windows"
}
}
}
Named.Namer| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
architecture(Object notation)
Sets the cpu architecture being targeted.
|
Architecture |
getArchitecture()
The cpu architecture being targeted.
|
OperatingSystem |
getOperatingSystem()
The operating system being targeted.
|
void |
operatingSystem(Object notation)
Sets the operating system being targeted.
|
getDisplayNamestatic final String DEFAULT_NAME
Architecture getArchitecture()
void architecture(Object notation)
| Instruction Set | 32-bit names | 64-bit names |
|---|---|---|
| Intel x86 | "x86", "i386", "ia-32" | "x86_64", "amd64", "x64", "x86-64" |
| Intel Itanium | "ia-64" | |
| Power PC | "ppc" | "ppc64" |
| Sparc | "sparc", "sparc32", "sparc-v7", "sparc-v8" | "sparc64", "ultrasparc", "sparc-v9" |
| ARM | "arm" |
OperatingSystem getOperatingSystem()
void operatingSystem(Object notation)
| Operating System | Aliases |
|---|---|
| Windows | "windows" |
| GNU/Linux | "linux" |
| Mac OS X | "osx", "mac os x", "darwin" |
| Solaris | "solaris", "sunos" |