Skip to content

Commit

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

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

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

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

0 comments on commit 546f68a

Please sign in to comment.