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
Required if it is to deal with v52 class files.
Bug: 27189914
(cherry-picked from commit 79c3a724b8)
Change-Id: I8647dd7807a153457e5af5ff13a414af853057ab
The rmtypedefs tool is inteded only for the Android build itself.
It is given a set of .class file folders, and it finds any .class
files within those folders that correspond to "typedef annotations":
these are annotation classes that themselves have been annotated with
@IntDef or @StringDef. These typedefs should all be using
@Retention(RetentionPolicy.SOURCE), something this tool will check and
report if not the case.
However, even if an annotation only has source level retention, the
annotation class *itself*, will still be created as a .class file. We
don't want these annotations in the Android system image, so this tool
is used to find and nuke the corresponding .class files for the
annotations themselves.
Change-Id: Ia343cc5bdbf215ded24b4354f3d92f5a9076eae3