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:
Fredia Huya-Kouadio 2024-10-30 21:15:31 -07:00
parent 7187c251da
commit d699d4b7d4

View File

@ -106,8 +106,8 @@ android {
boolean devBuild = buildType == "dev"
boolean debugSymbols = devBuild
boolean runTests = devBuild
boolean productionBuild = !devBuild
boolean storeRelease = buildType == "release"
boolean productionBuild = storeRelease
def sconsTarget = flavorName
if (sconsTarget == "template") {