Commit 761ef674 authored by xunjieli's avatar xunjieli Committed by Commit bot

Use keepclassmembers for android.webkit.JavascriptInterface in proguard

This CL uses -keepclassmembers for
android.webkit.JavascriptInterface instead of
-keepclasseswithmembers in proguard.

The reason is because keeping methods is enough for files
annotated with for android.webkit.JavascriptInterface.

BUG=634998

Review-Url: https://codereview.chromium.org/2250963004
Cr-Commit-Position: refs/heads/master@{#412818}
parent 4d782f49
......@@ -18,7 +18,7 @@
-keep @org.chromium.base.annotations.UsedByReflection class *
# Keeps for method level annotations.
-keepclasseswithmembers class * {
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
-keepclasseswithmembers class * {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment