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

Unified Diff: android_webview/apk/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 | « no previous file | android_webview/system_webview_apk_tmpl.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/apk/java/proguard.flags
diff --git a/android_webview/apk/java/proguard.flags b/android_webview/apk/java/proguard.flags
index 7b9d2a86ca85ccb1c5f933b9043fa9478a923632..212c8d12c007b933dba719106d58daf22cb11f28 100644
--- a/android_webview/apk/java/proguard.flags
+++ b/android_webview/apk/java/proguard.flags
@@ -6,34 +6,6 @@
# build/android/stacktrace/java_deobfuscate.py to fix the stacktrace up for us.
-keepnames,allowoptimization class *** { *; }
-# The following chart was created on Aug. 11, 2016, to decide on 3 optimization
-# passes.
-# optimization passes | time | .dex size | dirty memory
-# -----------------------------------------------------------------
-# 1 | 0:13 | 1022588 | 97772
-# 2 | 0:17 | 1019200 | 97472
-# 3 | 0:18 | 1018472 | 97424
-# 4 | 0:21 | 1018392 | 97416
-# 5 | 0:26 | 1018360 | 97416
--optimizationpasses 3
-
-# Class merging messes up stacktraces beyond the point of them being
-# deobfuscatable. If turned on, it would give us a 1% reduction in .dex size.
--optimizations !class/merging/*
-
-# Allowing Proguard to change modifiers. This change shrinks the .dex size by
-# 3.7%.
--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(...);
-}
-
# Keep the factory and its public members; it's the main entry point used by the
# framework.
-keep class com.android.webview.chromium.WebViewChromiumFactoryProvider {
@@ -88,8 +60,3 @@
public void setDisabledActionModeMenuItems(int);
public int getDisabledActionModeMenuItems();
}
-
-# Ignore notes and warnings about the support library, which uses reflection and
-# may reference classes no longer in the SDK.
--dontnote android.support.**
--dontwarn android.support.**
« no previous file with comments | « no previous file | android_webview/system_webview_apk_tmpl.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698