android13/development/tools/rmtypedefs
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
etc initial 2024-06-22 20:45:49 +08:00
src/com/android/tools/rmtypedefs initial 2024-06-22 20:45:49 +08:00
test/com/android/tools/rmtypedefs initial 2024-06-22 20:45:49 +08:00
.gitignore initial 2024-06-22 20:45:49 +08:00
Android.bp initial 2024-06-22 20:45:49 +08:00
README.txt initial 2024-06-22 20:45:49 +08:00

README.txt

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.