Merge "Keep proguard fields for lite runtime of jarjared class" am: 3f45311ba2
am: 0ed7488697
Original change: https://android-review.googlesource.com/c/platform/build/+/2151556 Change-Id: If412f09c4d360cbedf968bf47135922732d24ff7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -74,5 +74,6 @@
|
|||||||
-dontnote
|
-dontnote
|
||||||
|
|
||||||
# The lite proto runtime uses reflection to access fields based on the names in
|
# The lite proto runtime uses reflection to access fields based on the names in
|
||||||
# the schema, keep all the fields.
|
# the schema, keep all the fields. Wildcard is used to apply the rule to classes
|
||||||
-keepclassmembers class * extends com.google.protobuf.MessageLite { <fields>; }
|
# that have been renamed with jarjar.
|
||||||
|
-keepclassmembers class * extends **.protobuf.MessageLite { <fields>; }
|
||||||
|
Reference in New Issue
Block a user