Files
android_development/tools/rmtypedefs
Colin Cross 61967edf02 Use asm-5.2 prebuilts
Test: m -j checkbuild tests cts
Change-Id: I737c9293662d1e9a5c47f174f160b9fd88bb3b5f
2017-02-13 12:54:21 -08:00
..
2013-08-13 14:56:13 -07:00
2017-02-13 12:54:21 -08:00
2013-08-13 14:56:13 -07:00
2016-03-23 13:22:38 -07:00
2013-08-13 14:56:13 -07:00

Android TypeDef Remover 1.0

This utility finds and removes all .class files that have been
annotated with the @IntDef annotation (android.annotations.IntDef) or
the @StringDef annotation (android.annotations.StringDef).

It also makes sure that these annotations have source level retention
(@Retention(RetentionPolicy.SOURCE)), since otherwise uses of the
typedef will appear in .class files as well.

This is intended to be used during the build to strip out any typedef
annotation classes, since these are not needed (or desirable) in the
system image.