Workaround for resource shrinking w/ split ABIs

This commit is contained in:
Damontecres 2026-05-27 13:56:18 -04:00
parent 30837d0a9a
commit 81e5f31401
No known key found for this signature in database
2 changed files with 11 additions and 3 deletions

View file

@ -36,8 +36,8 @@ jobs:
ORG_GRADLE_PROJECT_WholphinExtensionsUsername: "${{ secrets.EXTENSIONS_USERNAME }}"
ORG_GRADLE_PROJECT_WholphinExtensionsPassword: "${{ secrets.EXTENSIONS_PASSWORD }}"
run: |
./gradlew clean assembleDefaultRelease bundleAppstoreRelease bundleFiretvRelease --no-daemon
./gradlew clean bundleAppstoreRelease bundleFiretvRelease
./gradlew assembleDefaultRelease
- name: Verify signatures
run: |
echo "Verify APK signatures"

View file

@ -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