From fe6330c7d2d6102a0436da2892e71e3b490ac15c Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 17 Sep 2019 14:45:31 -0700 Subject: 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 --- python/installer.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'python/installer.go') diff --git a/python/installer.go b/python/installer.go index 62f36f4b5..22c06c24d 100644 --- a/python/installer.go +++ b/python/installer.go @@ -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) } -- cgit v1.2.3-59-g8ed1b