summaryrefslogtreecommitdiff
path: root/java/dexpreopt.go
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2020-02-07 14:19:28 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2020-02-07 14:19:28 +0000
commit73d5983af061e3ded84365edb7408b8f4f08f17e (patch)
tree666c5bd578eefbcf786b86e7ba74721c12b5737d /java/dexpreopt.go
parent396b950a1b4711eb3e52b58a227c1846dc493e17 (diff)
Remove UseApexImage and GenerateApexImage.
These options are not used anymore. Bug: 119800099 Test: m Change-Id: I4568ff23ed71a5c288ed87828aed6e4bc4f8bd4d
Diffstat (limited to 'java/dexpreopt.go')
-rw-r--r--java/dexpreopt.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/java/dexpreopt.go b/java/dexpreopt.go
index 5faec0817..c81e199c6 100644
--- a/java/dexpreopt.go
+++ b/java/dexpreopt.go
@@ -111,14 +111,6 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo
if global.UseArtImage {
bootImage = artBootImageConfig(ctx)
}
- if global.UseApexImage {
- bootImage = frameworkJZBootImageConfig(ctx)
- dexFiles = bootImage.dexPathsDeps.Paths()
- dexLocations = bootImage.dexLocationsDeps
- if global.UseArtImage {
- bootImage = artJZBootImageConfig(ctx)
- }
- }
var archs []android.ArchType
for _, a := range ctx.MultiTargets() {