You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #88382 from m4gr3d/enable_debug_symbols_android_studio
Always enable debug symbols when developing with Android Studio
This commit is contained in:
@@ -101,6 +101,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
boolean devBuild = buildType == "dev"
|
boolean devBuild = buildType == "dev"
|
||||||
|
boolean debugSymbols = devBuild || isAndroidStudio()
|
||||||
boolean runTests = devBuild
|
boolean runTests = devBuild
|
||||||
boolean productionBuild = !devBuild
|
boolean productionBuild = !devBuild
|
||||||
boolean storeRelease = buildType == "release"
|
boolean storeRelease = buildType == "release"
|
||||||
@@ -168,7 +169,7 @@ android {
|
|||||||
def taskName = getSconsTaskName(flavorName, buildType, selectedAbi)
|
def taskName = getSconsTaskName(flavorName, buildType, selectedAbi)
|
||||||
tasks.create(name: taskName, type: Exec) {
|
tasks.create(name: taskName, type: Exec) {
|
||||||
executable sconsExecutableFile.absolutePath
|
executable sconsExecutableFile.absolutePath
|
||||||
args "--directory=${pathToRootDir}", "platform=android", "store_release=${storeRelease}", "production=${productionBuild}", "dev_mode=${devBuild}", "dev_build=${devBuild}", "tests=${runTests}", "target=${sconsTarget}", "arch=${selectedAbi}", "-j" + Runtime.runtime.availableProcessors()
|
args "--directory=${pathToRootDir}", "platform=android", "store_release=${storeRelease}", "production=${productionBuild}", "dev_mode=${devBuild}", "dev_build=${devBuild}", "debug_symbols=${debugSymbols}", "tests=${runTests}", "target=${sconsTarget}", "arch=${selectedAbi}", "-j" + Runtime.runtime.availableProcessors()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Schedule the tasks so the generated libs are present before the aar file is packaged.
|
// Schedule the tasks so the generated libs are present before the aar file is packaged.
|
||||||
|
|||||||
Reference in New Issue
Block a user