platform_build/core/proguard.flags

19 lines
599 B
Plaintext
Raw Normal View History

# We have moved -dontobfuscate and -dontoptimize to the makefiles.
2010-02-02 01:51:23 +08:00
# dex does not like code run through proguard optimize and preverify steps.
# -dontoptimize
2010-02-02 01:51:23 +08:00
-dontpreverify
# Don't obfuscate. We only need dead code striping.
# -dontobfuscate
2010-02-02 01:51:23 +08:00
# Add this flag in your package's own configuration if it's needed.
#-flattenpackagehierarchy
# Keep classes and methods that have the guava @VisibleForTesting annotation
-keep @com.google.common.annotations.VisibleForTesting class *
-keepclassmembers class * {
@com.google.common.annotations.VisibleForTesting *;
}
2010-02-02 01:51:23 +08:00
-include proguard_basic_keeps.flags