From 581b6d82abcf222c6ead4928a91b4504550b0b7e Mon Sep 17 00:00:00 2001 From: Matthew Maurer Date: Thu, 29 Sep 2022 16:46:25 -0700 Subject: 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 --- rust/rust.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/rust.go') diff --git a/rust/rust.go b/rust/rust.go index 1517e6263..7342a14d2 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1615,7 +1615,7 @@ func (mod *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Mo } } - if depTag == procMacroDepTag { + if depTag == procMacroDepTag || depTag == customBindgenDepTag { return false } -- cgit v1.2.3-59-g8ed1b