Added proguard.cfg from gjtorikian
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,4 +9,4 @@ project/res/values*
|
||||
project/AndroidManifest.xml
|
||||
project/jni/Settings.mk
|
||||
libapplication.so
|
||||
project/proguard.cfg
|
||||
|
||||
|
||||
55
project/proguard.cfg
Normal file
55
project/proguard.cfg
Normal file
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user