diff options
author | Haamed Gheibi <haamed@google.com> | 2022-02-17 15:24:45 -0800 |
---|---|---|
committer | Haamed Gheibi <haamed@google.com> | 2022-02-22 09:46:40 -0800 |
commit | eb72b43eb91c0982e40d41502e547ef118348cc2 (patch) | |
tree | d9846ed8d6dedb39ad41a80cca41fc295d4724fe /rust/test.go | |
parent | 7943f12f716132a29b244ed6f8713c3937bce7ae (diff) | |
parent | ca3328fb3c28ecf5a10a17abda2337ac1733c286 (diff) |
Merge SP2A.220305.013
Bug: 220074017
Change-Id: Ia2198b401a3a907c785316e0ef4c00bf27fa59b1
Diffstat (limited to 'rust/test.go')
-rw-r--r-- | rust/test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/test.go b/rust/test.go index 6caa7b168..e95b47cff 100644 --- a/rust/test.go +++ b/rust/test.go @@ -169,3 +169,11 @@ func RustTestHostFactory() android.Module { func (test *testDecorator) stdLinkage(ctx *depsContext) RustLinkage { return RlibLinkage } + +func (test *testDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps { + deps = test.binaryDecorator.compilerDeps(ctx, deps) + + deps.Rustlibs = append(deps.Rustlibs, "libtest") + + return deps +} |