Index: webapk/shell_apk/proguard.flags |
diff --git a/webapk/shell_apk/proguard.flags b/webapk/shell_apk/proguard.flags |
deleted file mode 100644 |
index 47fa925139cd4958af7f1dbab8f3f2137cd28ab0..0000000000000000000000000000000000000000 |
--- a/webapk/shell_apk/proguard.flags |
+++ /dev/null |
@@ -1,63 +0,0 @@ |
-# Keep line number information, useful for stack traces. |
--keepattributes SourceFile,LineNumberTable |
- |
-# Keep the annotations. |
--keep @interface *** |
- |
-# Disable obfuscation for the following package. |
--keepnames class org.chromium.** { |
- *; |
-} |
- |
-# Keep all the primitive and String constants for for the following two packages. |
--keepclassmembers class org.chromium.** { |
- !private static final % *; |
- !private static final java.lang.String *; |
-} |
- |
-# Keep code annotated with the following annotations. |
--keep class org.chromium.** { |
- @**.AccessedByNative <fields>; |
- @**.CalledByNative <methods>; |
- @**.CalledByNativeUnchecked <methods>; |
- @**.JavascriptInterface <methods>; |
- @**.NativeCall <methods>; |
- @**.UsedByReflection <methods>; |
- @**.VisibleForTesting *; |
- native <methods>; |
-} |
- |
-# Keep all runtime visible annotations |
--keepattributes RuntimeVisibleAnnotations |
- |
-# Remove methods annotated with this if their return value is unused |
--assumenosideeffects class * { |
- @org.chromium.base.annotations.RemovableInRelease <methods>; |
-} |
- |
-# Keep all enum values and valueOf methods. See |
-# http://proguard.sourceforge.net/index.html#manual/examples.html |
-# for the reason for this. Also, see http://crbug.com/248037. |
--keepclassmembers enum * { |
- public static **[] values(); |
- public static ** valueOf(java.lang.String); |
-} |
- |
-# Keep all Parcelables as they might be marshalled outside Chrome. |
--keepnames class * implements android.os.Parcelable { |
- public static final ** CREATOR; |
-} |
- |
-# The support library contains references to newer platform versions. |
-# Don't warn about those in case this app is linking against an older |
-# platform version. We know about them, and they are safe. |
--dontwarn android.support.** |
- |
-# Everything below this is kept because they are referenced by the test APK. |
--dontwarn javax.annotation.Nullable |
- |
-# TODO(aurimas): remove this when Google Play Services no longer uses setLatestEventInfo call |
-# that was deprecated in Android M. It is save to suppress this according to b/18510449. |
--dontwarn android.app.Notification |
- |
--dontwarn android.net.http.SslCertificate |