| OLD | NEW |
| 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 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 *; | 23 *; |
| 24 } | 24 } |
| 25 | 25 |
| 26 # Keep any enum's value and valueOf method since they are reflectively called | 26 # Keep any enum's value and valueOf method since they are reflectively called |
| 27 # from JUnit4 runner | 27 # from JUnit4 runner |
| 28 -keepclassmembers enum * { | 28 -keepclassmembers enum * { |
| 29 public static **[] values(); | 29 public static **[] values(); |
| 30 public static ** valueOf(java.lang.String); | 30 public static ** valueOf(java.lang.String); |
| 31 } | 31 } |
| 32 | 32 |
| 33 # Keey any annotation used by tests for instrumentation runner to list out | |
| 34 # test annotation information | |
| 35 -keep @interface android.support.test.** | |
| 36 -keep @interface org.chromium.base.test.** | |
| 37 -keep @interface org.junit.** | |
| 38 -keep @interface android.test.** | |
| 39 | |
| 40 -keepattributes *Annotation* | |
| 41 | |
| 42 # We have some "library class WebView depends on program class SslCertificate" | 33 # We have some "library class WebView depends on program class SslCertificate" |
| 43 # warnings, and they don't affect us. | 34 # warnings, and they don't affect us. |
| 44 -dontwarn android.webkit.WebView* | 35 -dontwarn android.webkit.WebView* |
| OLD | NEW |