Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59571ddf authored by Jiakai Zhang's avatar Jiakai Zhang Committed by Gerrit Code Review
Browse files

Merge "Update dexpreopt_check to check all system server jars."

parents 7febef76 d806dd4f
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -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)