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

Side by Side Diff: android_webview/apk/java/proguard.flags

Issue 1399613002: Public glue layer plumbing for View#startActivityForResult (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 # Don't rename anything, it makes stack traces unintelligible. We only allow the 1 # Don't rename anything, it makes stack traces unintelligible. We only allow the
2 # obfuscation pass to run so that we can discard attributes like local variable 2 # obfuscation pass to run so that we can discard attributes like local variable
3 # tables. 3 # tables.
4 -keepnames class *** { *; } 4 -keepnames class *** { *; }
5 5
6 # Keep source file and line number information for stack traces. 6 # Keep source file and line number information for stack traces.
7 -keepattributes SourceFile,LineNumberTable 7 -keepattributes SourceFile,LineNumberTable
8 8
9 # Keep all runtime visible annotations. 9 # Keep all runtime visible annotations.
10 -keepattributes RuntimeVisibleAnnotations 10 -keepattributes RuntimeVisibleAnnotations
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 public java.lang.String KEY; 68 public java.lang.String KEY;
69 } 69 }
70 -dontnote com.android.webview.chromium.Drp 70 -dontnote com.android.webview.chromium.Drp
71 71
72 # Keep framework support for SmartClip. 72 # Keep framework support for SmartClip.
73 -keep class com.android.webview.chromium.WebViewChromium { 73 -keep class com.android.webview.chromium.WebViewChromium {
74 public void extractSmartClipData(int,int,int,int); 74 public void extractSmartClipData(int,int,int,int);
75 public void setSmartClipResultHandler(android.os.Handler); 75 public void setSmartClipResultHandler(android.os.Handler);
76 } 76 }
77 77
78 #TODO(hush): remove after N release. crbug.com/543272
79 -keep class com.android.webview.chromium.WebViewChromium {
80 public void onActivityResult(int,int,android.content.Intent);
81 }
82
78 # Ignore notes and warnings about the support library, which uses reflection and 83 # Ignore notes and warnings about the support library, which uses reflection and
79 # may reference classes no longer in the SDK. 84 # may reference classes no longer in the SDK.
80 -dontnote android.support.** 85 -dontnote android.support.**
81 -dontwarn android.support.** 86 -dontwarn android.support.**
82 87
83 # Keep all enum values and valueOf methods. See 88 # Keep all enum values and valueOf methods. See
84 # http://proguard.sourceforge.net/index.html#manual/examples.html 89 # http://proguard.sourceforge.net/index.html#manual/examples.html
85 # for the reason for this. Also, see http://crbug.com/248037. 90 # for the reason for this. Also, see http://crbug.com/248037.
86 -keepclassmembers enum * { 91 -keepclassmembers enum * {
87 public static **[] values(); 92 public static **[] values();
88 public static ** valueOf(java.lang.String); 93 public static ** valueOf(java.lang.String);
89 } 94 }
90 95
91 # Remove when ViewStructure is no longer duplicated (crbug.com/513229) 96 # Remove when ViewStructure is no longer duplicated (crbug.com/513229)
92 -dontwarn android.view.* 97 -dontwarn android.view.*
93 -dontwarn android.app.assist.* 98 -dontwarn android.app.assist.*
94 -dontwarn android.webkit.* 99 -dontwarn android.webkit.*
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698