You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Fix the build logic to generate the native debug symbols
This commit is contained in:
@@ -90,7 +90,7 @@ android {
|
||||
editorBuildSuffix: ""
|
||||
]
|
||||
|
||||
ndk { debugSymbolLevel 'FULL' }
|
||||
ndk { debugSymbolLevel 'NONE' }
|
||||
}
|
||||
|
||||
base {
|
||||
@@ -141,9 +141,11 @@ android {
|
||||
}
|
||||
|
||||
packagingOptions {
|
||||
// 'doNotStrip' is enabled for development within Android Studio
|
||||
// Debug symbols are kept for development within Android Studio.
|
||||
if (shouldNotStrip()) {
|
||||
doNotStrip '**/*.so'
|
||||
jniLibs {
|
||||
keepDebugSymbols += '**/*.so'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user