mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-12-16 12:08:49 +00:00
android: Added relWithDebInfoLite build profile
This commit is contained in:
parent
346bcf02ea
commit
f1a59b2186
@ -125,7 +125,7 @@ android {
|
|||||||
applicationIdSuffix = ".debug"
|
applicationIdSuffix = ".debug"
|
||||||
versionNameSuffix = "-debug"
|
versionNameSuffix = "-debug"
|
||||||
signingConfig = signingConfigs.getByName("debug")
|
signingConfig = signingConfigs.getByName("debug")
|
||||||
isShrinkResources = true
|
isShrinkResources = true // TODO: Does this actually do anything when isDebuggable is enabled? -OS
|
||||||
isDebuggable = true
|
isDebuggable = true
|
||||||
isJniDebuggable = true
|
isJniDebuggable = true
|
||||||
proguardFiles(
|
proguardFiles(
|
||||||
@ -135,6 +135,22 @@ android {
|
|||||||
isDefault = true
|
isDefault = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Same as above, but with isDebuggable disabled.
|
||||||
|
// Primarily exists to allow development on hardened_malloc systems (e.g. GrapheneOS) without constantly tripping over years-old and seemingly harmless memory bugs.
|
||||||
|
// We should fix those bugs eventually, but for now this exists as a workaround to allow other work to be done.
|
||||||
|
register("relWithDebInfoLite") {
|
||||||
|
initWith(getByName("relWithDebInfo"))
|
||||||
|
signingConfig = signingConfigs.getByName("debug")
|
||||||
|
isDebuggable = false
|
||||||
|
installation {
|
||||||
|
enableBaselineProfile = false // Disabled by default when isDebuggable is true
|
||||||
|
}
|
||||||
|
lint {
|
||||||
|
checkReleaseBuilds = false // Ditto
|
||||||
|
// The name of this property is misleading, this doesn't actually disable linting for the `release` build.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Signed by debug key disallowing distribution on Play Store.
|
// Signed by debug key disallowing distribution on Play Store.
|
||||||
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
|
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
|
||||||
debug {
|
debug {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user