summaryrefslogtreecommitdiffstats
path: root/components/cronet
diff options
context:
space:
mode:
authormef <mef@chromium.org>2016-02-04 15:20:25 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-04 23:21:49 +0000
commit97f0bbe6dd4f6a449a1e7a1b4df9f0b5617e17a0 (patch)
tree57bf8545b87c77addea915ff4a5b60284f843ef9 /components/cronet
parente659ee93a6090c6d8f52ef45b62da65e08e93154 (diff)
downloadchromium_src-97f0bbe6dd4f6a449a1e7a1b4df9f0b5617e17a0.zip
chromium_src-97f0bbe6dd4f6a449a1e7a1b4df9f0b5617e17a0.tar.gz
chromium_src-97f0bbe6dd4f6a449a1e7a1b4df9f0b5617e17a0.tar.bz2
[Cronet] Upstream cronet proguard.cfg
Several projects that use Cronet rely on older version of Android SDK, which causes proguard warnings. Upstream changes to ignore those warnings. Review URL: https://codereview.chromium.org/1646393002 Cr-Commit-Position: refs/heads/master@{#373654}
Diffstat (limited to 'components/cronet')
-rw-r--r--components/cronet/android/proguard.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/cronet/android/proguard.cfg b/components/cronet/android/proguard.cfg
index bfeb480..009db09 100644
--- a/components/cronet/android/proguard.cfg
+++ b/components/cronet/android/proguard.cfg
@@ -33,7 +33,14 @@
# Suppress unnecessary warnings.
-dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver
-dontnote org.chromium.net.AndroidKeyStore
+# Needs 'void setTextAppearance(int)' (API level 23).
+-dontwarn org.chromium.base.ApiCompatibilityUtils
+# Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23).
+-dontwarn org.chromium.base.WindowCallbackWrapper
+# Generated for chrome apk and not included into cronet.
-dontwarn org.chromium.base.library_loader.NativeLibraries
+# Generated for chrome apk and not included into cronet.
+-dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller
# Objects of this type are passed around by native code, but the class
# is never used directly by native code. Since the class is not loaded, it does
# not need to be preserved as an entry point.