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