Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cd87b43 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Cleanup default proguard flags and remove no-op rules" into main am:...

Merge "Cleanup default proguard flags and remove no-op rules" into main am: 0d6adcb4 am: 742180b8

Original change: https://android-review.googlesource.com/c/platform/build/+/3444760



Change-Id: I5641b6232cb1161fe128f987280511d60001f967
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents f6ea5e3b 742180b8
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
# We have moved -dontobfuscate and -dontoptimize to the makefiles.
# dex does not like code run through proguard optimize and preverify steps.
# -dontoptimize
-dontpreverify

# Don't obfuscate. We only need dead code striping.
# -dontobfuscate

# Add this flag in your package's own configuration if it's needed.
#-flattenpackagehierarchy

# Keep classes and members with the platform-defined @VisibleForTesting annotation.
-keep @com.android.internal.annotations.VisibleForTesting class *
-keepclassmembers class * {
+0 −4
Original line number Diff line number Diff line
# Some classes in the libraries extend package private classes to chare common functionality
# that isn't explicitly part of the API
-dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclassmembers

# Preserve line number information for debugging stack traces.
-keepattributes SourceFile,LineNumberTable