diff options
-rw-r--r-- | Android.bp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp index 272cb96d8891..891ee91f7ed9 100644 --- a/Android.bp +++ b/Android.bp @@ -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", @@ -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. @@ -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: { |