1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Fix the build logic to generate the native debug symbols

This commit is contained in:
Fredia Huya-Kouadio
2025-06-20 17:03:43 -07:00
parent 53be3b78d1
commit c376348b16
6 changed files with 36 additions and 24 deletions

View File

@@ -101,7 +101,7 @@ android {
}
ndk {
debugSymbolLevel 'FULL'
debugSymbolLevel 'NONE'
String[] export_abi_list = getExportEnabledABIs()
abiFilters export_abi_list
}
@@ -127,9 +127,11 @@ android {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
// 'doNotStrip' is enabled for development within Android Studio
// Debug symbols are kept for development within Android Studio.
if (shouldNotStrip()) {
doNotStrip '**/*.so'
jniLibs {
keepDebugSymbols += '**/*.so'
}
}
// Always select Godot's version of libc++_shared.so in case deps have their own