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

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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 # Accessed via reflection but not present in all builds 66 # Accessed via reflection but not present in all builds
67 -keep class com.android.webview.chromium.Drp { 67 -keep class com.android.webview.chromium.Drp {
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 #TODO(hush): remove after N release
sgurun-gerrit only 2015/10/14 17:40:13 please add a catchall bug for cleanup after N rele
hush (inactive) 2015/10/14 21:33:58 Done.
77 public void onActivityResult(int,int,android.content.Intent);
Torne 2015/10/14 13:42:58 Can you add this in a separate block, even though
hush (inactive) 2015/10/14 21:33:58 Done.
76 } 78 }
77 79
78 # Ignore notes and warnings about the support library, which uses reflection and 80 # Ignore notes and warnings about the support library, which uses reflection and
79 # may reference classes no longer in the SDK. 81 # may reference classes no longer in the SDK.
80 -dontnote android.support.** 82 -dontnote android.support.**
81 -dontwarn android.support.** 83 -dontwarn android.support.**
82 84
83 # Keep all enum values and valueOf methods. See 85 # Keep all enum values and valueOf methods. See
84 # http://proguard.sourceforge.net/index.html#manual/examples.html 86 # http://proguard.sourceforge.net/index.html#manual/examples.html
85 # for the reason for this. Also, see http://crbug.com/248037. 87 # for the reason for this. Also, see http://crbug.com/248037.
86 -keepclassmembers enum * { 88 -keepclassmembers enum * {
87 public static **[] values(); 89 public static **[] values();
88 public static ** valueOf(java.lang.String); 90 public static ** valueOf(java.lang.String);
89 } 91 }
90 92
91 # Remove when ViewStructure is no longer duplicated (crbug.com/513229) 93 # Remove when ViewStructure is no longer duplicated (crbug.com/513229)
92 -dontwarn android.view.* 94 -dontwarn android.view.*
93 -dontwarn android.app.assist.* 95 -dontwarn android.app.assist.*
94 -dontwarn android.webkit.* 96 -dontwarn android.webkit.*
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698