Merge "Fix incorrect Rust installation paths." am: 5d7be45a2b
Change-Id: I1c319a3af25acbffba0f9d7288301f1eeb3da04b
This commit is contained in:
@@ -222,7 +222,10 @@ func (compiler *baseCompiler) installDir(ctx ModuleContext) android.InstallPath
|
||||
if ctx.toolchain().Is64Bit() && compiler.dir64 != "" {
|
||||
dir = compiler.dir64
|
||||
}
|
||||
if !ctx.Host() || ctx.Target().NativeBridge == android.NativeBridgeEnabled {
|
||||
if ctx.Target().NativeBridge == android.NativeBridgeEnabled {
|
||||
dir = filepath.Join(dir, ctx.Target().NativeBridgeRelativePath)
|
||||
}
|
||||
if !ctx.Host() && ctx.Config().HasMultilibConflict(ctx.Arch().ArchType) {
|
||||
dir = filepath.Join(dir, ctx.Arch().ArchType.String())
|
||||
}
|
||||
return android.PathForModuleInstall(ctx, dir, compiler.subDir,
|
||||
|
Reference in New Issue
Block a user