aosp12/development/tools/rmtypedefs
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
etc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
src/com/android/tools/rmtypedefs init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
test/com/android/tools/rmtypedefs init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitignore init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +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.