2012-10-03 17:36:45 +09:00
|
|
|
# Keep classes and methods that have the @UsedForTesting annotation
|
|
|
|
-keep @com.android.inputmethod.annotations.UsedForTesting class *
|
|
|
|
-keepclassmembers class * {
|
2013-06-26 18:06:53 +09:00
|
|
|
@com.android.inputmethod.annotations.UsedForTesting *;
|
2012-03-31 18:32:48 +09:00
|
|
|
}
|
|
|
|
|
2012-10-03 17:36:45 +09:00
|
|
|
# Keep classes and methods that have the @ExternallyReferenced annotation
|
|
|
|
-keep @com.android.inputmethod.annotations.ExternallyReferenced class *
|
|
|
|
-keepclassmembers class * {
|
2013-06-26 18:06:53 +09:00
|
|
|
@com.android.inputmethod.annotations.ExternallyReferenced *;
|
2012-05-23 17:37:20 +09:00
|
|
|
}
|
2013-06-26 17:58:39 +09:00
|
|
|
|
|
|
|
# Keep native methods
|
2013-06-26 18:06:53 +09:00
|
|
|
-keepclassmembers class * {
|
|
|
|
native <methods>;
|
2013-06-26 17:58:39 +09:00
|
|
|
}
|