mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-23 12:05:47 +00:00
android: integrate ndk-build step into main gradle pipeline
this greatly simplifies the assembly of the android application. moreover, ndk will be downloaded automatically via sdk-manager.
This commit is contained in:
@@ -21,7 +21,6 @@ dependencies {
|
||||
}
|
||||
|
||||
android {
|
||||
buildToolsVersion '28.0.3'
|
||||
compileSdkVersion 26
|
||||
|
||||
defaultConfig {
|
||||
@@ -31,12 +30,17 @@ android {
|
||||
versionName "1.52-dev"
|
||||
}
|
||||
|
||||
externalNativeBuild {
|
||||
ndkBuild {
|
||||
path "jni/Android.mk"
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
java.srcDirs = ['src']
|
||||
res.srcDirs = ['res']
|
||||
jniLibs.srcDir 'libs'
|
||||
}
|
||||
androidTest.setRoot('eSpeakTests')
|
||||
androidTest {
|
||||
|
||||
@@ -1,4 +1 @@
|
||||
APP_OPTIM := release
|
||||
APP_PLATFORM := android-26
|
||||
APP_TOOLCHAIN_VERSION := 4.6.3
|
||||
APP_ABI := armeabi-v7a x86
|
||||
|
||||
Reference in New Issue
Block a user