35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
|
# Don't obfuscate any NDK/SDK code. This makes the debugging of stack traces
|
||
|
# in release builds easier.
|
||
|
-keepnames class com.google.vr.ndk.** { *; }
|
||
|
-keepnames class com.google.vr.sdk.** { *; }
|
||
|
|
||
|
# These are part of the Java <-> native interfaces for GVR.
|
||
|
-keepclasseswithmembernames,includedescriptorclasses class com.google.vr.** {
|
||
|
native <methods>;
|
||
|
}
|
||
|
|
||
|
# The SDK configuration class member names are useful for debugging client logs.
|
||
|
-keepclasseswithmembernames,allowoptimization class com.google.common.logging.nano.Vr$VREvent$SdkConfigurationParams** {
|
||
|
*;
|
||
|
}
|
||
|
|
||
|
-keep class com.google.vr.cardboard.UsedByNative
|
||
|
-keep @com.google.vr.cardboard.UsedByNative class *
|
||
|
-keepclassmembers class * {
|
||
|
@com.google.vr.cardboard.UsedByNative *;
|
||
|
}
|
||
|
|
||
|
-keep class com.google.vr.cardboard.annotations.UsedByNative
|
||
|
-keep @com.google.vr.cardboard.annotations.UsedByNative class *
|
||
|
-keepclassmembers class * {
|
||
|
@com.google.vr.cardboard.annotations.UsedByNative *;
|
||
|
}
|
||
|
|
||
|
-keep class com.google.vr.cardboard.annotations.UsedByReflection
|
||
|
-keep @com.google.vr.cardboard.annotations.UsedByReflection class *
|
||
|
-keepclassmembers class * {
|
||
|
@com.google.vr.cardboard.annotations.UsedByReflection *;
|
||
|
}
|
||
|
|
||
|
-dontwarn com.google.protobuf.nano.NanoEnumValue
|