forked from upstream-mirrors/OpenTracks
5066b23603
is a development build.
54 lines
1.7 KiB
INI
54 lines
1.7 KiB
INI
-target 6
|
|
-optimizationpasses 5
|
|
-dontusemixedcaseclassnames
|
|
-dontskipnonpubliclibraryclasses
|
|
-dontpreverify
|
|
-verbose
|
|
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
|
|
|
|
# Add the libraries, but ignore warnings about them
|
|
-libraryjars libs
|
|
-libraryjars ../MyTracksLib/libs
|
|
-dontwarn com.google.android.googleapps.**
|
|
-dontwarn com.android.common.**
|
|
-dontwarn com.google.android.gsf.**
|
|
-dontwarn org.codehaus.**
|
|
-dontwarn com.google.appengine.**
|
|
|
|
# Make our stack traces useful
|
|
# Line numbers will be correct, file names will be replaced by "MT" since the
|
|
# class name is enough to get the file name.
|
|
-renamesourcefileattribute MT
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
# Keep everything android references from XMLs
|
|
-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.app.backup.BackupAgent
|
|
-keep public class * extends android.content.BroadcastReceiver
|
|
-keep public class * extends android.content.ContentProvider
|
|
-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 *;
|
|
}
|