summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author atrost <atrost@google.com> 2019-11-04 17:03:54 +0000
committer atrost <atrost@google.com> 2019-11-11 15:10:57 +0000
commit1a9455046cbda76d11ac69f92def93b6532f1113 (patch)
tree9e02e49289ef1307e4461b99c964735a6a336b3c
parent1a2b94064622d5c4333a065781b781868afa2d35 (diff)
Move android.compat.annotation package out of libcore
Test: m + flash Bug: 142650523 Change-Id: I1321195c8724485a90b162b32c3c8549dbd11c42
-rw-r--r--Android.bp4
-rw-r--r--services/core/Android.bp1
-rw-r--r--services/devicepolicy/Android.bp1
-rw-r--r--test-mock/Android.bp5
4 files changed, 10 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 284e7015c115..61afe2a8a943 100644
--- a/Android.bp
+++ b/Android.bp
@@ -418,6 +418,7 @@ java_library {
name: "framework-minus-apex",
defaults: ["framework-defaults"],
srcs: [":framework-non-updatable-sources"],
+ libs: ["app-compat-annotations"],
installable: true,
javac_shard_size: 150,
required: [
@@ -454,12 +455,14 @@ java_library {
defaults: ["framework-defaults"],
srcs: [":framework-all-sources"],
installable: false,
+ libs: ["app-compat-annotations"],
}
java_library {
name: "framework-annotation-proc",
defaults: ["framework-defaults"],
srcs: [":framework-all-sources"],
+ libs: ["app-compat-annotations"],
installable: false,
plugins: [
"unsupportedappusage-annotation-processor",
@@ -500,6 +503,7 @@ java_library {
java_library {
name: "framework-atb-backward-compatibility",
installable: true,
+ libs: ["app-compat-annotations"],
srcs: [
"core/java/android/content/pm/AndroidTestBaseUpdater.java",
],
diff --git a/services/core/Android.bp b/services/core/Android.bp
index ed68f32036e5..a05c2cc31e40 100644
--- a/services/core/Android.bp
+++ b/services/core/Android.bp
@@ -31,6 +31,7 @@ java_library_static {
"android.hardware.light-V2.0-java",
"android.hardware.power-V1.0-java",
"android.hardware.tv.cec-V1.0-java",
+ "app-compat-annotations",
],
required: [
diff --git a/services/devicepolicy/Android.bp b/services/devicepolicy/Android.bp
index 47790ce68dc1..dbe0d811dbb6 100644
--- a/services/devicepolicy/Android.bp
+++ b/services/devicepolicy/Android.bp
@@ -4,5 +4,6 @@ java_library_static {
libs: [
"services.core",
+ "app-compat-annotations",
],
}
diff --git a/test-mock/Android.bp b/test-mock/Android.bp
index 0b5d4460612d..aa4174ad40f4 100644
--- a/test-mock/Android.bp
+++ b/test-mock/Android.bp
@@ -27,7 +27,10 @@ java_sdk_library {
":framework-core-sources-for-test-mock",
":framework_native_aidl",
],
- libs: ["framework-all"],
+ libs: [
+ "framework-all",
+ "app-compat-annotations",
+ ],
api_packages: [
"android.test.mock",