summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:03:03 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:03:03 +0000
commitf5c3daf5781dc5f5dadb50041e98a57970741866 (patch)
treecc98cb2ae47e22d126b081e707838231880d1cdf
parentfe16fde905d08f6d12a418e3b55c19d53d5f8f10 (diff)
parent289689dc538c07e97ada96cd41349a7145e2091c (diff)
downloadjsr330-android14-mainline-permission-release.tar.gz
Change-Id: Id7e10b37cc337a5983a7b121c99a8943c0e744c0
-rw-r--r--Android.bp10
1 files changed, 9 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 33b84a0..535fc7a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -42,13 +42,16 @@ java_library_static {
hostdex: true,
sdk_version: "core_current",
srcs: ["src/**/*.java"],
- apex_available:[
+ apex_available: [
"//apex_available:platform",
"com.android.adservices",
+ "com.android.devicelock",
"com.android.extservices",
+ "com.android.healthfitness",
"com.android.ondevicepersonalization",
],
}
+
//
// TCK (Test Compatibility Kit)
// -- For DI frameworks that want to test compatibility with javax.
@@ -59,4 +62,9 @@ java_library_host {
"jsr330",
"junit",
],
+ errorprone: {
+ javacflags: [
+ "-Xep:OverridesJavaxInjectableMethod:WARN",
+ ],
+ },
}