Remove old-style support for translated second architectures

Translated second architectures now go in NativeBridgeArch instead
of DeviceSecondaryArch.

Bug: 141242600
Test: m checkbuild
Change-Id: I568046330abc002d4eed582cb999b62a5eaba790
This commit is contained in:
Colin Cross
2019-09-17 14:45:31 -07:00
parent 1f6c94a3ac
commit fe6330c7d2
11 changed files with 18 additions and 58 deletions

View File

@@ -15,8 +15,6 @@
package python
import (
"path/filepath"
"android/soong/android"
)
@@ -52,9 +50,6 @@ func (installer *pythonInstaller) installDir(ctx android.ModuleContext) android.
if ctx.Arch().ArchType.Multilib == "lib64" && installer.dir64 != "" {
dir = installer.dir64
}
if !ctx.Host() && !ctx.Arch().Native {
dir = filepath.Join(dir, ctx.Arch().ArchType.String())
}
return android.PathForModuleInstall(ctx, dir, installer.relative)
}