platform_build/core/proguard.flags
Daichi Hirono e2a85aa162 Let proguard keep classes/methods annotated with internal VisibleForTesting.
BUG=None

Change-Id: I194aac5057a7368e91b401c639100c86b2426265
2015-07-27 13:24:30 +09:00

18 lines
545 B
Text

# 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 methods that have the guava @VisibleForTesting annotation
-keep @**.VisibleForTesting class *
-keepclassmembers class * {
@**.VisibleForTesting *;
}
-include proguard_basic_keeps.flags