summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-03-04 18:46:24 +0000
committer Yu Liu <yudiliu@google.com> 2025-03-07 22:27:00 +0000
commit8840812f9dfa3ba5ceecd75e582836a3c673d54b (patch)
treefff1295a2cc6222dd8ddafac052d82da645fbebe /rust/rust.go
parent4a053d74d73a4826530d1b06be8aa5ad55212ff2 (diff)
Convert singletonModuleSingletonAdaptor, rustdocSingleton,
sizesSingleton, movedToApexLlndkLibraries and allBuildFlagDeclarationsSingleton to use ModuleProxy. Bug: 377723687 Test: Unit tests and compare the ninja json and mk files generated. Change-Id: I90ea5599a55975b27e9ce6e91b20104849f5887f
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go
index d8a044423..2e3d846dd 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -61,6 +61,7 @@ type RustInfo struct {
SnapshotInfo *cc.SnapshotInfo
SourceProviderInfo *SourceProviderInfo
XrefRustFiles android.Paths
+ DocTimestampFile android.OptionalPath
}
var RustInfoProvider = blueprint.NewProvider[*RustInfo]()
@@ -1173,6 +1174,7 @@ func (mod *Module) GenerateAndroidBuildActions(actx android.ModuleContext) {
RustSubName: mod.Properties.RustSubName,
TransitiveAndroidMkSharedLibs: mod.transitiveAndroidMkSharedLibs,
XrefRustFiles: mod.XrefRustFiles(),
+ DocTimestampFile: mod.docTimestampFile,
}
if mod.compiler != nil {
rustInfo.CompilerInfo = &CompilerInfo{