Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Proguard config for apps that depend on cronet_impl_common_java.jar. | 1 # Proguard config for apps that depend on cronet_impl_common_java.jar. |
| 2 | 2 |
| 3 # This constructor is called using the reflection from Cronet API (cronet_api.ja r). | |
| 4 -keep class org.chromium.net.impl.CronetEngineBuilderImpl { | |
| 5 public <init>(android.content.Context); | |
| 6 } | |
| 7 | |
| 8 # This class should be explicitly kept to avoid failure if | 3 # This class should be explicitly kept to avoid failure if |
| 9 # class/merging/horizontal proguard optimization is enabled. | 4 # class/merging/horizontal proguard optimization is enabled. |
| 10 -keep class org.chromium.net.impl.ImplVersion | 5 -keep class org.chromium.net.impl.ImplVersion |
| 6 | |
| 7 # Do not obfuscate this class for testing since some of the tests check the clas s | |
| 8 # name in order to check that an instantiated engine is the Java one. | |
| 9 -keep class org.chromium.net.impl.JavaCronetEngine | |
|
pauljensen
2017/01/18 17:03:04
Our production proguard files shouldn't have testi
kapishnikov
2017/01/19 01:25:24
Agree. I actually wanted to add it to the test pro
| |
| OLD | NEW |