Merge "Soong: check if lndk is needed for apex build" am: ef0439d969
am: 2a4deaaf6d
am: 7a89365bc1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705069 Change-Id: Iaf8d854ab9548591698c1e8240a26124d904a268
This commit is contained in:
commit
0290f6e772
3
cc/cc.go
3
cc/cc.go
|
@ -3228,6 +3228,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 New Issue