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

Unified Diff: chrome/android/shell/java/proguard.flags

Issue 1314413004: Cast ChromeShell into the fiery pit of Mount Doom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 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
Index: chrome/android/shell/java/proguard.flags
diff --git a/chrome/android/shell/java/proguard.flags b/chrome/android/shell/java/proguard.flags
deleted file mode 100644
index 1228939afcca13de8fba176697f65d611c45891c..0000000000000000000000000000000000000000
--- a/chrome/android/shell/java/proguard.flags
+++ /dev/null
@@ -1,77 +0,0 @@
-# Keep line number information, useful for stack traces.
--keepattributes SourceFile,LineNumberTable
-
-# Keep all runtime visible annotations
--keepattributes RuntimeVisibleAnnotations
-
-# Keep the annotations.
--keep @interface ***
-
-# A lot of code in org.chromium is used by both the internal Chrome code and by
-# ChromeShell tests. It doesn't make sense to mark such things as
-# @VisibleForTesting. For now, just keep everything in org.chromium.
--keep class org.chromium.** {
- *;
-}
-
-# Keep code annotated with the following annotations.
--keep class * {
- @**.AccessedByNative <fields>;
- @**.CalledByNative <methods>;
- @**.CalledByNativeUnchecked <methods>;
- @**.JavascriptInterface <methods>;
- @**.NativeCall <methods>;
- @**.UsedByReflection <methods>;
- @**.VisibleForTesting *;
- native <methods>;
-}
-
-# Keep the client interfaces for cacheinvalidation as they are used as
-# argument types for some of our code that we're keeping and proguard warns
-# otherwise.
--keep class com.google.ipc.invalidation.external.client.** {
- *;
-}
--keep class com.google.protos.ipc.invalidation.** {
- *;
-}
-
-# 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.
--keep class * implements android.os.Parcelable {
- public static final ** CREATOR;
-}
-
-# SearchView is used in website_preferences_menu.xml and is constructed by
-# Android using reflection.
--keep class android.support.v7.widget.SearchView {
- public <init>(...);
-}
-
--keep class android.support.v7.app.AlertDialog {
- public ** getButton(int);
-}
-
-# Google Play Services warnings are about its resources.
--dontwarn com.google.android.gms.R**
-
-# TODO(yfriedman): Remove when crbug.com/488192 is fixed.
--dontwarn org.apache.http.**
-
-# 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.**
-
--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
« no previous file with comments | « chrome/android/shell/java/DEPS ('k') | chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698