abla/android/build
Generated from source.
Import with import "abla/android/build".
Source: abla/android/build/entry.ab
androidReplaceAll (compile.fun)
compile fun androidReplaceAll(
source: string,
expected: string,
replacement: string
): string
Returns source text with each occurrence of the nonempty search string replaced.
androidVersionLess (compile.fun)
compile fun androidVersionLess(left: string, right: string): bool
Version order of two paths ("sort -V"): runs of digits compare as numbers, the rest as text.
androidNewest (compile.fun)
compile fun androidNewest(found: array<string>): string
The newest of found by version order, or "".
androidNdkRoots (compile.fun)
compile fun androidNdkRoots(): array<string>
The NDK directories the environment names: ABLA_ANDROID_NDK, ANDROID_NDK_ROOT and ANDROID_NDK_HOME name one each; ANDROID_HOME and ANDROID_SDK_ROOT hold them under ndk/<version> (and the older ndk-bundle).
androidNdkCollect (compile.fun)
compile fun androidNdkCollect(root: string, var builtins: array<string>, var libcs: array<string>): bool
The compiler-rt builtins archive and the API 24 libc.so stub of one NDK directory (the layout of the NDK's toolchains/llvm/prebuilt/<host>), appended to the two lists when they are there.
androidNdkLookup (compile.fun)
compile fun androidNdkLookup(target: string): bool
Stages the NDK's builtins archive and libc.so stub if found, returning false if staging fails. The newest version wins. ABLA_ANDROID_BUILTINS can name the archive itself.
androidArm64Target (compile.fun)
compile fun androidArm64Target(): bool
Returns true if the build graph accepts the Android AArch64 ELF target definition.
androidGenerateIntegration (compile.fun)
compile fun androidGenerateIntegration(
packageName: string,
generatedRoot: string
): bool
Writes the JNI, Kotlin, CMake, and Gradle integration files and returns false if a write fails.
androidBuildArm64Library (compile.fun)
compile fun androidBuildArm64Library(
name: string,
entry: string,
generatedRoot: string,
packageName: string,
fast: bool,
cache: bool
): bool
Registers the Android library build and integration files and returns false if the target, files, or build request cannot be prepared.
Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.