forked from facebook/redex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproguard_config1.pro
152 lines (119 loc) · 3.79 KB
/
proguard_config1.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Configuration for ProGuard matcher e2e tests.
-dontoptimize
-keep class com.facebook.redex.test.proguard.Gamma
-keep class com.facebook.redex.test.proguard.Delta$B
-keep class com.facebook.redex.test.proguard.Delta$C {
*;
}
-keep class com.facebook.redex.test.proguard.Delta {
public <init>();
public <init>(java.lang.String);
!public static <fields>;
}
-keep class com.facebook.redex.test.proguard.Delta$D {
<fields>;
}
-keep class com.facebook.redex.test.proguard.Delta$E {
<methods>;
}
-keep class com.facebook.redex.test.proguard.Delta$F {
final <fields>;
}
-keep,allowobfuscation class com.facebook.redex.test.proguard.Delta$G {
*;
}
-keep,allowobfuscation class com.facebook.redex.test.proguard.Delta$H {
int wombat;
}
-keep,allowobfuscation class com.facebook.redex.test.proguard.Delta$I {
int wombat*;
}
-keep class com.facebook.redex.test.proguard.Delta$J
-keep,allowobfuscation class com.facebook.redex.test.proguard.Delta$J {
public <init>(com.facebook.redex.test.proguard.Delta);
public <init>(com.facebook.redex.test.proguard.Delta, java.lang.String);
** *_bear;
public *** alpha?;
public ** beta*;
public **[] gamma*;
public int omega(int, boolean, java.lang.String, char);
public int omega(%);
public int theta(...);
public % zeta?();
}
# DoNotStrip Annotation
-keep @interface com.facebook.redex.test.proguard.DoNotStrip
-keep @com.facebook.redex.test.proguard.DoNotStrip class ** {
@com.facebook.redex.test.proguard.DoNotStrip *;
}
-keep class com.facebook.redex.test.proguard.Delta$L {
public protected void alpha?();
private void alpha0();
void beta?();
public protected private void gamma?();
}
# DontKillMe Annotation
-keep @interface com.facebook.redex.test.proguard.DontKillMe
-keep public !final class ** extends com.facebook.redex.test.proguard.Epsilon
-keep,allowobfuscation class ** extends com.facebook.redex.test.proguard.Delta$G
-keep class ** extends @com.facebook.redex.test.proguard.DoNotStrip com.facebook.redex.test.proguard.Delta$R?
-keep class ** extends android.graphics.Color
-keep class ** implements android.text.Editable
-keep class ** implements com.facebook.redex.test.proguard.Eta$T0
-keep class com.facebook.redex.test.proguard.Theta
-keep class com.facebook.redex.test.proguard.Eta$T?
-keep interface com.facebook.redex.test.proguard.Iota$MySerializable
-keepclassmembers public class ** implements com.facebook.redex.test.proguard.Iota$MySerializable {
public int encode(int);
public int decode(int);
}
-keep class com.facebook.redex.test.proguard.Iota$Alpha
-keep class com.facebook.redex.test.proguard.Iota$SomeOther {
*;
}
-keepclasseswithmembers class * {
void red();
void green?();
}
-keepclasseswithmembers class * {
com.facebook.redex.test.proguard.Delta$VT *;
}
-keepnames class com.facebook.redex.test.proguard.Delta$W {
*;
}
-keepnames class ** implements com.facebook.redex.test.proguard.Delta$S3 {
public int alpha;
public int beta;
}
-keep class com.facebook.redex.test.proguard.Delta$T2
-keep class com.facebook.redex.test.proguard.Delta$U {
void mutator();
}
-assumenosideeffects class com.facebook.redex.test.proguard.Delta$U {
void logger();
}
-keepclasseswithmembers class * {
public <init>(com.facebook.redex.test.proguard.Delta$X);
}
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclasseswithmembers class com.facebook.redex.test.proguard.Delta$E7 {
int crab;
int seahorse;
int shark();
int tuna?();
}
# view AndroidManifest.xml #generated:6
-keep class android.support.test.runner.AndroidJUnitRunner {
<init>(...);
}
-keep class androidx.test.runner.AndroidJUnitRunner {
<init>(...);
}
# view AndroidManifest.xml #generated:13
-keep class com.facebook.redex.test.proguard.ProguardTest {
<init>(...);
}
-dontwarn android.content.**
-dontwarn org.xmlpull.v1.**