Merge "Don't install system image copies of libraries in unbundled apex builds"
This commit is contained in:
@@ -2389,7 +2389,10 @@ func (a *apexBundle) depVisitor(vctx *visitorContext, ctx android.ModuleContext,
|
|||||||
//
|
//
|
||||||
// Always include if we are a host-apex however since those won't have any
|
// Always include if we are a host-apex however since those won't have any
|
||||||
// system libraries.
|
// system libraries.
|
||||||
if ch.IsStubsImplementationRequired() && !am.DirectlyInAnyApex() {
|
//
|
||||||
|
// Skip the dependency in unbundled builds where the device image is not
|
||||||
|
// being built.
|
||||||
|
if ch.IsStubsImplementationRequired() && !am.DirectlyInAnyApex() && !ctx.Config().UnbundledBuild() {
|
||||||
// we need a module name for Make
|
// we need a module name for Make
|
||||||
name := ch.ImplementationModuleNameForMake(ctx) + ch.Properties.SubName
|
name := ch.ImplementationModuleNameForMake(ctx) + ch.Properties.SubName
|
||||||
if !android.InList(name, a.makeModulesToInstall) {
|
if !android.InList(name, a.makeModulesToInstall) {
|
||||||
|
Reference in New Issue
Block a user