summaryrefslogtreecommitdiff
path: root/rust/library.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2021-04-17 04:35:24 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-04-17 04:35:24 +0000
commitaef14db78a8593aa25f7170aa0fe976ae8b6bdbc (patch)
treea934455e429d6dee1370f95dedc423cfc30eee8e /rust/library.go
parent7d9d2405f379dbd6659084dd66577f700a03055a (diff)
parent246164a055a529e081a7690cc9043b496757a30c (diff)
Merge changes from topic "tvts-test-host-jni"
* changes: Add jni_libs property to java tests Add Target to cc.SharedLibraryInfo
Diffstat (limited to 'rust/library.go')
-rw-r--r--rust/library.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/library.go b/rust/library.go
index 26c104c95..052fb3a63 100644
--- a/rust/library.go
+++ b/rust/library.go
@@ -496,6 +496,7 @@ func (library *libraryDecorator) compile(ctx ModuleContext, flags Flags, deps Pa
ctx.SetProvider(cc.SharedLibraryInfoProvider, cc.SharedLibraryInfo{
SharedLibrary: outputFile,
UnstrippedSharedLibrary: outputFile,
+ Target: ctx.Target(),
})
}