Merge "Allow stubs implementation to be omitted" am: 378124baf1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2301917 Change-Id: I6fb94bba4db679feb806ff8712d21eb7191b8b1c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2301,7 +2301,7 @@ func (a *apexBundle) depVisitor(vctx *visitorContext, ctx android.ModuleContext,
|
||||
//
|
||||
// Always include if we are a host-apex however since those won't have any
|
||||
// system libraries.
|
||||
if !am.DirectlyInAnyApex() {
|
||||
if ch.IsStubsImplementationRequired() && !am.DirectlyInAnyApex() {
|
||||
// we need a module name for Make
|
||||
name := ch.ImplementationModuleNameForMake(ctx) + ch.Properties.SubName
|
||||
if !android.InList(name, a.requiredDeps) {
|
||||
|
Reference in New Issue
Block a user