aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2018-07-11 11:01:59 -0700
committerJohn Reck <jreck@google.com>2018-07-11 18:24:49 +0000
commit1d2b7eea6b3b50fe5ab763ca255f689dd0419139 (patch)
tree0fbc4ac772c84c482690c19b539feb21c57e774d
parentff2af2c7433b34d160959689384aecbc0677830f (diff)
downloadbuild_soong-1d2b7eea6b3b50fe5ab763ca255f689dd0419139.tar.gz
build_soong-1d2b7eea6b3b50fe5ab763ca255f689dd0419139.tar.bz2
build_soong-1d2b7eea6b3b50fe5ab763ca255f689dd0419139.zip
Allow disabling LTO on eng
Test: Verified setting never to true in hwui resulted in a fast incremental build Bug: 111277863 Change-Id: Ic3da6f3adc2c97f0d5f287402c460907533a5f71
-rw-r--r--android/variable.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index 4cd53134..5edcdbc0 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 {