Fix the make name of rust snapshots
Rust snapshot must have proper suffix for androidmk to avoid conflict with the existing modules. Bug: 230780263 Bug: 235895567 Test: m nothing Change-Id: I35794196553621cd722c067d7965b2a61aa351bd
This commit is contained in:
1
cc/cc.go
1
cc/cc.go
@@ -3475,7 +3475,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