rust: Don't propagate apex across customBindgenTag
customBindgenTag is used to describe a particular host tool - don't propagate apex dependency across it. Bug: 249849807 Test: Adding rusqlite to apex no longer requires bindgen allowed Change-Id: Ifcb2a94c577c72558f757bf10e975212558fe790
This commit is contained in:
@@ -1615,7 +1615,7 @@ func (mod *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Mo
|
||||
}
|
||||
}
|
||||
|
||||
if depTag == procMacroDepTag {
|
||||
if depTag == procMacroDepTag || depTag == customBindgenDepTag {
|
||||
return false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user