Handles NDK related information.
Constructor and description |
---|
NdkHandler
(File projectDir, String compileSdkVersion, String toolchainName, String toolchainVersion) |
Type | Name and description |
---|---|
static Collection<Abi> |
getAbiList() Returns a list of all ABI. |
static Collection<Abi> |
getAbiList32() Returns a list of 32-bits ABI. |
File |
getCCompiler(Abi abi) Return the executable for compiling C code. |
String |
getCompileSdkVersion() |
File |
getCppCompiler(Abi abi) Return the executable for compiling C++ code. |
File |
getDefaultGccToolchainPath(Abi abi) Return the folder containing gcc that will be used by the NDK. |
String |
getGccToolchainVersion(Abi abi) Return the version of gcc that will be used by the NDK. |
File |
getNdkDirectory() Returns the directory of the NDK. |
File |
getPrebuiltDirectory(Abi abi) Return the directory containing prebuilt binaries such as gdbserver. |
List<File> |
getStlIncludes(String stlName, Abi abi) Return a list of include directories for an STl. |
File |
getStripCommand(Abi abi) Return the executable for removing debug symbols from a shared object. |
Collection<Abi> |
getSupportedAbis() Returns a list of supported ABI. |
String |
getSysroot(Abi abi) Returns the sysroot directory for the toolchain. |
Toolchain |
getToolchain() |
String |
getToolchainVersion() |
boolean |
isNdkDirConfigured() Return true if NDK directory is configured. |
void |
setCompileSdkVersion(String compileSdkVersion) |
boolean |
supports64Bits() Return true if compiledSdkVersion supports 64 bits ABI. |
Returns a list of all ABI.
Returns a list of 32-bits ABI.
Return the folder containing gcc that will be used by the NDK.
Return the version of gcc that will be used by the NDK. Gcc is used by clang for linking. It also contains gnu-libstdc++. If the gcc toolchain is used, then it's simply the toolchain version requested by the user. If clang is used, then it depends the target abi.
Returns the directory of the NDK.
Return the directory containing prebuilt binaries such as gdbserver.
Return a list of include directories for an STl.
Return the executable for removing debug symbols from a shared object.
Returns a list of supported ABI.
Return true if NDK directory is configured.
Return true if compiledSdkVersion supports 64 bits ABI.