1# Copied from http://google3/java/com/google/android/apps/common/proguard/release.flags 2 3# Used for building release binaries. Obfuscates, optimizes, and shrinks. 4 5# By default, proguard leaves all classes in their original package, which 6# needlessly repeats com.google.android.apps.etc. 7-repackageclasses '' 8 9# Allows proguard to make private and protected methods and fields public as 10# part of optimization. This lets proguard inline trivial getter/setter methods. 11-allowaccessmodification 12 13# The source file attribute must be present in order to print stack traces, but 14# we rename it in order to avoid leaking the pre-obfuscation class name. 15-renamesourcefileattribute PG 16 17# This allows proguard to strip isLoggable() blocks containing only debug log 18# code from release builds. 19-assumenosideeffects class android.util.Log { 20 static *** i(...); 21 static *** d(...); 22 static *** v(...); 23 static *** isLoggable(...); 24} 25