Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Unified Diff: third_party/guava/proguard.flags

Issue 574103002: Remove guava from chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add back OWNERS Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/guava/guava.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/guava/proguard.flags
diff --git a/third_party/guava/proguard.flags b/third_party/guava/proguard.flags
deleted file mode 100644
index 5bcdb20492ee7ef048b820a0a866688b5691cd31..0000000000000000000000000000000000000000
--- a/third_party/guava/proguard.flags
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
--keep class com.google.common.annotations.VisibleForTesting,
- com.google.common.base.Preconditions,
- com.google.common.base.Objects,
- com.google.common.base.Strings,
- com.google.common.base.Supplier {
- *;
-}
-
--keepattributes Signature
-
-# Don't complain about usage of sun.misc.Unsafe. Guava imports this,
-# but does not use it unless it exists.
-# The gyp-target that uses this is guava.gyp:guava_javalib.
--dontwarn sun.misc.Unsafe
-# Striped64 uses reflection to access some local fields.
--dontnote com.google.common.cache.Striped64
--dontnote com.google.common.cache.Striped64$Cell
-
-# Keep all enum values and valueOf methods. See
-# http://proguard.sourceforge.net/index.html#manual/examples.html
-# for the reason for this. Also, see http://crbug.com/248037.
--keepclassmembers enum * {
- 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);
-}
« no previous file with comments | « third_party/guava/guava.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698