diff options
author | 2025-02-19 10:05:47 -0800 | |
---|---|---|
committer | 2025-02-19 10:05:47 -0800 | |
commit | 3c551be748d53083d57e6f50c16fe9ba3546ed14 (patch) | |
tree | b28adfc4473dc0cf022fe169ab29ecf02df223e0 /rust | |
parent | daeb7c813ce0a6150d76c4f67c1c43d1ecde052f (diff) | |
parent | 0a37d429bcbfdf5110bbfcf14f43764dc01585a4 (diff) |
Merge "Change depVisitor to use providers instead of type-asserting to interfaces directly, the next step is to change it to use ModuleProxy once IsDepInSameApex is ready." into main
Diffstat (limited to 'rust')
-rw-r--r-- | rust/rust.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/rust.go b/rust/rust.go index 7a7b1064c..713cacc79 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -841,7 +841,7 @@ func (mod *Module) getSharedFlags() *cc.SharedFlags { return shared } -func (mod *Module) ImplementationModuleNameForMake(ctx android.BaseModuleContext) string { +func (mod *Module) ImplementationModuleNameForMake() string { name := mod.BaseModuleName() if versioned, ok := mod.compiler.(cc.VersionedInterface); ok { name = versioned.ImplementationModuleName(name) @@ -1411,7 +1411,7 @@ func rustMakeLibName(rustInfo *RustInfo, linkableInfo *cc.LinkableInfo, commonIn if rustInfo != nil { // Use base module name for snapshots when exporting to Makefile. if rustInfo.SnapshotInfo != nil { - baseName := linkableInfo.BaseModuleName + baseName := commonInfo.BaseModuleName return baseName + rustInfo.SnapshotInfo.SnapshotAndroidMkSuffix + rustInfo.AndroidMkSuffix } } |