Merge "Static variant deps are not considered as being in the same APEX" am: 4c89f3e11f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1538627 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I05465d23c7f4a34a3ae21672802f5f30d5a65c0c
This commit is contained in:
6
cc/cc.go
6
cc/cc.go
@@ -3096,6 +3096,12 @@ func (c *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Modu
|
|||||||
// We don't track beyond LLNDK or from an implementation library to its stubs.
|
// We don't track beyond LLNDK or from an implementation library to its stubs.
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
if depTag == staticVariantTag {
|
||||||
|
// This dependency is for optimization (reuse *.o from the static lib). It doesn't
|
||||||
|
// actually mean that the static lib (and its dependencies) are copied into the
|
||||||
|
// APEX.
|
||||||
|
return false
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user