Files
ndk-samples/base/build.gradle.kts
Dan Albert 7c603189fc Import a subset of libbase, build an AAR.
It's still quite a lot for just CHECK, LOG, and
DISALLOW_COPY_AND_ASSIGN. The strings stuff is only needed because r26
is too old to have the stdlib string split/starts_with/etc. Maybe I'll
end up wanting more later and this is a worthwhile start?
2024-06-11 14:48:04 -07:00

32 lines
600 B
Plaintext

plugins {
id("ndksamples.android.library")
}
android {
namespace = "com.android.ndk.samples.base"
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
}
}
buildFeatures {
prefabPublishing = true
}
prefab {
create("base") {
headers = "src/main/cpp/include"
}
}
}
dependencies {
implementation(libs.appcompat)
implementation(libs.material)
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
}