blob: bdbdae385cb1407493939690e3832a50d97320fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Add project specific ProGuard rules here.
-keepattributes SourceFile,LineNumberTable
# sherpa-onnx's Kotlin API is invoked from the native libraries through JNI, so
# nothing in that package may be renamed or removed.
-keep class com.k2fsa.sherpa.onnx.** { *; }
-keepclasseswithmembernames class * {
native <methods>;
}
# Custom views are instantiated by the layout inflater via reflection.
-keep public class * extends android.view.View {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
}
|