Prefer framework-annotations-lib dependency
Rather than bundling a copy of the framework annotations, reference them
via framework-annotations-lib as a libs reference. This ensures the
target inherits any necessary keep rule configurations, and is the same
pattern used by other mainline modules.
Bug: 275175207
Test: m
Flag: EXEMPT refactor
Change-Id: Id1ad610618e8061bbd73801dfca675c548373f5c
diff --git a/Android.bp b/Android.bp
index 8f4997c..9be92ab 100644
--- a/Android.bp
+++ b/Android.bp
@@ -275,6 +275,7 @@
],
libs: [
"error_prone_annotations",
+ "framework-annotations-lib",
"unsupportedappusage",
],
static_libs: [