Merge "Fix the make name of rust snapshots"
This commit is contained in:
1
cc/cc.go
1
cc/cc.go
@@ -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()
|
||||
|
Reference in New Issue
Block a user