swiperrat | c5cc525 | 2013-12-29 15:42:59 -0600 | [diff] [blame] | 1 | # Keep classes and methods that have the @UsedForTesting annotation |
| 2 | -keep @com.android.inputmethod.annotations.UsedForTesting class * |
| 3 | -keepclassmembers class * { |
| 4 | @com.android.inputmethod.annotations.UsedForTesting *; |
| 5 | } |
| 6 | |
| 7 | # Keep classes and methods that have the @ExternallyReferenced annotation |
| 8 | -keep @com.android.inputmethod.annotations.ExternallyReferenced class * |
| 9 | -keepclassmembers class * { |
| 10 | @com.android.inputmethod.annotations.ExternallyReferenced *; |
| 11 | } |
| 12 | |
| 13 | # Keep native methods |
| 14 | -keepclassmembers class * { |
| 15 | native <methods>; |
| 16 | } |