Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: third_party/gvr-android-sdk/proguard/base.flags

Issue 2377763003: Revert "Updated to GVR 1.0 SDK" (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/gvr-android-sdk/README.chromium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gvr-android-sdk/proguard/base.flags
diff --git a/third_party/gvr-android-sdk/proguard/base.flags b/third_party/gvr-android-sdk/proguard/base.flags
new file mode 100644
index 0000000000000000000000000000000000000000..6ae223f5000b8d4864917bb8b49fb53e1b573183
--- /dev/null
+++ b/third_party/gvr-android-sdk/proguard/base.flags
@@ -0,0 +1,10 @@
+# Proguard rules for commonly-shared libraries in gvr.
+
+-keepattributes *Annotation*
+
+# Keep natively accessed methods used by GVR.
+-keep class com.google.vr.cardboard.UsedByNative
+-keep @com.google.vr.cardboard.UsedByNative class *
+-keepclassmembers class * {
+ @com.google.vr.cardboard.UsedByNative *;
+}
« no previous file with comments | « third_party/gvr-android-sdk/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698