mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
Merge pull request #10232 from JosJuice/android-minify
Android: Enable R8 code shrinking
This commit is contained in:
commit
05ecff199f
@ -49,6 +49,12 @@ android {
|
|||||||
// Signed by release key, allowing for upload to Play Store.
|
// Signed by release key, allowing for upload to Play Store.
|
||||||
release {
|
release {
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
|
minifyEnabled true
|
||||||
|
shrinkResources true
|
||||||
|
proguardFiles getDefaultProguardFile(
|
||||||
|
'proguard-android-optimize.txt'),
|
||||||
|
'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Signed by debug key disallowing distribution on Play Store.
|
// Signed by debug key disallowing distribution on Play Store.
|
||||||
|
20
Source/Android/app/proguard-rules.pro
vendored
20
Source/Android/app/proguard-rules.pro
vendored
@ -1,17 +1,3 @@
|
|||||||
# Add project specific ProGuard rules here.
|
# Being able to get sensible stack traces from users is more important
|
||||||
# By default, the flags in this file are appended to flags specified
|
# than the space savings obfuscation could give us
|
||||||
# in /home/sigma/apps/android-sdk/tools/proguard/proguard-android.txt
|
-dontobfuscate
|
||||||
# You can edit the include path and order by changing the proguardFiles
|
|
||||||
# directive in build.gradle.
|
|
||||||
#
|
|
||||||
# For more details, see
|
|
||||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
||||||
|
|
||||||
# Add any project specific keep options here:
|
|
||||||
|
|
||||||
# If your project uses WebView with JS, uncomment the following
|
|
||||||
# and specify the fully qualified class name to the JavaScript interface
|
|
||||||
# class:
|
|
||||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
||||||
# public *;
|
|
||||||
#}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user