blob: 0641627e5c3c47da97fe9289be6f8415f6f3a5b0 [file] [log] [blame]
Ying Wang7311a342013-08-21 18:32:49 -07001# We have moved -dontobfuscate and -dontoptimize to the makefiles.
Ying Wang3b2bdf12010-02-01 09:51:23 -08002# dex does not like code run through proguard optimize and preverify steps.
Ying Wang7311a342013-08-21 18:32:49 -07003# -dontoptimize
Ying Wang3b2bdf12010-02-01 09:51:23 -08004-dontpreverify
5
6# Don't obfuscate. We only need dead code striping.
Ying Wang7311a342013-08-21 18:32:49 -07007# -dontobfuscate
Ying Wang3b2bdf12010-02-01 09:51:23 -08008
9# Add this flag in your package's own configuration if it's needed.
10#-flattenpackagehierarchy
11
Ying Wang38cdd442013-05-30 10:45:46 -070012# Keep classes and methods that have the guava @VisibleForTesting annotation
13-keep @com.google.common.annotations.VisibleForTesting class *
14-keepclassmembers class * {
15@com.google.common.annotations.VisibleForTesting *;
16}
Ying Wang3b2bdf12010-02-01 09:51:23 -080017
Ying Wang57453512013-05-17 10:02:00 -070018-include proguard_basic_keeps.flags