0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2024-11-04 18:15:04 +00:00
VancedMicroG/proguard.flags

49 lines
1.9 KiB
Text
Raw Normal View History

2016-03-05 12:47:43 +00:00
# We use ProGuard for optimizations, obfuscation is for those who have sth to hide
-dontobfuscate
-optimizations !code/allocation/variable
# We're referencing stuff that is unknown to the system
-libraryjar ../unifiednlp-compat/build/classes/java/main
2016-03-05 12:47:43 +00:00
-dontwarn java.awt.**
-dontwarn javax.annotation.**
# External libs
2016-03-05 12:47:43 +00:00
-dontwarn okio.**
-dontwarn com.squareup.okhttp.**
-dontwarn org.oscim.tiling.source.OkHttpEngine
-dontwarn org.oscim.tiling.source.OkHttpEngine$OkHttpFactory
-dontwarn com.caverock.androidsvg.**
-dontwarn org.slf4j.**
2016-03-05 12:47:43 +00:00
2014-04-23 19:27:33 +00:00
# Disable ProGuard Notes, they won't help here
-dontnote
# Keep dynamically loaded GMS classes
-keep public class com.google.android.gms.maps.internal.CreatorImpl { public *; }
-keep public class com.google.android.gms.common.security.ProviderInstallerImpl { public *; }
-keep public class com.google.android.gms.plus.plusone.PlusOneButtonCreatorImpl { public *; }
-keep public class com.google.android.gms.dynamic.IObjectWrapper { public *; }
-keep public class com.google.android.gms.chimera.container.DynamiteLoaderImpl { public *; }
-keep public class com.google.android.gms.dynamite.descriptors.** { public *; }
-keep public class com.google.android.gms.cast.framework.internal.CastDynamiteModuleImpl { public *; }
2016-03-05 20:44:58 +00:00
# Keep AutoSafeParcelables
-keep public class * extends org.microg.safeparcel.AutoSafeParcelable {
2016-03-05 20:44:58 +00:00
@org.microg.safeparcel.SafeParceled *;
2016-03-05 12:47:43 +00:00
}
# Keep asInterface method cause it's accessed from SafeParcel
-keepattributes InnerClasses
-keepclassmembers interface * extends android.os.IInterface {
public static class *;
}
-keep public class * extends android.os.Binder { public static *; }
2016-03-05 12:47:43 +00:00
# Keep library info
-keep class **.BuildConfig { *; }
2016-03-05 12:47:43 +00:00
# Keep protobuf class builders
-keep public class com.squareup.wire.Message
2016-03-05 12:47:43 +00:00
-keep public class * extends com.squareup.wire.Message
-keep public class * extends com.squareup.wire.Message$Builder { public <init>(...); }