Move rust module installation into Soong

Move rust module installation rules into Soong by overriding
InstallBypassMake.

Bug: 204136549
Bug: 205530905
Test: m checkbuild
Test: m && acloud create --local-instance --local-image
Change-Id: Icc00c4ea5d91ae489c1d9d3b66a072c9de86c717
This commit is contained in:
Colin Cross
2021-11-08 12:37:01 -08:00
parent c602297226
commit 7743557a23
2 changed files with 5 additions and 5 deletions

View File

@@ -1273,6 +1273,10 @@ func (mod *Module) InstallInRecovery() bool {
return mod.InRecovery()
}
func (mod *Module) InstallBypassMake() bool {
return true
}
func linkPathFromFilePath(filepath android.Path) string {
return strings.Split(filepath.String(), filepath.Base())[0]
}