Update dexpreopt_check to check all system server jars.
After this change, standalone system server jars will also be checked. Bug: 203198541 Test: m nothing Change-Id: I80f5efe9c7f0386af175d7a37398ffa000d6ba59
This commit is contained in:
parent
430059b422
commit
d806dd4f1d
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue