Skip to content

Commit

Permalink
Merge "Move android.compat.annotation package out of libcore"
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Trostanetski authored and Gerrit Code Review committed Nov 13, 2019
2 parents 6d5457b + 1a94550 commit b485238
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
],
Expand Down
1 change: 1 addition & 0 deletions services/core/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
1 change: 1 addition & 0 deletions services/devicepolicy/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ java_library_static {

libs: [
"services.core",
"app-compat-annotations",
],
}
5 changes: 4 additions & 1 deletion test-mock/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b485238

Please sign in to comment.