diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-23 10:05:21 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-23 10:05:21 +0000 |
commit | c868e14e34409b99d979a4104cb144437036960f (patch) | |
tree | d9846ed8d6dedb39ad41a80cca41fc295d4724fe /rust/test.go | |
parent | f13be6e3913a9715bb68cf25c487b3b94bd5b88f (diff) | |
parent | eb72b43eb91c0982e40d41502e547ef118348cc2 (diff) |
Snap for 8343869 from eb72b43eb91c0982e40d41502e547ef118348cc2 to s-keystone-qcom-release
Change-Id: I12e814a262a1a00046a0c7b2770c1ddcd5ca06e2
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 +} |