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

Side by Side Diff: testing/android/proguard_for_test.flags

Issue 2793033003: [Android] Remove org.apache.http from proguard flags and gn. (Closed)
Patch Set: rebase and git cl format Created 3 years, 8 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 | « net/android/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file is for proguard flags which are applied to the combined test and 5 # This file is for proguard flags which are applied to the combined test and
6 # tested code. Do not put any flags in this file which might affect the 6 # tested code. Do not put any flags in this file which might affect the
7 # correctness of the .apk we are testing, since it will apply to that .apk as 7 # correctness of the .apk we are testing, since it will apply to that .apk as
8 # well. 8 # well.
9 9
10 # Keep all junit3 tests 10 # Keep all junit3 tests
11 -keep class * extends junit.framework.TestCase { 11 -keep class * extends junit.framework.TestCase {
12 *; 12 *;
13 } 13 }
14 14
15 # Keep all junit4 tests 15 # Keep all junit4 tests
16 -keep @**.RunWith class * { 16 -keep @**.RunWith class * {
17 *; 17 *;
18 } 18 }
19 19
20 # Keep any class inherited from junit Runner since their constructor is called 20 # Keep any class inherited from junit Runner since their constructor is called
21 # reflectively 21 # reflectively
22 -keep class * extends org.junit.runner.Runner { 22 -keep class * extends org.junit.runner.Runner {
23 *; 23 *;
24 } 24 }
25 25
26 # TODO(yfriedman): Remove when crbug.com/488192 is fixed.
27 -dontwarn org.apache.http.conn.scheme.LayeredSocketFactory
28
29 # We have some "library class WebView depends on program class SslCertificate" 26 # We have some "library class WebView depends on program class SslCertificate"
30 # warnings, and they don't affect us. 27 # warnings, and they don't affect us.
31 -dontwarn android.webkit.WebView* 28 -dontwarn android.webkit.WebView*
32
33 # We don't want BasicHttpParams or AbstractHttpParams to get renamed since that
34 # then makes our calls to them use the implementation that we find in our .dex
35 # file, which is broken. We need to rely on these calls resolving to the
36 # system's implementation. See crbug.com/488192#c36.
37 -keepnames class org.apache.** {
38 *;
39 }
OLDNEW
« no previous file with comments | « net/android/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698