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

Side by Side Diff: third_party/cacheinvalidation/src/example-app-build/proguard.cfg

Issue 1162033004: Pull cacheinvalidations code directory into chromium repo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
(Empty)
1 #
2 # This file was derived from the Android SDK default configuration in tools/lib/ proguard.cfg,
3 # with changes/additions explicitly commented where made
4 #
5 -optimizationpasses 5
6 -dontusemixedcaseclassnames
7 -dontskipnonpubliclibraryclasses
8 -dontpreverify
9 # Change: SDK defaults + code/allocation/variable required to disable proguard o ptimization bug
10 -verbose
11 -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/a llocation/variable
12
13 -keep public class * extends android.app.Activity
14 -keep public class * extends android.app.Application
15 -keep public class * extends android.app.Service
16 -keep public class * extends android.content.BroadcastReceiver
17 -keep public class * extends android.content.ContentProvider
18 -keep public class * extends android.app.backup.BackupAgentHelper
19 -keep public class * extends android.preference.Preference
20 # Change: not needed
21 #-keep public class com.android.vending.licensing.ILicensingService
22
23 -keepclasseswithmembernames class * {
24 native <methods>;
25 }
26
27 -keepclasseswithmembers class * {
28 public <init>(android.content.Context, android.util.AttributeSet);
29 }
30
31 -keepclasseswithmembers class * {
32 public <init>(android.content.Context, android.util.AttributeSet, int);
33 }
34
35 -keepclassmembers class * extends android.app.Activity {
36 public void *(android.view.View);
37 }
38
39 -keepclassmembers enum * {
40 public static **[] values();
41 public static ** valueOf(java.lang.String);
42 }
43
44 -keep class * implements android.os.Parcelable {
45 public static final android.os.Parcelable$Creator *;
46 }
47
48 #
49 # All changes below are additions to the Android SDK defaults, generally for the purposes of
50 # suppressing spurious or inconsequential warnings.
51 #
52
53 # Suppress duplicate warning for system classes; Blaze is passing android.jar
54 # to proguard multiple times.
55 -dontnote android.**
56 -dontnote java.**
57 -dontnote javax.**
58 -dontnote junit.**
59 -dontnote org.**
60 -dontnote dalvik.**
61 -dontnote com.android.internal.**
62
63 # Stop warnings about missing unused classes
64 -dontwarn com.google.common.annotations.**
65 -dontwarn com.google.common.base.**
66 -dontwarn com.google.common.collect.**
67 -dontnote com.google.common.flags.**
68 -dontwarn com.google.common.flags.**
69 -dontwarn com.google.common.util.concurrent.**
70
71 # Ignore missing JDK6 classes
72 -dontwarn java.**
73
74 # Inverting these produces significant size gains but loses significant debug in fo
75 -dontobfuscate
76 #-flattenpackagehierarchy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698