Merge "For JIT-zygote config, add "apex" boot image files to the ART apex." am: c18235cb86
am: 4504c82639
Change-Id: Icaaece3d8a34eaacb132f23514c5cc76055ccdce
This commit is contained in:
@@ -190,7 +190,18 @@ func DexpreoptedArtApexJars(ctx android.BuilderContext) map[android.ArchType]and
|
|||||||
if skipDexpreoptBootJars(ctx) {
|
if skipDexpreoptBootJars(ctx) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return artBootImageConfig(ctx).imagesDeps
|
|
||||||
|
// Include dexpreopt files for the primary boot image.
|
||||||
|
files := artBootImageConfig(ctx).imagesDeps
|
||||||
|
|
||||||
|
// For JIT-zygote config, also include dexpreopt files for the primary JIT-zygote image.
|
||||||
|
if dexpreoptGlobalConfig(ctx).UseApexImage {
|
||||||
|
for arch, paths := range artJZBootImageConfig(ctx).imagesDeps {
|
||||||
|
files[arch] = append(files[arch], paths...)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return files
|
||||||
}
|
}
|
||||||
|
|
||||||
// dexpreoptBoot singleton rules
|
// dexpreoptBoot singleton rules
|
||||||
|
Reference in New Issue
Block a user