Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(787)

Side by Side Diff: components/cronet/android/cronet_impl_common_proguard.cfg

Issue 2626523003: Cronet: a framework for providing alternative Cronet implementations (Closed)
Patch Set: Updated api.txt Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698