summaryrefslogtreecommitdiffstats
path: root/proguard.flags
blob: b77182978a597e3cd7de22b2b50f2c22ee1aa5d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /opt/android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
#   public *;
#}

-keepattributes *Annotation*,EnclosingMethod,Signature,LineNumberTable,SourceFile

-dontwarn cyanogenmod.**
-keep class cyanogenmod.app.** { *; }

# Disable a specific optimization that trigger the proguard bug
-optimizations !code/allocation/variable