Skip to content

Commit

Permalink
Merge "Replace framework-annotation-proc java lib with framework-all"
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Nov 14, 2019
2 parents c62f571 + 1c70cd0 commit f1083db
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -456,14 +456,6 @@ java_library {
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",
"compat-changeid-annotation-processor",
Expand All @@ -472,7 +464,7 @@ java_library {

platform_compat_config {
name: "framework-platform-compat-config",
src: ":framework-annotation-proc",
src: ":framework-all",
}

// A library including just UnsupportedAppUsage.java classes.
Expand Down Expand Up @@ -1564,7 +1556,7 @@ aidl_mapping {

genrule {
name: "framework-annotation-proc-index",
srcs: [":framework-annotation-proc"],
srcs: [":framework-all"],
cmd: "unzip -qp $(in) unsupportedappusage/unsupportedappusage_index.csv > $(out)",
out: ["unsupportedappusage_index.csv"],
dist: {
Expand Down

0 comments on commit f1083db

Please sign in to comment.