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

Side by Side Diff: third_party/guava/proguard.flags

Issue 22978010: [Android] Remove all usage of com.google.common.collect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nyquist fixes Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/test/android/javatests/src/org/chromium/sync/test/util/AccountHolder.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 -keep class com.google.common.base.** { 5 -keep class com.google.common.base.** {
6 *; 6 *;
7 } 7 }
8 8
9 -keep class com.google.common.annotations.** { 9 -keep class com.google.common.annotations.** {
10 *; 10 *;
11 } 11 }
12 12
13 -keep class com.google.common.collect.** {
14 *;
15 }
16
17 -keepattributes Signature 13 -keepattributes Signature
18 14
19 # Don't complain about usage of sun.misc.Unsafe. Guava imports this, 15 # Don't complain about usage of sun.misc.Unsafe. Guava imports this,
20 # but does not use it unless it exists. 16 # but does not use it unless it exists.
21 # The gyp-target that uses this is guava.gyp:guava_javalib. 17 # The gyp-target that uses this is guava.gyp:guava_javalib.
22 -dontwarn sun.misc.Unsafe 18 -dontwarn sun.misc.Unsafe
23 # Striped64 uses reflection to access some local fields. 19 # Striped64 uses reflection to access some local fields.
24 -dontnote com.google.common.cache.Striped64 20 -dontnote com.google.common.cache.Striped64
25 -dontnote com.google.common.cache.Striped64$Cell 21 -dontnote com.google.common.cache.Striped64$Cell
26 22
27 # Keep all enum values and valueOf methods. See 23 # Keep all enum values and valueOf methods. See
28 # http://proguard.sourceforge.net/index.html#manual/examples.html 24 # http://proguard.sourceforge.net/index.html#manual/examples.html
29 # for the reason for this. Also, see http://crbug.com/248037. 25 # for the reason for this. Also, see http://crbug.com/248037.
30 -keepclassmembers enum * { 26 -keepclassmembers enum * {
31 public static **[] values(); 27 public static **[] values();
32 public static ** valueOf(java.lang.String); 28 public static ** valueOf(java.lang.String);
33 } 29 }
OLDNEW
« no previous file with comments | « sync/test/android/javatests/src/org/chromium/sync/test/util/AccountHolder.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698