Prefer framework-annotations-lib dependency
Rather than bundling a copy of the framework annotations, reference them via framework-annotations-lib as a libs reference. This ensures the target inherits any necessary keep rule configurations, and is the same pattern used by other mainline modules. Bug: 275175207 Test: m Flag: EXEMPT refactor Change-Id: I014aa79f4fec69aef062a2fb855a50f658380ac5
This commit is contained in:
parent
5f9a3d042e
commit
dff99282e8
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ java_defaults {
|
|||
],
|
||||
defaults: ["TetheringExternalLibs"],
|
||||
libs: [
|
||||
"framework-annotations-lib",
|
||||
"framework-tethering.impl",
|
||||
],
|
||||
manifest: "AndroidManifestBase.xml",
|
||||
|
|
|
|||
Loading…
Reference in a new issue