Merge "Disable Global ThinLTO by default" into main

This commit is contained in:
Yabin Cui
2023-08-15 03:27:21 +00:00
committed by Gerrit Code Review

View File

@@ -162,7 +162,7 @@ func (lto *lto) Never() bool {
} }
func GlobalThinLTO(ctx android.BaseModuleContext) bool { func GlobalThinLTO(ctx android.BaseModuleContext) bool {
return !ctx.Config().IsEnvFalse("GLOBAL_THINLTO") return ctx.Config().IsEnvTrue("GLOBAL_THINLTO")
} }
// Propagate lto requirements down from binaries // Propagate lto requirements down from binaries