Tadashi G. Takaoka | 15f6d4a | 2012-10-03 17:36:45 +0900 | [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 *; |
Ken Wakasa | 96fdc4d | 2012-03-31 18:32:48 +0900 | [diff] [blame] | 5 | } |
| 6 | |
Tadashi G. Takaoka | 15f6d4a | 2012-10-03 17:36:45 +0900 | [diff] [blame] | 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 *; |
Tadashi G. Takaoka | 2866da8 | 2012-05-23 17:37:20 +0900 | [diff] [blame] | 11 | } |
Ken Wakasa | b1b21d4 | 2013-06-26 17:58:39 +0900 | [diff] [blame^] | 12 | |
| 13 | # Keep native methods |
| 14 | -keep class * { |
| 15 | native <methods>; |
| 16 | } |