From 2d37022e4533e221aabb7a196582dc3a22e2f850 Mon Sep 17 00:00:00 2001 From: "shashishekhar@chromium.org" Date: Fri, 21 Feb 2014 04:54:06 +0000 Subject: Fix some spurious warnings for third party libs. These warnings are non actionable because they appear in third_party code, silence them. BUG=341086 TBR=brettw Review URL: https://codereview.chromium.org/156953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252497 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/guava/proguard.flags | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'third_party/guava') diff --git a/third_party/guava/proguard.flags b/third_party/guava/proguard.flags index 604059a..e97f99d 100644 --- a/third_party/guava/proguard.flags +++ b/third_party/guava/proguard.flags @@ -27,3 +27,11 @@ public static **[] values(); public static ** valueOf(java.lang.String); } + +# Keep finalizer stuff from google-common used via reflection +-keepclassmembers class com.google.common.** { + *** finalizeReferent(); +} +-keepclassmembers class com.google.common.** { + *** startFinalizer(java.lang.Class,java.lang.Object); +} -- cgit v1.1