add debug option

This commit is contained in:
2023-11-04 17:59:57 +01:00
parent 31f4b09145
commit 22e267a9a7

View File

@@ -32,6 +32,13 @@ android {
buildTypes { buildTypes {
debug { debug {
debuggable true debuggable true
if (project.hasProperty('debugBuild')) {
xmake {
// set abi filters (optional), e.g. armeabi, armeabi-v7a, arm64-v8a, x86, x86_64
// we can also get abiFilters from defaultConfig.ndk.abiFilters
buildMode "debug"
}
}
} }
release { release {
minifyEnabled false minifyEnabled false