Files
android_development/tools/rmtypedefs
Dan Willemsen f230a38299 Replace custom rules, remove ACP
A few LOCAL_ADDITIONAL_DEPENDENCIES were required, where
LOCAL_REQUIRED_MODULES would be nicer, but you can't require a module of
the same name. It would create a dependency loop with the current
require implementation, so it's filtered by the build system.

Also translate monkey from ALL_PREBUILTS to a prebuilt like the rest of
the tools. This doesn't change anything, since 'monkey' is already in
build/target/product/base.mk.

ACP is being removed, so use the standard build system macros to copy
files.

Change-Id: I4f73c6b35c0d7ae25467145b0a9d5c32ba4578d2
2016-03-23 13:22:38 -07:00
..
2013-08-13 14:56:13 -07:00
2016-02-18 11:53:07 +00: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.