Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame^] | 1 | # Don't obfuscate any NDK/SDK code. This makes the debugging of stack traces in |
| 2 | # in release builds easier. |
| 3 | -keepnames class com.google.vr.ndk.** { *; } |
| 4 | -keepnames class com.google.vr.sdk.** { *; } |
| 5 | |
| 6 | # These are part of the SDK <-> VrCore interfaces for GVR. |
| 7 | -keepnames class com.google.vr.vrcore.library.api.** { *; } |
| 8 | |
| 9 | # These are part of the Java <-> native interfaces for GVR. |
| 10 | -keep class com.google.vr.** { native <methods>; } |
| 11 | |
| 12 | -keep class com.google.vr.cardboard.annotations.UsedByNative |
| 13 | -keep @com.google.vr.cardboard.annotations.UsedByNative class * |
| 14 | -keepclassmembers class * { |
| 15 | @com.google.vr.cardboard.annotations.UsedByNative *; |
| 16 | } |
| 17 | |
| 18 | -keep class com.google.vr.cardboard.UsedByNative |
| 19 | -keep @com.google.vr.cardboard.UsedByNative class * |
| 20 | -keepclassmembers class * { |
| 21 | @com.google.vr.cardboard.UsedByNative *; |
| 22 | } |