mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Workaround for resource shrinking w/ split ABIs
This commit is contained in:
parent
30837d0a9a
commit
81e5f31401
2 changed files with 11 additions and 3 deletions
|
|
@ -27,6 +27,12 @@ val av1ModuleExists = project.file("libs/lib-decoder-av1-release.aar").exists()
|
|||
val mpvModuleExists = project.file("libs/wholphin-mpv-release.aar").exists()
|
||||
val extensionsRepoActive = project.hasProperty("WholphinExtensionsUsername")
|
||||
|
||||
// See https://issuetracker.google.com/issues/402800800
|
||||
val isBuildingBundle =
|
||||
providers.provider {
|
||||
gradle.startParameter.taskNames.any { it.lowercase().contains("bundle") }
|
||||
}
|
||||
|
||||
val gitTags =
|
||||
providers
|
||||
.exec { commandLine("git", "tag", "--list", "v*", "p*") }
|
||||
|
|
@ -156,7 +162,9 @@ configure<ApplicationExtension> {
|
|||
|
||||
splits {
|
||||
abi {
|
||||
isEnable = true
|
||||
// Disable split abis when building bundles
|
||||
isEnable = !isBuildingBundle.get()
|
||||
|
||||
reset()
|
||||
include("armeabi-v7a", "arm64-v8a")
|
||||
isUniversalApk = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue