diff options
author | 2019-09-17 14:45:31 -0700 | |
---|---|---|
committer | 2019-09-18 16:23:18 +0000 | |
commit | fe6330c7d2d6102a0436da2892e71e3b490ac15c (patch) | |
tree | 6fd43b95707b7dd699b1e8d4b259bf9fe6415101 /java/dexpreopt.go | |
parent | 1f6c94a3ac5cc86c81a3a8e9ed5561d0e1e9c5fc (diff) |
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 'java/dexpreopt.go')
-rw-r--r-- | java/dexpreopt.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/java/dexpreopt.go b/java/dexpreopt.go index 6214dac44..8bc9b19ad 100644 --- a/java/dexpreopt.go +++ b/java/dexpreopt.go @@ -126,10 +126,6 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo archs = archs[:1] } } - if ctx.Config().SecondArchIsTranslated() { - // Only preopt primary arch for translated arch since there is only an image there. - archs = archs[:1] - } var images android.Paths var imagesDeps []android.Paths |