diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2022-04-04 05:02:24 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2022-04-04 05:02:24 -0700 |
commit | 009a05ea8338c696c1406aa7dc1c03c9a0d7692c (patch) | |
tree | d9846ed8d6dedb39ad41a80cca41fc295d4724fe /rust/test.go | |
parent | 08f3accc31790ceff0d5652d539f4ae701033ded (diff) | |
parent | c868e14e34409b99d979a4104cb144437036960f (diff) |
Merge c868e14e34409b99d979a4104cb144437036960f on remote branch
Change-Id: I64a699c0d2ee3eab6ed105c6261cb1567a9dd347
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 +} |