OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 # Proguard flags for what should be kept in the main dex. Only used | 5 # Proguard flags for what should be kept in the main dex. Only used |
6 # during main dex list determination, not during actual proguarding. | 6 # during main dex list determination, not during actual proguarding. |
7 | 7 |
8 -keep @**.MainDex class * { | 8 -keep @**.MainDex class * { |
9 *; | 9 *; |
10 } | 10 } |
11 | 11 |
12 -keepclasseswithmembers class * { | 12 -keepclasseswithmembers class * { |
13 public static ** asInterface(android.os.IBinder); | 13 public static ** asInterface(android.os.IBinder); |
14 } | 14 } |
15 | 15 |
16 # Required when code coverage is enabled. | 16 # Required when code coverage is enabled. |
17 -keep class com.vladium.** { | 17 -keep class com.vladium.** { |
18 *; | 18 *; |
19 } | 19 } |
| 20 |
| 21 # Used by tests for secondary dex extraction. |
| 22 -keep class android.support.v4.content.ContextCompat { |
| 23 *; |
| 24 } |
OLD | NEW |