History log of /frameworks/support/annotations/external-annotations/android/support/annotation/annotations.xml
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5dcac27d685f2ac6fd69d0c9bdb984c2a3a1be07 09-Sep-2016 Tor Norbye <tnorbye@google.com> Add metadata for the dimension annotation, and strip typedefs

The support annotations library is a plain Java library, it's not an
Android library, which means it gets built by the Gradle java plugin,
and packaged as a plain jar file. That means that the typedef
annotations (on VisibleForTesting and Dimension) were getting included
in the .jar file, which is pointless.

This CL removes these classes at build time (and to do that, they had
to be top level classes rather than inner classes; removing inner
classes at packaging isn't safe since the outerclass contains
references to its inner classes). This CL also adds external metadata
information about the Dimension's unit attribute, which was missing.

It's unfortunate that we can't just use the android library build
support that handles all this automatically, but a number of users
like that the annotations library is a plain .jar such that they can
include it not just in their Android apps, but in plain Java modules
as well which are contain shared server and app code.

Change-Id: If6ac38f1e5aad7091001ff3749c804b5c0a2452b
/frameworks/support/annotations/external-annotations/android/support/annotation/annotations.xml
f6ac5e1b91cbf9656ee578a3167d5520d0fed68f 07-Sep-2016 Tor Norbye <tnorbye@google.com> Generate external annotations for the annotations library

Change-Id: Id2dab5d4e5e6830f20c17b9f0bbf43988650efaf
(cherry picked from commit 06d3a4598be64ce26140a7f507e3db8c3a7bda49)
/frameworks/support/annotations/external-annotations/android/support/annotation/annotations.xml