Re-added intdef annotation processor plugin

Re-added plugin of intdefs annotation processor. The plugin was
added to a different target (`framework-minus-apex-intdefs`)
because of the refactoring of the `framework-all` target.

Generated files and command to properly merge them can be found at
go/winscope-help.

Test: run 'mp :framework-minus-apex-intdefs' and check if mapping files are properly generated
Change-Id: I295c85504246a85dea968ed26f8c05747ff5a7f7
This commit is contained in:
Ioana Stefan 2020-10-15 15:00:24 +02:00
parent 3ffe566ae4
commit 2f5c545a2e

View File

@ -538,8 +538,8 @@ filegroup {
path: "core/java",
}
java_library {
name: "framework-minus-apex",
java_defaults {
name: "framework-minus-apex-defaults",
defaults: ["framework-aidl-export-defaults"],
srcs: [
":framework-non-updatable-sources",
@ -555,7 +555,6 @@ java_library {
"--core-library",
"--multi-dex",
],
installable: true,
jarjar_rules: ":framework-jarjar-rules",
javac_shard_size: 150,
plugins: [
@ -588,6 +587,12 @@ java_library {
"mediatranscoding_aidl_interface-java",
"soundtrigger_middleware-aidl-java",
],
}
java_library {
name: "framework-minus-apex",
defaults: ["framework-minus-apex-defaults"],
installable: true,
// For backwards compatibility.
stem: "framework",
apex_available: ["//apex_available:platform"],
@ -608,6 +613,12 @@ java_library {
},
}
java_library {
name: "framework-minus-apex-intdefs",
defaults: ["framework-minus-apex-defaults"],
plugins: ["intdef-annotation-processor"],
}
// This "framework" module is NOT installed to the device. It's
// "framework-minus-apex" that gets installed to the device. Note that
// the filename is still framework.jar (via the stem property) for