-
Notifications
You must be signed in to change notification settings - Fork 16
/
proguard-rules.txt
183 lines (146 loc) · 3.77 KB
/
proguard-rules.txt
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/kread/bin/android-sdk-mac_86/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# public *** doAjaxRequest(...);
-keep class ag.boersego.bgjs.V8Engine {
*;
}
-keep class ag.boersego.bgjs.JNIV8Object {
public <init>(***);
protected <init>(***);
public *;
void adjustJSExternalMemory(long);
}
-keep class * extends ag.boersego.bgjs.JNIV8Object {
protected public <init>(***);
protected <init>(***);
public *;
}
-keep class ag.boersego.bgjs.JNIObject {
public <init>(***);
protected <init>(***);
public *;
}
-keep class * extends ag.boersego.bgjs.JNIObject {
public <init>(***);
protected <init>(***);
public *;
}
-keep class ag.boersego.bgjs.JNIV8Undefined {
protected public <init>(***);
public *;
}
-keep class ag.boersego.bgjs.JNIV8Function {
protected public <init>(***);
public *;
}
-keep class ag.boersego.bgjs.JNIV8Function$* {
public *;
}
-keep class * extends ag.boersego.bgjs.JNIV8Function {
protected public <init>(***);
public *;
}
-keep class * extends ag.boersego.bgjs.JNIV8Module {
protected public <init>(***);
public *;
}
-keep class ag.boersego.bgjs.JNIV8Module {
protected public <init>(***);
public *;
}
-keep class ag.boersego.bgjs.JNIV8GenericObject {
public <init>(***);
protected <init>(***);
public *;
}
-keep class * extends ag.boersego.bgjs.JNIV8Array {
protected public <init>(***);
public *;
}
-keep class ag.boersego.bgjs.V8Exception {
*;
}
-keep class ag.boersego.bgjs.V8JSException {
*;
}
-keep class ag.boersego.bgjs.V8JSException {
protected public <init>(***);
public *;
}
-keep class * extends ag.boersego.bgjs.V8JSException {
public <init>(***);
public *;
}
-keepclasseswithmembers class * {
@ag.boersego.v8annotations.V8Class <methods>;
@ag.boersego.v8annotations.V8Function <methods>;
@ag.boersego.v8annotations.V8Getter <methods>;
@ag.boersego.v8annotations.V8Setter <methods>;
}
-keep class ag.boersego.bgjs.V8TextureView {
*;
}
-keep class ag.boersego.bgjs.IV8GLViewOnRender {
*;
}
-keep class java.lang.String {
public <init>(java.lang.String);
public byte[] getBytes(java.lang.String);
}
-keep class java.lang.Object {
public String toString();
}
-keep class java.lang.RuntimeException {
public <init>(**);
}
-keep class java.util.HashMap {
public <init>(**);
}
# JNIV8Wrapper
-keep class ag.boersego.v8annotations.generated.V8FunctionInfo {
public *;
}
-keep class ag.boersego.v8annotations.generated.V8AccessorInfo {
public *;
}
-keep class java.lang.Double {
public java.lang.Double valueOf();
}
-keep class java.lang.Boolean {
public java.lang.Boolean valueOf();
public boolean booleanValue();
}
-keep class java.lang.Character {
public char characterValue();
}
-keep class java.lang.Number {
public double doubleValue();
}
-keepnames class java.lang.StackTraceElement {
public *;
}
-keepattributes *V8*
-keep class **$V8Binding {
public <init>(***);
public *;
}
-keepclasseswithmembernames,includedescriptorclasses class * {
native <methods>;
}
-keep public class ag.boersego.v8annotations.generated.** {
public <init>(***);
public protected *;
}