Loading java/dexpreopt.go +6 −2 Original line number Original line Diff line number Diff line Loading @@ -98,6 +98,7 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo global := dexpreoptGlobalConfig(ctx) global := dexpreoptGlobalConfig(ctx) bootImage := defaultBootImageConfig(ctx) bootImage := defaultBootImageConfig(ctx) defaultBootImage := bootImage if global.UseApexImage { if global.UseApexImage { bootImage = apexBootImageConfig(ctx) bootImage = apexBootImageConfig(ctx) } } Loading Loading @@ -165,8 +166,11 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo Archs: archs, Archs: archs, DexPreoptImages: images, DexPreoptImages: images, PreoptBootClassPathDexFiles: bootImage.dexPaths.Paths(), // We use the dex paths and dex locations of the default boot image, as it PreoptBootClassPathDexLocations: bootImage.dexLocations, // contains the full dexpreopt boot classpath. Other images may just contain a subset of // the dexpreopt boot classpath. PreoptBootClassPathDexFiles: defaultBootImage.dexPaths.Paths(), PreoptBootClassPathDexLocations: defaultBootImage.dexLocations, PreoptExtractedApk: false, PreoptExtractedApk: false, Loading Loading
java/dexpreopt.go +6 −2 Original line number Original line Diff line number Diff line Loading @@ -98,6 +98,7 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo global := dexpreoptGlobalConfig(ctx) global := dexpreoptGlobalConfig(ctx) bootImage := defaultBootImageConfig(ctx) bootImage := defaultBootImageConfig(ctx) defaultBootImage := bootImage if global.UseApexImage { if global.UseApexImage { bootImage = apexBootImageConfig(ctx) bootImage = apexBootImageConfig(ctx) } } Loading Loading @@ -165,8 +166,11 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo Archs: archs, Archs: archs, DexPreoptImages: images, DexPreoptImages: images, PreoptBootClassPathDexFiles: bootImage.dexPaths.Paths(), // We use the dex paths and dex locations of the default boot image, as it PreoptBootClassPathDexLocations: bootImage.dexLocations, // contains the full dexpreopt boot classpath. Other images may just contain a subset of // the dexpreopt boot classpath. PreoptBootClassPathDexFiles: defaultBootImage.dexPaths.Paths(), PreoptBootClassPathDexLocations: defaultBootImage.dexLocations, PreoptExtractedApk: false, PreoptExtractedApk: false, Loading