You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Update the production build argument for Android Studio debug builds
Swappy is required for `production` build which breaks the Android Studio debug builds as those turns on the `production` argument. This commit updates the logic so that the `production` argument is only used by Android Studio for `release` builds.
This commit is contained in:
@@ -106,8 +106,8 @@ android {
|
|||||||
boolean devBuild = buildType == "dev"
|
boolean devBuild = buildType == "dev"
|
||||||
boolean debugSymbols = devBuild
|
boolean debugSymbols = devBuild
|
||||||
boolean runTests = devBuild
|
boolean runTests = devBuild
|
||||||
boolean productionBuild = !devBuild
|
|
||||||
boolean storeRelease = buildType == "release"
|
boolean storeRelease = buildType == "release"
|
||||||
|
boolean productionBuild = storeRelease
|
||||||
|
|
||||||
def sconsTarget = flavorName
|
def sconsTarget = flavorName
|
||||||
if (sconsTarget == "template") {
|
if (sconsTarget == "template") {
|
||||||
|
|||||||
Reference in New Issue
Block a user