Merge "Revert "Turn on Global ThinLTO by default"" am: 736664571b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2189735 Change-Id: I2f9100a623180e7fc06597ee613b7276adfff197 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -155,7 +155,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
|
||||||
|
Reference in New Issue
Block a user