Merge "Fix the make name of rust snapshots"

This commit is contained in:
Treehugger Robot
2023-03-17 00:13:50 +00:00
committed by Gerrit Code Review
5 changed files with 48 additions and 15 deletions

View File

@@ -3466,7 +3466,6 @@ func MakeLibName(ctx android.ModuleContext, c LinkableInterface, ccDep LinkableI
nonSystemVariantsExist := ccDep.HasNonSystemVariants() || isLLndk
if ccDepModule != nil {
// TODO(ivanlozano) Support snapshots for Rust-produced C library variants.
// Use base module name for snapshots when exporting to Makefile.
if snapshotPrebuilt, ok := ccDepModule.linker.(SnapshotInterface); ok {
baseName := ccDepModule.BaseModuleName()