summaryrefslogtreecommitdiff
path: root/chromium/proguard.flags
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2013-07-19 16:52:01 -0700
committerSelim Gurun <sgurun@google.com>2013-07-22 11:43:33 -0700
commita27370cb104cb70b8da4d0c3c749b0fab1f271dc (patch)
tree658631fe9689b38dabe0dc1ee6f57e6700872d9d /chromium/proguard.flags
parentd892da7b96ede661d549be446c6f4c4dd884ed0c (diff)
downloadwebview-a27370cb104cb70b8da4d0c3c749b0fab1f271dc.tar.gz
Address proguard warnings.
Explicitly keep the classes that proguard generates warnings for. These classes are parameters to methods of entry points. Change-Id: I08bced014af760a9b871ddb84b6225e02695cc24
Diffstat (limited to 'chromium/proguard.flags')
-rw-r--r--chromium/proguard.flags5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/proguard.flags b/chromium/proguard.flags
index ce59ca4..d6fab25 100644
--- a/chromium/proguard.flags
+++ b/chromium/proguard.flags
@@ -57,6 +57,11 @@
-dontnote org.chromium.content.common.TraceEvent
-dontnote com.android.org.chromium.content.common.TraceEvent
+# We need to keep these explicitly as they are parameters to methods which
+# are entry points via @calledByNative.
+-keep class com.android.org.chromium.ui.autofill.AutofillSuggestion
+-keep class com.android.org.chromium.content.browser.ContentVideoViewClient
+
# Keep finalizer stuff from google-common used via reflection
-keepclassmembers class com.google.common.** {
*** finalizeReferent();