1 # Add project specific ProGuard rules here. 2 # You can edit the include path and order by changing the proguardFiles 3 # directive in build.gradle. 4 # 5 # For more details, see 6 # http://developer.android.com/guide/developing/tools/proguard.html 7 8 # Many of the Conscrypt classes are referenced indirectly via JNI or 9 # reflection. 10 # This could probably be tightened up, but this will get it building for now. 11 # TODO(kroot): Need anything special to prevent obfuscation? 12 -keep class org.conscrypt.** { *; } 13 14 # Backward compatibility code. 15 -dontnote libcore.io.Libcore 16 -dontnote org.apache.harmony.xnet.provider.jsse.OpenSSLRSAPrivateKey 17 -dontnote org.apache.harmony.security.utils.AlgNameMapper 18 -dontnote sun.security.x509.AlgorithmId 19 20 -dontwarn dalvik.system.BlockGuard 21 -dontwarn dalvik.system.BlockGuard$Policy 22 -dontwarn dalvik.system.CloseGuard 23 -dontwarn com.android.org.conscrypt.OpenSSLSocketImpl 24 -dontwarn org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl 25