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

Commit 2bbb569b authored by Ulyana Trafimovich's avatar Ulyana Trafimovich Committed by android-build-merger
Browse files

Merge "Disable dexpreopt on targets that do not include default ART config."

am: 940ef19f

Change-Id: I4981e09708b328b3d6f5fbc61907dea39c4dcba6
parents 29081e31 940ef19f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -123,6 +123,10 @@ func dexpreoptBootJarsFactory() android.Singleton {
}

func skipDexpreoptBootJars(ctx android.PathContext) bool {
	if dexpreoptGlobalConfig(ctx).DisablePreopt {
		return true
	}

	if ctx.Config().UnbundledBuild() {
		return true
	}