Enum NdkToolchain
- java.lang.Object
-
- java.lang.Enum<NdkToolchain>
-
- com.facebook.buck.android.toolchain.ndk.NdkToolchain
-
- All Implemented Interfaces:
Serializable
,Comparable<NdkToolchain>
public enum NdkToolchain extends Enum<NdkToolchain>
The build toolchain, named (including compiler version) after the target platform/arch.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AARCH64_LINUX_ANDROID
ARM_LINUX_ANDROIDEABI
X86
X86_64
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static NdkToolchain
valueOf(String name)
Returns the enum constant of this type with the specified name.static NdkToolchain[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X86
public static final NdkToolchain X86
-
X86_64
public static final NdkToolchain X86_64
-
ARM_LINUX_ANDROIDEABI
public static final NdkToolchain ARM_LINUX_ANDROIDEABI
-
AARCH64_LINUX_ANDROID
public static final NdkToolchain AARCH64_LINUX_ANDROID
-
-
Method Detail
-
values
public static NdkToolchain[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NdkToolchain c : NdkToolchain.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NdkToolchain valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<NdkToolchain>
-
-