public class AndroidNdkResolver extends BaseAndroidToolchainResolver
environment, fileSystem, INVALID_DIRECTORY_MESSAGE_TEMPLATE
Constructor and Description |
---|
AndroidNdkResolver(FileSystem fileSystem,
com.google.common.collect.ImmutableMap<String,String> environment,
AndroidBuckConfig config) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Optional<String> |
findNdkVersion(Path ndkDirectory) |
static Optional<String> |
findNdkVersionFromDirectory(Path ndkDirectory)
The method returns the NDK version of a path.
|
Path |
getNdkOrThrow() |
Optional<String> |
getNdkVersion() |
int |
hashCode() |
String |
toString() |
findFirstDirectory, getEnvironmentVariable
public AndroidNdkResolver(FileSystem fileSystem, com.google.common.collect.ImmutableMap<String,String> environment, AndroidBuckConfig config)
public Path getNdkOrThrow()
public static Optional<String> findNdkVersionFromDirectory(Path ndkDirectory)
ndkDirectory
- Path to the folder that contains the NDK.