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

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

Issue 2262443002: Adding new shared config for Chrome and WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « chrome/android/chrome_public_apk_tmpl.gni ('k') | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/proguard.flags
diff --git a/chrome/android/java/proguard.flags b/chrome/android/java/proguard.flags
index 12830c1bb020371d16065091ee23608118680ca8..5db0925c1974dc2b8ff9f885e69e2fb11cd927cd 100644
--- a/chrome/android/java/proguard.flags
+++ b/chrome/android/java/proguard.flags
@@ -13,34 +13,6 @@
*;
}
-# The following chart was created on July 20, 2016, to decide on 3 optimization
-# passes.
-# optimization passes | time | .dex size | dirty memory per process
-# -----------------------------------------------------------------
-# 1 | 0:48 | 5805676 | 488972
-# 2 | 1:07 | 5777376 | 487092
-# 3 | 1:24 | 5772192 | 486596
-# 4 | 1:42 | 5771124 | 486484
-# 5 | 1:56 | 5770504 | 486432
--optimizationpasses 3
-
-# Class merging messes up stacktraces beyond the point of them being
-# deobfuscatable. If turned on, it would give us a 2% reduction in .dex size.
--optimizations !class/merging/*
-
-# Allowing Proguard to change modifiers. This change shrinks the .dex size by
-# ~1.1%, and reduces the method count by ~4.3%.
--allowaccessmodification
-
-# Allows Proguard freedom in removing these log related calls. We ask for debug
-# and verbose logs to be stripped out in base.Log, so we are just ensuring we
-# get rid of all other debug/verbose logs.
--assumenosideeffects class android.util.Log {
- static *** d(...);
- static *** v(...);
- static *** isLoggable(...);
-}
-
# Fragments are loaded using reflection via Fragment.instantiate(Context,String)
# This can be improved upon - see crbug.com/622023.
-keep public class com.google.android.apps.chrome** extends android.app.Fragment
@@ -66,8 +38,3 @@
# Google Play Services warnings are about its resources.
-dontwarn com.google.android.gms.R**
-
-# 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.**
« no previous file with comments | « chrome/android/chrome_public_apk_tmpl.gni ('k') | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698