diff options
author | alk3pInjection <webmaster@raspii.tech> | 2022-05-01 20:50:40 +0800 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-05-01 20:50:40 +0800 |
commit | 30651117d174d4a03a1b81d947b8b1711d977199 (patch) | |
tree | b2a38a68cecbabc40eca9535b0238063ba0935e8 /rust/test.go | |
parent | 5f96a4d91ccc199e6bd5067b5fd84dba13b665a9 (diff) | |
parent | 009a05ea8338c696c1406aa7dc1c03c9a0d7692c (diff) |
Merge tag 'LA.QSSI.12.0.r1-07100.01-qssi.0' into sugisawa-mr1
"LA.QSSI.12.0.r1-07100.01-qssi.0"
Change-Id: Id8574091781260a4fd53ec02dc902e2f6dd5cf28
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 +} |