Merge "Revert "Disable Global ThinLTO by default"" into main

This commit is contained in:
Yabin Cui
2023-09-01 22:18:16 +00:00
committed by Gerrit Code Review

View File

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