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

Commit e533c16a 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

am: 2bbb569b

Change-Id: I74e0ad1a600edbf0db481deb578549df04fc9210
parents dfedf2ec 2bbb569b
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
	}