From 8840812f9dfa3ba5ceecd75e582836a3c673d54b Mon Sep 17 00:00:00 2001 From: Yu Liu Date: Tue, 4 Mar 2025 18:46:24 +0000 Subject: 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 --- rust/rust.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/rust.go') 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{ -- cgit v1.2.3-59-g8ed1b