android: added 'universal' flavor that includes both both arm64-v8a and x86_64 versions of libmpd.so
This commit is contained in:
@@ -57,6 +57,12 @@ android {
|
||||
abiFilters += listOf("x86_64")
|
||||
}
|
||||
}
|
||||
create("universal") {
|
||||
ndk {
|
||||
// ABI to include in package
|
||||
abiFilters += listOf("arm64-v8a", "x86_64")
|
||||
}
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_9
|
||||
|
@@ -76,5 +76,7 @@ print("""
|
||||
## To build the android app:
|
||||
# cd ../../android
|
||||
# ./gradlew assemble{}Debug
|
||||
## or, for a universal apk (includes both arm64-v8a and x86_64)
|
||||
# ./gradlew assembleUniversalDebug
|
||||
-------------------------------------
|
||||
""".format(android_abi.capitalize()))
|
Reference in New Issue
Block a user