Let proguard keep classes/methods annotated with internal VisibleForTesting.
BUG=None Change-Id: I194aac5057a7368e91b401c639100c86b2426265
This commit is contained in:
@@ -10,9 +10,9 @@
|
|||||||
#-flattenpackagehierarchy
|
#-flattenpackagehierarchy
|
||||||
|
|
||||||
# Keep classes and methods that have the guava @VisibleForTesting annotation
|
# Keep classes and methods that have the guava @VisibleForTesting annotation
|
||||||
-keep @com.google.common.annotations.VisibleForTesting class *
|
-keep @**.VisibleForTesting class *
|
||||||
-keepclassmembers class * {
|
-keepclassmembers class * {
|
||||||
@com.google.common.annotations.VisibleForTesting *;
|
@**.VisibleForTesting *;
|
||||||
}
|
}
|
||||||
|
|
||||||
-include proguard_basic_keeps.flags
|
-include proguard_basic_keeps.flags
|
||||||
|
Reference in New Issue
Block a user