diff options
author | 2022-09-29 16:46:25 -0700 | |
---|---|---|
committer | 2022-09-29 16:46:25 -0700 | |
commit | 581b6d82abcf222c6ead4928a91b4504550b0b7e (patch) | |
tree | 6411907eb7be937cd1118ec6b0981d6cb1030601 /rust/rust.go | |
parent | 94a0373f1ef92d590312cbfa2d3551d04c886c06 (diff) |
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
Diffstat (limited to 'rust/rust.go')
-rw-r--r-- | rust/rust.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |