public class AndroidNdk extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
ARM_64_TOOLCHAIN
ARM 64-bit toolchain implementations.
|
static String[] |
ARM_TOOLCHAIN
Arm toolchain implementations.
|
static String[] |
MIPS_64_TOOLCHAIN |
static String[] |
MIPS_TOOLCHAIN
Mips toolchain implementations.
|
static String[] |
NDK_ARCHITECTURES |
static String |
PROPER_NDK_HOME_DIRECTORY_MESSAGE |
static String[] |
X86_64_TOOLCHAIN
x86 64-bit toolchain implementations.
|
static String[] |
X86_TOOLCHAIN
x86 toolchain implementations.
|
Constructor and Description |
---|
AndroidNdk(File ndkPath) |
Modifier and Type | Method and Description |
---|---|
File |
getGdbServer(String ndkArchitecture) |
String |
getNdkBuildPath()
Returns the complete path for the ndk-build tool, based on this NDK.
|
String |
getToolchainFromArchitecture(String ndkArchitecture,
ArchitectureToolchainMappings architectureToolchainMappings)
Retrieves, based on the architecture and possibly toolchain mappings, the toolchain for the architecture.
|
static void |
validateToolchainDirectory(File toolchainDirectory) |
public static final String PROPER_NDK_HOME_DIRECTORY_MESSAGE
public static final String[] NDK_ARCHITECTURES
public static final String[] ARM_TOOLCHAIN
public static final String[] ARM_64_TOOLCHAIN
public static final String[] X86_TOOLCHAIN
public static final String[] X86_64_TOOLCHAIN
public static final String[] MIPS_TOOLCHAIN
public static final String[] MIPS_64_TOOLCHAIN
public AndroidNdk(File ndkPath)
public String getNdkBuildPath()
String
, including the tool's filename.public File getGdbServer(String ndkArchitecture) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public String getToolchainFromArchitecture(String ndkArchitecture, ArchitectureToolchainMappings architectureToolchainMappings) throws org.apache.maven.plugin.MojoExecutionException
NDKArchitectureToolchainMappings
.ndkArchitecture
- Architecture to resolve toolchain forarchitectureToolchainMappings
- User mappings of architecture to toolchainorg.apache.maven.plugin.MojoExecutionException
- If a toolchain can not be resolvedpublic static void validateToolchainDirectory(File toolchainDirectory) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2014–2016 simpligility technologies inc.. All rights reserved.