summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Muhammad Qureshi <muhammadq@google.com> 2024-02-14 21:06:24 -0800
committer Muhammad Qureshi <muhammadq@google.com> 2024-02-14 21:06:24 -0800
commit5a8f6e7e8fa44dc83f8a6261c30df2cb40e38652 (patch)
treee3f8136c404e3b75eda6ebdda4d2101dd806765f
parent563afa53b1f7c17a7fecc1a0f03411c0cac8d108 (diff)
Add androidx.annotation_annotation dependency.
stats-log-api-gen adds missing @RequiresApi annotations to the generated StatsLog.write() calls. The library pulling in the changes needs to depend on androidx.annotation_annotation which provides @RequiresApi annotation. Bug: 319044160 Test: m docsui-statsd Change-Id: I47caef3470882478fca48fc1cca9fad78763818b
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 7a8181da6..46c0bea9a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -83,6 +83,9 @@ java_library {
srcs: [
":statslog-docsui-java-gen",
],
+ libs: [
+ "androidx.annotation_annotation",
+ ],
lint: {
strict_updatability_linting: true,
baseline_filename: "lint-baseline.xml",