From 1d2b7eea6b3b50fe5ab763ca255f689dd0419139 Mon Sep 17 00:00:00 2001 From: John Reck Date: Wed, 11 Jul 2018 11:01:59 -0700 Subject: [PATCH] Allow disabling LTO on eng Test: Verified setting never to true in hwui resulted in a fast incremental build Bug: 111277863 Change-Id: Ic3da6f3adc2c97f0d5f287402c460907533a5f71 --- android/variable.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/variable.go b/android/variable.go index 4cd53134a..5edcdbc00 100644 --- a/android/variable.go +++ b/android/variable.go @@ -92,6 +92,9 @@ type variableProperties struct { Eng struct { Cflags []string Cppflags []string + Lto struct { + Never *bool + } } Pdk struct {