aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/proguard-rules.pro
blob: 59e13843cc862069cbedf842e3d16cfa73067086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Documentation for ProGuard:
#   http://developer.android.com/guide/developing/tools/proguard.html
#   http://proguard.sourceforge.net/

#-dontshrink # shrinking enabled, see below
#-dontobfuscate # obfuscation enabled for one class (see below)
-dontoptimize
-dontpreverify
-keepattributes **
-dontwarn **
-dontnote **

# Rules are defined as negation filters!
# (! = negation filter, ** = all subpackages)
# Keep everything (** {*;}) except...

# * Obfuscate android.support.v7.view.menu.** to fix Samsung Android 4.2 bug
#   https://code.google.com/p/android/issues/detail?id=78377
# * Remove unneeded Bouncy Castle packages to be under 64K limit
#   http://developer.android.com/tools/building/multidex.html
-keep class !android.support.v7.view.menu.**,!org.bouncycastle.crypto.tls.**,!org.bouncycastle.pqc.**,!org.bouncycastle.x509.**,** {*;}