summaryrefslogtreecommitdiff
path: root/llama.cpp/examples/llama.android/lib/consumer-rules.pro
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/examples/llama.android/lib/consumer-rules.pro')
-rw-r--r--llama.cpp/examples/llama.android/lib/consumer-rules.pro8
1 files changed, 8 insertions, 0 deletions
diff --git a/llama.cpp/examples/llama.android/lib/consumer-rules.pro b/llama.cpp/examples/llama.android/lib/consumer-rules.pro
new file mode 100644
index 0000000..e6eb6f5
--- /dev/null
+++ b/llama.cpp/examples/llama.android/lib/consumer-rules.pro
@@ -0,0 +1,8 @@
+-keep class com.arm.aichat.* { *; }
+-keep class com.arm.aichat.gguf.* { *; }
+
+-keepclasseswithmembernames class * {
+ native <methods>;
+}
+
+-keep class kotlin.Metadata { *; }