Stephan Herhut | d5aa092 | 2017-05-22 16:06:14 +0200 | [diff] [blame] | 1 | # Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file |
| 2 | # for details. All rights reserved. Use of this source code is governed by a |
| 3 | # BSD-style license that can be found in the LICENSE file. |
| 4 | |
Ian Zerny | bf39070 | 2018-10-09 07:18:49 +0200 | [diff] [blame] | 5 | # Keep line numbers to ensure method mappings in the map file. |
| 6 | -keepattributes LineNumberTable |
| 7 | |
Stephan Herhut | d5aa092 | 2017-05-22 16:06:14 +0200 | [diff] [blame] | 8 | # Keep the application entry point. Get rid of everything that is not |
| 9 | # reachable from there. |
| 10 | -keep public class classmerging.Test { |
| 11 | public static void main(...); |
| 12 | } |
Christoffer Quist Adamsen | d169b2a | 2018-10-22 16:13:52 +0200 | [diff] [blame] | 13 | -keep public class classmerging.ArrayTypeCollisionTest { |
| 14 | public static void main(...); |
| 15 | } |
Christoffer Quist Adamsen | 09247fb | 2018-07-12 14:07:13 +0200 | [diff] [blame] | 16 | -keep public class classmerging.CallGraphCycleTest { |
| 17 | public static void main(...); |
| 18 | } |
Christoffer Quist Adamsen | 722c9f6 | 2018-07-04 16:23:25 +0200 | [diff] [blame] | 19 | -keep public class classmerging.ClassWithNativeMethodTest { |
| 20 | public static void main(...); |
| 21 | } |
Christoffer Quist Adamsen | 1cbc764 | 2018-06-26 09:48:25 +0200 | [diff] [blame] | 22 | -keep public class classmerging.ConflictInGeneratedNameTest { |
| 23 | public static void main(...); |
| 24 | } |
Christoffer Quist Adamsen | 10c8a16 | 2018-06-11 09:53:03 +0200 | [diff] [blame] | 25 | -keep public class classmerging.ConflictingInterfaceSignaturesTest { |
| 26 | public static void main(...); |
| 27 | } |
Christoffer Quist Adamsen | 28ece0f | 2018-06-07 09:16:04 +0200 | [diff] [blame] | 28 | -keep public class classmerging.ExceptionTest { |
| 29 | public static void main(...); |
| 30 | } |
Christoffer Quist Adamsen | 0be95fb | 2018-07-06 10:45:56 +0200 | [diff] [blame] | 31 | -keep public class classmerging.FieldCollisionTest { |
| 32 | public static void main(...); |
| 33 | } |
| 34 | -keep public class classmerging.MethodCollisionTest { |
| 35 | public static void main(...); |
| 36 | } |
Christoffer Quist Adamsen | 53be22a | 2018-06-18 13:37:47 +0200 | [diff] [blame] | 37 | -keep public class classmerging.RewritePinnedMethodTest { |
| 38 | public static void main(...); |
| 39 | } |
Christoffer Quist Adamsen | 5bc29fa | 2018-06-27 15:01:39 +0200 | [diff] [blame] | 40 | -keep public class classmerging.PinnedParameterTypesTest { |
| 41 | public static void main(...); |
| 42 | } |
| 43 | -keep public class classmerging.PinnedParameterTypesTest$TestClass { |
| 44 | public static void method(...); |
| 45 | } |
Christoffer Quist Adamsen | cd92637 | 2019-01-23 13:28:25 +0100 | [diff] [blame] | 46 | -keep public class classmerging.PinnedArrayParameterTypesTest { |
| 47 | public static void main(...); |
| 48 | } |
| 49 | -keep public class classmerging.PinnedArrayParameterTypesTest$TestClass { |
| 50 | public static void method(...); |
| 51 | } |
Christoffer Quist Adamsen | 3e5246a | 2018-07-25 14:12:24 +0200 | [diff] [blame] | 52 | -keep public class classmerging.ProguardFieldMapTest { |
| 53 | public static void main(...); |
| 54 | } |
| 55 | -keep public class classmerging.ProguardMethodMapTest { |
| 56 | public static void main(...); |
| 57 | } |
Christoffer Quist Adamsen | 10c8a16 | 2018-06-11 09:53:03 +0200 | [diff] [blame] | 58 | -keep public class classmerging.SimpleInterfaceAccessTest { |
| 59 | public static void main(...); |
| 60 | } |
Christoffer Quist Adamsen | c655d26 | 2018-09-18 16:32:53 +0200 | [diff] [blame] | 61 | -keep public class classmerging.SyntheticBridgeSignaturesTest { |
| 62 | public static void main(...); |
| 63 | } |
Christoffer Quist Adamsen | 101d230 | 2018-06-12 16:44:10 +0200 | [diff] [blame] | 64 | -keep public class classmerging.SuperCallRewritingTest { |
| 65 | public static void main(...); |
| 66 | } |
Christoffer Quist Adamsen | bde428a | 2018-06-11 09:23:10 +0200 | [diff] [blame] | 67 | -keep public class classmerging.TemplateMethodTest { |
| 68 | public static void main(...); |
| 69 | } |
Ian Zerny | f893742 | 2017-11-20 14:40:21 +0100 | [diff] [blame] | 70 | |
Christoffer Quist Adamsen | cb04319 | 2019-12-11 14:39:48 +0100 | [diff] [blame] | 71 | -neverclassinline @classmerging.NeverClassInline class * |
Christoffer Quist Adamsen | bfdbe60 | 2019-10-18 12:03:31 +0200 | [diff] [blame] | 72 | -neverinline class * { |
| 73 | @classmerging.NeverInline <methods>; |
| 74 | } |