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:
commit
2a4deaaf6d
1 changed files with 3 additions and 0 deletions
3
cc/cc.go
3
cc/cc.go
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue