Merge "Update dexpreopt_check to check all system server jars." am: 59571ddf67 am: 9758103119 am: 8f9664b188

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1930899

Change-Id: I5cf7357d382c653d67088793d06318d7800f3ed3
This commit is contained in:
Jiakai Zhang
2021-12-22 21:36:59 +00:00
committed by Automerger Merge Worker

View File

@@ -72,8 +72,7 @@ func (m *dexpreoptSystemserverCheck) GenerateAndroidBuildActions(ctx android.Mod
return
}
// TODO(b/203198541): Check all system server jars.
systemServerJars := global.AllSystemServerClasspathJars(ctx)
systemServerJars := global.AllSystemServerJars(ctx)
for _, jar := range systemServerJars.CopyOfJars() {
dexLocation := dexpreopt.GetSystemServerDexLocation(ctx, global, jar)
odexLocation := dexpreopt.ToOdexPath(dexLocation, targets[0].Arch.ArchType)