diff options
author | Colin Cross <ccross@android.com> | 2019-09-17 14:45:31 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2019-09-18 16:23:18 +0000 |
commit | fe6330c7d2d6102a0436da2892e71e3b490ac15c (patch) | |
tree | 6fd43b95707b7dd699b1e8d4b259bf9fe6415101 /python | |
parent | 1f6c94a3ac5cc86c81a3a8e9ed5561d0e1e9c5fc (diff) | |
download | build_soong-fe6330c7d2d6102a0436da2892e71e3b490ac15c.tar.gz build_soong-fe6330c7d2d6102a0436da2892e71e3b490ac15c.tar.bz2 build_soong-fe6330c7d2d6102a0436da2892e71e3b490ac15c.zip |
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
Diffstat (limited to 'python')
-rw-r--r-- | python/installer.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/python/installer.go b/python/installer.go index 62f36f4b..22c06c24 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) } |