Merge "Soong: check if lndk is needed for apex build" am: ef0439d969 am: 2a4deaaf6d

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705069

Change-Id: Ifc23f4e83420bf639556589d6ba3d4dbc04c778a
This commit is contained in:
Treehugger Robot
2021-05-13 23:15:02 +00:00
committed by Automerger Merge Worker

View File

@@ -3230,6 +3230,9 @@ func (c *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Modu
return false
}
}
if cc.IsLlndk() {
return false
}
if isLibDepTag && c.static() && libDepTag.shared() {
// shared_lib dependency from a static lib is considered as crossing
// the APEX boundary because the dependency doesn't actually is