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:
Matthew Maurer
2022-09-29 16:46:25 -07:00
parent 94a0373f1e
commit 581b6d82ab

View File

@@ -1615,7 +1615,7 @@ func (mod *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Mo
}
}
if depTag == procMacroDepTag {
if depTag == procMacroDepTag || depTag == customBindgenDepTag {
return false
}