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

Side by Side Diff: components/cronet/android/sample/javatests/proguard.cfg

Issue 512953002: Use proguard.cfg in cronet sample apk. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments, move UsedByReflection to org.chromium.base. Created 6 years, 3 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
« no previous file with comments | « components/cronet/android/proguard.cfg ('k') | components/cronet/tools/cr_cronet.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Proguard settings for CronetSampleTestApk.
2
3 # Keep classes directly accessed from test apk
4 -keep class org.chromium.base.library_loader.LibraryLoaderHelper {
xunjieli 2014/09/02 16:53:16 It looks like the sample is only using https://cod
mef 2014/09/12 20:49:24 base_javatests include org.chromium.base.LibraryLo
5 void deleteWorkaroundLibrariesSynchronously(...);
6 java.io.File getWorkaroundLibDir(...);
7 boolean loadNativeLibrariesUsingWorkaroundForTesting(...);
8 }
9 -keep class org.chromium.base.CommandLine {
Charles 2014/09/02 16:52:19 If you're keeping all these classes here, adding p
mef 2014/09/12 20:49:24 Good point. I think it makes sense to build Cronet
10 *;
11 }
12 -keep class org.chromium.base.ObserverList* {
13 *;
14 }
15 -keep class org.chromium.cronet_sample_apk.CronetSampleActivity {
16 *;
17 }
18 -keep class org.chromium.net.ChromiumUrlRequestContext {
19 void startNetLogToFile(...);
20 void stopNetLog();
21 }
22 -keep class org.chromium.net.ChromiumUrlRequestFactory {
23 org.chromium.net.ChromiumUrlRequest createRequest(...);
24 org.chromium.net.ChromiumUrlRequestContext getRequestContext();
25 }
26 -keep class org.chromium.net.HttpUrlRequest {
27 *;
28 }
29 -keep class org.chromium.net.HttpUrlRequestFactory {
30 org.chromium.net.HttpUrlRequestFactory createFactory(...);
31 java.lang.String getName();
32 }
33 -keep class org.chromium.net.HttpUrlRequestFactoryConfig {
34 org.chromium.net.HttpUrlRequestFactoryConfig enableLegacyMode(...);
35 }
36 -keep class org.chromium.net.HttpUrlRequestListener {
37 *;
38 }
39 -keep class org.chromium.net.ChunkedWritableByteChannel {
40 *;
41 }
42
43 # Keep Test classes
44 -keep class * extends junit.framework.TestCase {
45 *;
46 }
OLDNEW
« no previous file with comments | « components/cronet/android/proguard.cfg ('k') | components/cronet/tools/cr_cronet.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698