Modify libs and static_libs for mobile_data_downloader_lib
Move checker-qual in libs and android_checker_annotation_stubs to static_libs. AdServices need this change in order to add mdd in static_libs.
Bug: 239230416
Test: mma
Change-Id: Ic98ed2c09b799e35e9cbf61536d74e62f0df0db1
diff --git a/Android.bp b/Android.bp
index a5b17f9..6d2f17b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -34,6 +34,10 @@
srcs: ["android-annotation-stubs/src/**/*.java"],
host_supported: true,
sdk_version: "core_current",
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.adservices",
+ ],
}
android_library {
@@ -54,14 +58,14 @@
"mobile-data-download-populator-java-proto-lite",
"dagger2",
"jsr330",
- "checker-qual",
"android_downloader_lib",
+ "android_checker_annotation_stubs",
],
libs: [
"auto_value_annotations",
"framework-annotations-lib",
"unsupportedappusage",
- "android_checker_annotation_stubs",
+ "checker-qual",
],
plugins: [
"auto_value_plugin",