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

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

Change-Id: I6155c3404d7b125f84eed05299c16c09da6fca7c
This commit is contained in:
Treehugger Robot 2021-05-13 23:05:05 +00:00 committed by Automerger Merge Worker
commit 2a4deaaf6d

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