Merge "Revert "Replace framework-annotation-proc java lib with framework-all""

This commit is contained in:
Treehugger Robot
2019-11-14 05:43:38 +00:00
committed by Gerrit Code Review

View File

@@ -456,6 +456,14 @@ java_library {
srcs: [":framework-all-sources"], srcs: [":framework-all-sources"],
installable: false, installable: false,
libs: ["app-compat-annotations"], libs: ["app-compat-annotations"],
}
java_library {
name: "framework-annotation-proc",
defaults: ["framework-defaults"],
srcs: [":framework-all-sources"],
libs: ["app-compat-annotations"],
installable: false,
plugins: [ plugins: [
"unsupportedappusage-annotation-processor", "unsupportedappusage-annotation-processor",
"compat-changeid-annotation-processor", "compat-changeid-annotation-processor",
@@ -464,7 +472,7 @@ java_library {
platform_compat_config { platform_compat_config {
name: "framework-platform-compat-config", name: "framework-platform-compat-config",
src: ":framework-all", src: ":framework-annotation-proc",
} }
// A library including just UnsupportedAppUsage.java classes. // A library including just UnsupportedAppUsage.java classes.
@@ -1556,7 +1564,7 @@ aidl_mapping {
genrule { genrule {
name: "framework-annotation-proc-index", name: "framework-annotation-proc-index",
srcs: [":framework-all"], srcs: [":framework-annotation-proc"],
cmd: "unzip -qp $(in) unsupportedappusage/unsupportedappusage_index.csv > $(out)", cmd: "unzip -qp $(in) unsupportedappusage/unsupportedappusage_index.csv > $(out)",
out: ["unsupportedappusage_index.csv"], out: ["unsupportedappusage_index.csv"],
dist: { dist: {