Permalink
Browse files

Added proguard.cfg from gjtorikian

  • Loading branch information...
1 parent 681723f commit e537f15320e45d7f6c49904fbdeee2c66339355a @pelya committed May 5, 2011
Showing with 56 additions and 1 deletion.
  1. +1 −1 .gitignore
  2. +55 −0 project/proguard.cfg
View
@@ -9,4 +9,4 @@ project/res/values*
project/AndroidManifest.xml
project/jni/Settings.mk
libapplication.so
-project/proguard.cfg
+
View
@@ -0,0 +1,55 @@
+-optimizationpasses 5
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-dontpreverify
+-verbose
+-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
+
+-keep public class * extends android.app.Activity
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+-keep public class * extends android.content.ContentProvider
+-keep public class * extends android.app.backup.BackupAgentHelper
+-keep public class * extends android.preference.Preference
+-keep public class com.android.vending.licensing.ILicensingService
+
+-keepclasseswithmembernames class * {
+ native <methods>;
+}
+
+-keepclasseswithmembernames class * {
+ public <init>(android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembernames class * {
+ public <init>(android.content.Context, android.util.AttributeSet, int);
+}
+
+-keepclassmembers enum * {
+ public static **[] values();
+ public static ** valueOf(java.lang.String);
+}
+
+-keep class * implements android.os.Parcelable {
+ public static final android.os.Parcelable$Creator *;
+}
+
+-keepclasseswithmembers class * {
+ native <methods>;
+}
+
+-keep class com.<pkg>.AudioThread {
+ int initAudio(int, int, int, int);
+ int deinitAudio();
+ int pauseAudioPlayback();
+ int resumeAudioPlayback();
+ int fillBuffer();
+ int initAudioThread();
+ *** getBuffer();
+}
+
+-keep class com.<pkg>.DemoRenderer {
+ int swapBuffers();
+ void showScreenKeyboard(java.lang.String, int);
+}

0 comments on commit e537f15

Please sign in to comment.