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

Commit e022cf58 authored by Yi Kong's avatar Yi Kong
Browse files

Remove ThinLTO workaround for VNDK

VNDK is deprecated. The build is passing without the workaround.

Test: presubmit
Bug: 169217596
Change-Id: I7cf2c33984c50d06f3e69ebc916ce6a89468204a
parent bd71657e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -90,10 +90,6 @@ func (lto *lto) begin(ctx BaseModuleContext) {
	} else if ctx.testBinary() || ctx.testLibrary() {
		// Do not enable LTO for tests for better debugging.
		ltoEnabled = false
	} else if ctx.isVndk() {
		// FIXME: ThinLTO for VNDK produces different output.
		// b/169217596
		ltoEnabled = false
	}

	lto.Properties.LtoDefault = ltoDefault