Class AndroidNdk
- java.lang.Object
-
- com.facebook.buck.android.toolchain.ndk.AndroidNdk
-
- All Implemented Interfaces:
ComparableToolchain
,Toolchain
,ToolchainWithCapability
public abstract class AndroidNdk extends Object implements ComparableToolchain
Part of Android toolchain that provides access to Android NDK
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_NAME
-
Constructor Summary
Constructors Constructor Description AndroidNdk()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ExecutableFinder
getExecutableFinder()
String
getName()
Path
getNdkBuildExecutable()
abstract Path
getNdkRootPath()
abstract String
getNdkVersion()
static AndroidNdk
of(String ndkVersion, Path ndkRootPath, boolean shouldEscapeCFlagsInDoubleQuotes, ExecutableFinder executableFinder)
abstract boolean
shouldEscapeCFlagsInDoubleQuotes()
Escaping logic can be different and depends on the version of Android NDK.
-
-
-
Field Detail
-
DEFAULT_NAME
public static final String DEFAULT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNdkVersion
public abstract String getNdkVersion()
-
getNdkRootPath
public abstract Path getNdkRootPath()
-
shouldEscapeCFlagsInDoubleQuotes
public abstract boolean shouldEscapeCFlagsInDoubleQuotes()
Escaping logic can be different and depends on the version of Android NDK.
-
getExecutableFinder
@Auxiliary protected abstract ExecutableFinder getExecutableFinder()
-
getNdkBuildExecutable
@Lazy public Path getNdkBuildExecutable()
-
of
public static AndroidNdk of(String ndkVersion, Path ndkRootPath, boolean shouldEscapeCFlagsInDoubleQuotes, ExecutableFinder executableFinder)
-
-