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
It turns out annotation classes aren't spelled out in the public API
file, so we now emit warnings instead of errors on unrecognized method
calls into annotation classes.
The <angle bracket> stripper wasn't working quite right, and did the
wrong thing on nested brackets and stuff like "java.lang.Class<?>[]".